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

Related