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
  • All Cortex-M series maps as follow

    Addr 0: contains the address of the top of the stack. SP will be loaded with this value on reset

    Addr 4: contains the address of the reset function. PC will be loaded with this value on reset, then reset function will be executed.

    Starting at address 8 is the interrupt vector.  See this startup vector table source code and the reset function

    When using softdevice.  softdevice will be the main application and your firmware is a kind of plugin so after softdevice is initialized, it will jump to your app.  Which means your firmware must be located at a certain location depending on the version of softdevice used.

    If softdevice is not used, your firmware is the main app.

    I hope this clears up the confusion

Children
No Data
Related