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

No source available for "0x6d2" ???

Hi everyone, I'm working on the nrf51822 QFAAH I tried to flash the ble_app_uart example and it didn't work. So I debug it and it stops here

As you can see in the picture there is nothing at 0x6d2

I can build it and flash it, I wrote my linker ldscript to be able to flash a chip with 16kB of RAM and 256kB of Flash memory. I changed nothing in the main.c. In the memory I know the softdevice S130 v2.0.1 ends here 0x1b000 so my program stops in the softdevice part ???

Please I need some help to make this work...

Parents Reply
  • I am not able to compile your project successfully, so I have to debug it based on your .out file, and it looks like you have optimization enabled. How does your .ld file look like? The .ld script was missing from your .zip file. From your .map file, it looks like the RAM_BASE start address is 0x20001870, which is too low. You should be at 0x20002080 for s130 with 1 peripheral, and 0 central roles.

    Could you try adjusting your RAM start address to match other SDK examples and see if that works?

    Cheers,

    Håkon

Children
Related