Hello, I am trying to debug Zephyr hello world example on an nRF52840 DK. For my setup, I am using eclipse with the zephyr plugin. Following the plugin readme documentation, I am able to build the project and run it on the hardware ( I see "hello world" on the output). However, I am unable to debug the project using GDB and the built-in JLink debugger. The debugger stops at line 82 of reset.S file. The line is: bl z_platform_init. See screenshots below for reference. If I run it, it will never stop on any breakpoint I have in my main. Any ideas as to what is going on?
It may be something to do with my startup configuration so I copied the screenshots here. I am assuming I have to load the image and symbols but not sure if I need to specify any offset. I recall from when I used the nordic SDK, I had to worry about the soft device and the MBR block for the bootloader but not sure if this is the same here with zephyr. Any input would be appreciated.
Thanks!