nRF53 firmware update flow

Hello !

Looks like nRF53 firmware update is more complicate due dual core architecture. in SDK docs mentioned about different bootloaders and DFU tools.

Could you narrow minimal toolset what I can use for serial firmware update of both cores from one *.zip file ?

What  bootloader can be used ( nonsecure) and support updates of both cores?

What utility for firmware update available with source code can be used  and support both cores( I need to port it for RPi platform) ?

Please suggest minimal set for have solution what is close to nrf52 dongle like.

Regards,

Eugene

Parents Reply
  • Hi, 

    The shared SRAM in nRF53 is a region of SRAM, accessible by both cores, is used for inter-core communication. In the nRF5340 SoC, the application core cannot access the flash of the network core. However, firmware upgrades for the network core are stored in the application flash. This is because of the limited size of the network core flash. Hence, a mechanism for downloading firmware updates from the application to the network core flash is needed. The PCD library provides functionality for both cores in this situation. See Peripheral CPU DFU (PCD). 

    When MCUboot receives a new network core application image, it writes the configuration for the network core bootloader to the shared SRAM. The configuration includes an update instruction and both the SHA and the data of the image. The network core bootloader performs any pending network core firmware update. It calls the Peripheral CPU DFU (PCD) library to inspect the SRAM region shared with the application core: If MCUboot has written an update instruction, the network core bootloader copies the specified data range to the application partition on the network core. Once the copy is done, the network core bootloader compares the SHA of the data in the application partition against the SHA specified in the shared SRAM. It then communicates the result of the comparison to MCUboot using the shared SRAM. See nRF5340: Network core bootloader.

    Regards,
    Amanda H.

Children
Related