I try to update/replace the code in a nRF52 board from 3rd party (Fanstel). They only able to provide the private key which I can create the zip file but not able to give info what version of Softdevice loaded.
I am using the nRF5_SDK_17.0.2_d674dde for
- secure_bootloader_ble_s132_pca10040.hex
- s132_nrf52_7.2.0_softdevice.hex
Using a batch file to create the zip file
set BOOT=secure_bootloader_ble_s132_pca10040
set SOFT=s132_nrf52_7.2.0_softdevice
set KEY=private.pem
set ZIP=Secure_Bootloadernrfutil pkg generate --hw-version 52 --sd-req 0x101 --sd-id 0x101 --key-file %KEY% --bootloader-version 1 --bootloader %BOOT%.hex --softdevice %SOFT%.hex %ZIP%.zip
when I use the nRF52-DK board to perform OTA
nrfutil dfu ble -ic NRF52 -pkg Secure_Bootloader.zip -p COM15 -n "DfuTarg" -f
I get the following error :
pc_ble_driver_py.exceptions.NordicSemiException: Extended Error 0x07: The array of supported SoftDevices for the update does not contain the FWID of the current SoftDevice.