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

Can't debug with S110 7.0.0 using SDK6.1.0

First I load soft device through nRFgo. Then I run debug with eclipse. I then step through code in main.c ...

(I'm using QFAAG0 chip)

Stepping worked fine when I used SDK4.4.1 and S110 5.2.1. Stepping fails when I used SDK6.1.0 and S110 7.0.0. Hits signal trap. Can't step through code. However I verified program is loaded and runs correctly when I power cycle.

(Do I need to set the program counter manually?)

I have attached my log file for the failing case.

bad.txt

Parents
  • Have you check the linker script ? The start address for v7 is at 0z16000 while older versions start at 0x14000

  • I checked link file gcc_nrf51_s110_xxaa.ld in the source\templates directory, and it shows 0x16000. The strange this is even though debug/stepping does not work, when I power cycle the device, the program in the device works correctly. (ble_app_hrs)

Reply
  • I checked link file gcc_nrf51_s110_xxaa.ld in the source\templates directory, and it shows 0x16000. The strange this is even though debug/stepping does not work, when I power cycle the device, the program in the device works correctly. (ble_app_hrs)

Children
No Data