Programming application firmware on nRF54L Series

nRF Util

tags
nRF Util

nrfutil device can be used to program firmware on the nRF54L Series devices.

The nRF54L Series SoCs have a dedicated VPR CPU (RISC-V architecture), named Fast Lightweight Peripheral Processor (FLPR). For more information about the FLPR core usage, read Working with the FLPR core in the nRF Connect SDK documentation.

The FLPR core and the application core share the same memory, so programming firmware images for FLPR and the application core happens in the same way. The firmware for the FLPR core can be provided in a separate HEX file or be part of a single HEX file that combines firmware for both cores.

To program the application firmware, complete the following steps:

  1. Depending on whether you have one or two HEX files:

    • If you have a single HEX that combines firmware for both cores, run the following command with the <file_path> pointing to the location of the HEX file:
      nrfutil device program --firmware <file_path> --options chip_erase_mode=ERASE_ALL
      
    • If you have two HEX files, one for each core, run the following commands with the <file_path_*> pointing to the locations of the respective HEX files:
      nrfutil device erase
      nrfutil device program --firmware <file_path_FLPR_hex> --options chip_erase_mode=ERASE_NONE
      nrfutil device program --firmware <file_path_APP_hex> --options chip_erase_mode=ERASE_NONE
      
      This set of commands first erases the memory on the chip, then programs each firmware image separately. Providing --options chip_erase_mode=ERASE_NONE ensures that the firmware programmed with the previous command is not erased.

    For detailed information about chip_erase_mode and other programming options, see Programming options.

  2. Reset the development kit:

    nrfutil device reset --reset-kind=RESET_PIN
    
    See Recovering the device if you encounter an error.