"Failed to upgrade target. Error is: Lost connection in the middle of the transfer"
I am doing a mesh serial DFU with DFU quick start guide.
I have gotten all the way to step 10, performing the DFU. The DFU process keeps cutting out partway. Sometimes it gets to 2%, sometimes it doesn't get to 1%. I have checked on-chip debug logs (with DFU messages filtered in) and I see nothing helpful there. I need a lead to explore. Any suggestions?
A message tx from pc is not responded to and retransmitted, at which point error responses start. I have tried intervals from 20ms to 2000ms.
B:\Devel\_LocalCopy\PCS_SERIAL 1.07 DFU\tools\dfu>nrfutil --verbose dfu serial -pkg dfu.zip -p COM9 -b 115200 -fc -i 20 --mesh Upgrading target on COM9 with DFU package B:\Devel\_LocalCopy\PCS_SERIAL 1.07 DFU\tools\dfu\dfu.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: 140868 Sending DFU start packet, afterwards we wait for the flash on target to be initialized before continuing. PC -> target: 0502aabbccdd target -> PC: 0582aabbccdd Got echo response Sending DFU init packet PC -> target: 1378fdff040fb48dd2f153435000010007000000 target -> PC: 16a6045343500001000700000053435000010001000000 target -> PC: 03847800 PC -> target: 1378fdff040fb48dd2f153435000010007000000 target -> PC: 03847800 PC -> target: 1478fcff0000b48dd2f1ffffffff9189000040000c target -> PC: 0da2010453435000010007000000 target -> PC: 03847800 Sending firmware file [------------------------------------] 1% 00:11:56PC -> target: 1978fcff0100b48dd2f100f00020356202006562020067620200 target -> PC: 03847800 PC -> target: 1978fcff0200b48dd2f1696202006b6202006d62020000000000 target -> PC: 03847800 PC -> target: 1978fcff0300b48dd2f10000000000000000000000006f620200 target -> PC: 03847800 PC -> target: 1978fcff0400b48dd2f171620200000000007362020075620200 target -> PC: 03847800 PC -> target: 1978fcff0500b48dd2f1796202007b620200a93c04007f620200 target -> PC: 03847800 PC -> target: 1978fcff0600b48dd2f181620200836202006186020087620200 target -> PC: 03847800 PC -> target: 1978fcff0700b48dd2f1896202008b620200618a03008f620200 target -> PC: 03847800 PC -> target: 1978fcff0800b48dd2f191620200936202009562020097620200 target -> PC: 03847800 PC -> target: 1978fcff0900b48dd2f199620200f1c0030029ce02009f620200 target -> PC: 03847800 PC -> target: 1978fcff0a00b48dd2f119c10300a362020091190400a7620200 target -> PC: 03847800 PC -> target: 1978fcff0b00b48dd2f1a9620200ab620200ad620200af620200 target -> PC: 03847800 PC -> target: 1978fcff0c00b48dd2f1b1620200b36202007762020077620200 target -> PC: 03847800 PC -> target: 1978fcff0d00b48dd2f1b5620200b7620200b9620200bb620200 target -> PC: 03847800 PC -> target: 1978fcff0e00b48dd2f1bd620200bf620200c162020035493648 target -> PC: 03847800 PC -> target: 1978fcff0f00b48dd2f10a1a02d0072291438d46344934480a1a target -> PC: 03847800 PC -> target: 1978fcff1000b48dd2f106d00722914381f30988022282f31488 target -> PC: 03847800 PC -> target: 1978fcff1100b48dd2f130483149314a00f043f831483149324a PC -> target: 1978fcff1100b48dd2f130483149314a00f043f831483149324a target -> PC: 03847800 target -> PC: 03840084 PC -> target: 1978fcff1200b48dd2f100f03ef831483249324a00f039f83248 PC -> target: 1978fcff1200b48dd2f100f03ef831483249324a00f039f83248 PC -> target: 1978fcff1200b48dd2f100f03ef831483249324a00f039f83248 PC -> target: 1978fcff1200b48dd2f100f03ef831483249324a00f039f83248 PC -> target: 1978fcff1200b48dd2f100f03ef831483249324a00f039f83248 Failed to upgrade target. Error is: Lost connection in the middle of the transfer