[NCS 3.2.1-SINGLE SLOT DFU] Issue with nrf54L15dk

Hi,

for a project based on the nRF54L15, we are evaluating the new single-slot DFU mechanism.

Using NCS v3.2.1, I am testing the sample available at:
https://github.com/nrfconnect/sdk-nrf/tree/v3.2.1/samples/dfu/single_slot

After flashing the merged.hex file generated in the build folder, the board appears to be unresponsive. There is no output on the terminal, and the procedure to trigger the firmware loader (pressing Button 0 while resetting the board) does not seem to work.

The hardware in use is an nRF54L15 DK, revision 0.9.2.

Have you encountered a similar issue?

Best regards,
Alessandro

Parents
  • Hi Alessandro

    After flashing the merged.hex file generated in the build folder, the board appears to be unresponsive.

    How do you build and flash the image? Could you try to use VS Code to build and flash?

    Guess you are not using VS Code to flash and only program the merged.hex on nRF5415L15DK. If so, you also need to provision keyfile.json under the build folder because this sample is enabled with MCUBOOT_GENERATE_DEFAULT_KMU_KEYFILE. See the explanation in this doc: Alternative provisioning method during development

    You can use  nrfutil device x-provision-keys command to provision keys onto the KMU. See Provisioning keys to the board with the nRF Util tab.

    I can reproduce the issue by programming the merged.hex on nRF5415L15DK via nRF Programmer, and also fix it by provisioning the keys with the following command:

    PS C:\NCS\v3.2.1\nrf\samples\dfu\single_slot> nrfutil device x-provision-keys --key-file ./build/keyfile.json

    If you use VS Code to flash, it would flash both the merged.hex and key file. See the log:

    longo92 said:
    Could you please consider adding a note about this to the example’s README.rst? I think it would be very helpful for developers who are new to the nRF54 series.

    See the note in FOTA updates on nRF54L Series devices.

    Regards,
    Amanda H.

  • Yes, I am using the Programmer desktop application.

    By the way, I need to set up a flashing script using the nrfutil device command. Is there a way to use a single command to both flash the .hex file and provision the key file, or do these need to be done as two separate commands?

Reply Children
Related