SWRA446 February 2015 CC1310 , CC1310 , CC2620 , CC2620 , CC2630 , CC2630 , CC2640 , CC2640 , CC2640R2F , CC2640R2F , CC2640R2F-Q1 , CC2640R2F-Q1 , CC2650 , CC2650 , CC2650MODA , CC2650MODA
This section describes how to configure the Eclipse debugger.
NOTE
For Linux: In some cases an absolute path to gdb must be used for Eclipse to be able to find it. Use the full path to arm-none-eabi-gdb. This program is found in the bin folder where GNU Tools for Arm Embedded Processors is installed.
mem 0x00 0x20000 ro 32 nocache
mem 0x10000000 0x10020000 ro 32 nocache
mem 0x20000000 0x20005000 rw 32 nocache
mem 0x40000000 0x400E1028 rw 32 nocache
mem 0xE000E000 0xE000F000 rw 32 nocache
target remote localhost:55000
The mem command defines the specified memory regions with different attributes.
ro: read only
rw: read write
32: use 32 bit memory access
nocache: disable GDB from caching target memory
The target remote localhost:55000 will make the GDB to connect to the gdbserver on the local pc using port 55000.