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

Flashing alternating applications nRFgo Studio

Two applications using the same softdevice, s110, blinky and beacon from the examples.

Flashing softdevice and beacon successfully. Replacing beacon app by blinky successfully. Trying to replace blinky by beacon:

"Application .. programming failed. The flash is not erased."

To get beacon back on I have to erase and reflash softdevice! May seem like a minor, but why? Makes me think that there is something that I do not understand about the memory structure.

Why can't I freely flash back and forth different applications in the 0x18000 area without going back and reflash softdevice?

Sorry did not know how to do this since I couldn't add images to comment. Yes both Blinky and Beacon start in 0x18000. But they are using a different address type Extended Segment instead of Extended Linear, I am using the armgcc toolchain if that has something to do with it. image description image description

Related