Hi
I'm using nRF5_SDK_12.0.0_12f24da and s132_nrf52_3.0.0_softdevice to do the OTA. What I do as follow:
- Generate public & private keys
-
nrfutil keys generate priv.pem
-
nrfutil keys display --key pk --format code --out_file dfu_public_key.c priv.pem
-
Compile bootloader
-
Over write dfu_public_key.c by the one generated in step #1.
-
Compile
-
Program bootloader and S132 v3 to nRF52-DK.
- Compile application: ble_app_multilink_central
- Generate packages
debug zip nrfutil pkg generate --debug-mode --application nrf52832_1124.hex --key-file key_pro.pem nrf52832_debug_1124.zip
Not debug zip nrfutil pkg generate --hw-version 52 --sd-req 0x80 --application-version 4 --application nrf52832_1124.hex --key-file key_pro.pem nrf52832_1124.zip
- In IOS(9.3.5) nRF Toolbox(V4.1.1), DFU APP
-
Connect to DfuTarg, and then press the upload-icon.
I found that when I use pca10040_debug bootloader, I can do OTA successfully,while pca10040 do OTA fail. I donn't know why. Is there anyother things I need to do? Thanks.