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 Reply
  • Ok, what is the Section Placement macro in the CLI project? Are these left to the default values, i.e.

    FLASH_PH_START=0x0

    FLASH_PH_SIZE=0x80000

    RAM_PH_START=0x20000000

    RAM_PH_SIZE=0x10000

    FLASH_START=0x0

    FLASH_SIZE=0x80000

    RAM_START=0x20000000

    RAM_SIZE=0x10000

    or have you modified them? If not then you need to set the FLASH_START to 0x1000 and the 0x7F000 and set RAM_START to 0x20000008 and RAM_SIZE to 0xFFF8

Children
Related