3. GDB debugger changes in e2 studio
For a correct start-up of the GDB debugger using the DA1459x SOC in e2 studio the following changes need to be made to the e2 studio :
Compile your application (see the DA1459x Getting Started with the Pro Development Kit) and Run the Debug Configurator by clicking Run->Debug Configurations:

Figure 2 Start GDB debugger Configurator
Create a text file called DA1459x.JLinkScript and add the following content:
int SetupTarget(void)
{
U16 v;
v = 0x8000;
JLINK_MEM_WriteU16(0x50000024, v);
Report("Target setup done");
return 0;
}
Add the file DA1459x.JLinkScript in the root directory of your project (where the .cproject and .project files live) and add the link to the scriptfile in the Connection Settings of the debugger. Also set the flag ‘Reset Before Download’ to Yes in the connection settings of the debugger:

Figure 3 Debug Configuration
Press Apply and start debugging by pressing Debug.