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

Default contents in flash of nrf52840

Hi all,

What are the default preflashed contents in the out of box nrf52840 flash?

I assume that bootloader is not present. If my assumption is correct how preflashed blinky application is executed?

Please answer. Thanks a lot.

Thanks,

Sridhar

Parents Reply
  • Virtually all microprocessors start with the program counter at 0x0 as does nRF.

    There are two version of blinky one for BLE (ie, with softdevice) and one for no softdevice (kind of the traditional blinky where it makes a led flash).

    The one without the SD has a rom start of 0x0 so it boots from a cold start. Just look in the project settings.

    The BLE version will have a rom start corresponding to the application rom settings for the corresponding SD version.  When an MBR/SD is loaded the MBR/SD takes care of the the redirect from cold start to allow your application to run.

    The correct rom addresses sit alongside the opcodes in the hex file after compilation. Thus the program goes into the starting address specified in the project settings.

Children
Related