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

NRF52832 Serial Bootloader(without SD) fails to boot app

Hi,

I am using NRF52832 in a custom board with SDK 15.3 and trying to implement the secure uart bootloader. I am able to download applications via uart bootloader however the application is not started after that. I verified that the application works separately without a bootloader.

My doubt is if there is no softdevice do I need to take of anything additional in the bootloader. Because in the code I can see that the bootloader tries to start the application by jumping to the end of MBR 0x1000, is this address same in this case also without a SD.

/** @brief The size that must be reserved for the MBR when a SoftDevice is written to flash.
This is the offset where the first byte of the SoftDevice hex file is written. */
#define MBR_SIZE (0x1000)

Parents
  • Hi Navaneeth,

    the Secure Serial bootloader is not dependent on the SoftDevice, i.e. it uses the NVMC directly to perform the flash operations instead of enabling the SoftDevice and using the SoftDevice Flash API. However, it(the bootloader) assumes that the application will be placed directly after the SoftDevice in flash, i.e. it assumes that there will be a SoftDevice present when starting the application. 

    Best regards

    Bjørn

Reply
  • Hi Navaneeth,

    the Secure Serial bootloader is not dependent on the SoftDevice, i.e. it uses the NVMC directly to perform the flash operations instead of enabling the SoftDevice and using the SoftDevice Flash API. However, it(the bootloader) assumes that the application will be placed directly after the SoftDevice in flash, i.e. it assumes that there will be a SoftDevice present when starting the application. 

    Best regards

    Bjørn

Children
Related