This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Segger Studio with nRF51422 - strange behavior in call stack during Debug

Hi everyone,

Recently, I downloaded the SEGGER Embedded Studio, release 4.18, and start the development of a Heart Rate Monitor using nRF51422 and SDK 10 (softdevice s310).

I was able to setup all the SDK files into the IDE project manually, because this version of SDK doesn't support SEGGER Studio, and compile my project and downloaded it into the PCA10028 kit without any trouble so far. (thanks to the community, it was very helpful!). Even though everything works fine for generate the code, burn the flash and run the application correctly, trying to debug is impossible probably because of some misplaced configuration.

When I start the debugging module the program pointer get to the main routine just fine, but when I run or continuing stepping, the call stack goes to an specific memory address and pause debugging, and if I try to continue debugging the PC goes to 0xFFFFFFFE and nothing happens anymore, like it completely lost this path.

Here is a print of the call stack:

The specific address are 0x0000011C, 0x000006B0, respectively.

Could someone help me? 

Thanks,

Vítor.

Parents Reply Children
Related