Hi everyone,
Days ago, I met a problem while trying to implement the DFU function with MESH SDK 2.0.1 and nRF5_SDK_15.0.0 following the quick start guide on different systems such as Ubuntu 18.04 / Windows 10 / macOS 10.13.5.
After I run the command "nrfutil --verbose dfu serial -pkg dfu_test.zip -p COM3 -b 115200 -fc --mesh" there was no more response.
Here are my steps:
python device_page_generator.py -d nrf52832_xxAA -sd "s132_6.0.0" Wrote device page for nrf52832_xxAA with the s132_6.0.0 SoftDevice to bin/device_page_nrf52832_xxAA_s132_5.0.0.hex. # Then, I change the file name from "device_page_nrf52832_xxAA_s132_5.0.0.hex" to "device_page_nrf52832_xxAA_s132_6.0.0.hex" manually. # I verified on nRFGo Studio the softdevice for s132_6.0.0 shows up as 0x00A8, so I change the value of "--sd-req" to "0x00A8". nrfutil dfu genpkg --application blinky_nrf52832_xxAA_s132_6.0.0.hex --company-id 0x00000059 --application-id 1 --application-version 10 --sd-req 0x00A8 --mesh dfu_test.zip Zip created at dfu_test.zip c:\dfu>nrfjprog --eraseall Erasing user available code and UICR flash areas. Applying system reset. c:\dfu>nrfjprog --program s132_nrf52_6.0.0_softdevice.hex --chiperase Parsing hex file. Erasing user available code and UICR flash areas. Applying system reset. Checking that the area to write is not protected. Programming device. c:\dfu>nrfjprog --program mesh_bootloader_serial_armcc_nrf52832_xxAA.hex Parsing hex file. Reading flash area to program to guarantee it is erased. Checking that the area to write is not protected. Programming device. c:\dfu>nrfjprog --program dfu_nrf52832_xxAA_s132_6.0.0.hex Parsing hex file. Reading flash area to program to guarantee it is erased. Checking that the area to write is not protected. Programming device. c:\dfu>nrfjprog --program device_page_nrf52832_xxAA_s132_6.0.0.hex Parsing hex file. Reading flash area to program to guarantee it is erased. Checking that the area to write is not protected. Programming device. c:\dfu>nrfjprog --reset Applying system reset. Run. c:\dfu>nrfutil --verbose dfu serial -pkg dfu_test.zip -p COM3 -b 115200 -fc --mesh Upgrading target on COM3 with DFU package c:\dfu\dfu_test.zip. Flow control is enabled. [------------------------------------] 0%Flushing com-port... Opened com-port Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, application size: 1912 Sending DFU start packet, afterwards we wait for the flash on target to be initialized before continuing. PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd
Then there is no more response.
I also tried the steps mentioned in Issue doing DFU over BLE mesh: Setup, 1 target board: nrf52840 dev kit+s140+Mesh 2.0.1+NRF SDK 15.0.0
It also get no response after the command "nrfutil --verbose dfu serial -pkg dfu_test.zip -p COM3 -b 115200 -fc --mesh".\
I also pressed button 4 and reset together to ensure target is in DFU.
I'm not sure what other steps to try. Please help.
Best regards,
Simon Fu