Re: NRF52832 debugging in eclipse #nrf52832 #jlink #debugging #eclipse


Maureen Helm
 

Does the application work without the debugger attached? (i.e., did it get programmed into flash correctly?)

 

I’ve seen weird behavior if you leave the GDB client executable at the default. Try changing this so it comes from the Zephyr SDK (or GNU Arm Embedded, if you’re using that toolchain instead).

 

From: users@... <users@...> On Behalf Of stefan.hristozov via Lists.Zephyrproject.Org
Sent: Thursday, August 29, 2019 4:19 AM
To: users@...
Cc: users@...
Subject: [Zephyr-users] NRF52832 debugging in eclipse #nrf52832 #jlink #debugging #eclipse

 

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.