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

NRF52 boot sequence problems when adding S132

I have been developing my application using gcc on an NRF52 by putting the text section at 0. This was convenient to get going quickly. We initially weren't going to launch with any BLE support but now we need it - quelle surprise.

Now I've flashed in the S132 BLE stack in at address 0 (I see nrfjprog flash it up to 0x20000). I changed the starting address of my application to 0x20000 and rebuilt. I haven't flashed in the bootloader but the S132 device should boot and see the UICR is unprogrammed (0x10001014 magic bootloader location is all 0xFFs) and just boot to 0x20000. Is that a correct assumption or do I need to do anything else to get that simple step working?

I would think that getting the S132->application boot sequence should be easy. I've tried putting the bootloader in but it makes no difference.

Related