NRF52832 debugging in eclipse #nrf52832 #jlink #debugging #eclipse


Stefan Hristozov
 

Hi,
i am trying to set up eclipse, gdb and jlink for debugging NRF52832. I am using a PCA10040 board with an integrated Jlink debugger.  I have a simple project with a single main.c file. My prj.conf are:

CONFIG_DEBUG=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_OPTIMIZATIONS=y
CONFIG_SYS_PM_DEBUG=y

I configured the debugger in eclipse as shown in the figures:




Unfortunately when I start the debug session the execution stops in the _find_fd_entry:






How to properly configure the debugger for debugging zephyrs applications?

Join users@lists.zephyrproject.org to automatically receive all group messages.