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

SDK11 : error when upgrading bootloader using serial DFU

Hello,

I use SDK 11 with nRF52, softdevice s132.

I am able to successfully use the bootloader in serial mode (with UART) to upgrade the application, but an error occurred when I try to upgrade the bootloader.

The nrfutil version I am using is the following:

set exec="C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.10.0.14\nrf\nrfutil.exe"

The DFU package for upgrading the bootloader is generated using this script :

%exec% dfu genpkg --bootloader %bootloader% --application-version 0x0 --dev-type 0x0 --dev-revision 0x0 --sd-req 0xFFFE %output%

Then, I execute the following commande to start DFU with the package generated above :

%exec% dfu serial --package="%package%" --port="%port%" --baudrate="%baudrate%"

Unfortunately, the DFU process fails with the error : "List index out of range"

image description

What I am doing wrong? One more time, this process for upgrading the application is working, but not upgrading the bootloader.

Best regards

Parents
  • I flashed the dfu_dual_bank_serial_s132 example and the S132 v2.0.0 to my nRF52 DK(PCA10040). I then generated a bootloader firmware zip using the following command

    nrfutil dfu genpkg --bootloader nrf52832
    _xxaa.hex --dev-revision 0xFFFF --dev-type 0xFFFF --sd-req 0xFFFE serial_bl_fw_packet.zip
    

    and then I initiated serial DFU using the following command

    nrfutil dfu serial -pkg serial_bl_fw_packet.zip -p COM34 -b 38400
    

    I did not get any errors. Are you using the bootloader from the SDK without any modifications? Which version of nrfutil are you using? ( I am using v0.3.0)

Reply
  • I flashed the dfu_dual_bank_serial_s132 example and the S132 v2.0.0 to my nRF52 DK(PCA10040). I then generated a bootloader firmware zip using the following command

    nrfutil dfu genpkg --bootloader nrf52832
    _xxaa.hex --dev-revision 0xFFFF --dev-type 0xFFFF --sd-req 0xFFFE serial_bl_fw_packet.zip
    

    and then I initiated serial DFU using the following command

    nrfutil dfu serial -pkg serial_bl_fw_packet.zip -p COM34 -b 38400
    

    I did not get any errors. Are you using the bootloader from the SDK without any modifications? Which version of nrfutil are you using? ( I am using v0.3.0)

Children
No Data
Related