Hello.
I need to place my own bootloader at address 0. Is it possible to place SoftDevice at the end of the flash?
Hello.
I need to place my own bootloader at address 0. Is it possible to place SoftDevice at the end of the flash?
Hi,
No, that is not possible. The SoftDevice is only distributed ad a binary which is built to start from address 0 (or in fact address 0x1000, with the MBR which is part of the SoftDevice hex, at address 0).
One alternative could be to use the MBR and SoftDevice as is and have your bootloader at de end of the flash just like the nRF5 SDK bootloader. In this case, the MBR will run first, but not do much other than jumping to your bootloader, where you can do whatever you like.
thanks for the answer. I have one more.
Does the SoftDevice use any memory area in the range from MBR_SIZE to MBR_SIZE + SD_SIZE to store its settings (states)? in other words, is it possible to be sure that once calculated CRC for SoftDevices will never change?
Hi,
No, the SoftDevice does not store any settings in flash. The flash in the SoftDevie region will stay the same forever, so if you calculate a CRC for that region it will always be valid.
Hi,
No, the SoftDevice does not store any settings in flash. The flash in the SoftDevie region will stay the same forever, so if you calculate a CRC for that region it will always be valid.