This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

mesh examples/dfu merge to light_switch dfu failed

hi,

I use nrf5_SDK_for_Mesh_v4.0.0_src and pca10040 borad.

examples/dfu is successful.

But there was an error after the merge.

C:\Python27\Scripts>nrfutil dfu serial -pkg mesh/dfu_test.zip -p COM14 -b 115200 -fc --mesh

Upgrading target on COM14 with DFU package C:\Python27\Scripts\mesh\dfu_test.zip. Flow control is enabled.

Failed to upgrade target. Error is: Device returned an unknown status code (142) on a DFU state beacon packet.
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.
this is light_switch/client source code.

Related