I am trying use DFU example with Mesh sdk 1.0.1, however following the start DFU guide, i have some question, if i have two DK52 one of them must be programmed with the original dfu_nrf52832_xxAA_s132_5.0.0.hex and the other one with the same file but changing
#ifndef NRF_MESH_SERIAL_ENABLE
#define NRF_MESH_SERIAL_ENABLE 0
#endif
on the code?
when i try this i get:
C:\Users\ingeniero.app1\Documents\nrf5_SDK_for_Mesh_v1.0.0_src>nrfutil --verbose dfu serial -pkg tools/dfu/dfu_test.zip -p com11 -b 115200 -fc --mesh
Upgrading target on com11 with DFU package C:\Users\ingeniero.app1\Documents\nrf5_SDK_for_Mesh_v1.0.0_src\tools\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: 1932
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
PC -> target: 0502aabbccdd
PC -> target: 0502aabbccdd
Failed to upgrade target. Error is: Failed to establish connection
Possible causes:
- bootloader, SoftDevice or application on target does not match the requirements in the DFU package.
- baud rate or flow control is not the same as in the target bootloader.
- target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode.
Closing serial port...
C:\Users\ingeniero.app1\Documents\nrf5_SDK_for_Mesh_v1.0.0_src>
please help.
Thank you.