...
Before starting a Debug configuration we have to make sure that the GDB hardware debug plugin in Eclipse is installed. To install it go to Help - Install New Software
Use the filtering option to find the GDB plugin and select the GDB Hardware Debugging option.
This will require you to restart eclipse.
Before starting a debug configuration GDB server needs to be started. This is a tool provided by Segger and can be started by executing Segger J-link GDB server from the segger application menu.
The following screen will allow you to configure the target chip and the connection features.
Create
After that press OK and the following screen will appear.
Now that GDB is running and we have the GDB server plugin installed in Eclipse we can create a configuration to debug our CC2538 platform.
To do so, create a Debug Configuration as follows (click on the little arrow in the side of the little bug on the menu panel in eclipse):
Make sure to select the Standard GDB Hardware Debugging Launcher (click select if this is not the case)
In the Debugger tab configure the debugger as follow (choose the location of the arm-none-eabi-gdb script)
...