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

Softdevice 7 does not boot unless flash space gap is filled 0xFF

Recently tried to upgrade the NRF SDK from 14 to 16 on our project, and also upgrading Softdevice from 5.0.1 to 7.0.0.

While trying to bring up Softdevice 7.0.0, we noticed that the main FW will NOT get booted unless all the gaps in the flash space filled with 0xFF instead of 0x00.

We discovered this because in our flash script we merge the hex files of softdevice and main FW, and then convert them to a binary file using arm-objcopy, and by default arm-objcopy fills any gap space from the hex file with 0x00.

This process worked fine on Softdevice 5.0.1 with NRF SDK 14, but now fails with Softdevice 7.0.0 and NRF SDK 16. Only when arm-objcopy used with gap-fill 0xFF option did Softdevice and main FW boot up properly.

We just want to confirm this is the desired behaviour, and wondering what changed since SDK 14 and Softdevice 5.0.0 that caused this behviour?

Parents Reply Children
No Data
Related