OTA DFU NRF5340

Hi,

The below is our requirement for NRF5340

1. we have a DFU application with bootloader as an hex file

2. we have another app say blinky as an hex file

3. merge these two hex files and create a new hex file - using 

nrfutil pkg generate --hw-version 53 --application-version 1 --application ble_app_blinky_pca10056_s140.hex --sd-req 0xA9 --key-file private.key app_dfu_package.zip

4. using NRF connect in mobile load this merged hex file and flash it 

We are getting conflict in step 3

Please help us resolve this issue

Parents
  • Hi

    Sorry about the late reply, but I've been out of office the past few days, and I'm currently working through my backlog. 

    Once the bootloader is on the nRF5340, it shouldn't be necessary to program the bootloader part multiple times, as long as you don't overwrite the flash where the bootloader is stored you should be able to do multiple DFUs as far as I can tell. As you're saying, if the DFU from the guide I linked to worked, that should work multiple times.

    Best regards,

    Simon

Reply
  • Hi

    Sorry about the late reply, but I've been out of office the past few days, and I'm currently working through my backlog. 

    Once the bootloader is on the nRF5340, it shouldn't be necessary to program the bootloader part multiple times, as long as you don't overwrite the flash where the bootloader is stored you should be able to do multiple DFUs as far as I can tell. As you're saying, if the DFU from the guide I linked to worked, that should work multiple times.

    Best regards,

    Simon

Children
No Data
Related