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

Questions about nrf5340 dfu.

1、Does nrf5340's application core and network core support external flash for firmware upgrade?

2、When the application core is upgrading, what is the network core doing? On the contrary, when the network core is upgrading, what is the application core doing?

3、The upgraded firmware of the application core is received in the B1 area of the application core. Where is the upgraded firmware of the network core located?

  • Hi, 

    1、Does nrf5340's application core and network core support external flash for firmware upgrade?

    nRF5340 can support DFU over external flash memory. See the similar case

     

    2、When the application core is upgrading, what is the network core doing? On the contrary, when the network core is upgrading, what is the application core doing?

     When the application core is upgrading the network core is offline. When the network core is upgrading the application core is coordinating the update. (default behavior). 

     

    3、The upgraded firmware of the application core is received in the B1 area of the application core. Where is the upgraded firmware of the network core located?

    The update of the application core is stored in the MCUBoot secondary slot.

    The update of the network core is stored in the same slot as the application core update.

    The implication of this is that you can only update 1 core at the time.

     

    -Amanda H.

  • All upgrade packages are placed in the same area, how to distinguish between net core and app core upgrade packages?

  • It's currently being distinguished by the reset vector in the vector table. As the offset of the reset vector of the network core is offset by 0x01000000.

    -Amanda H.

Related