I have one Duo that suddenly stopped connecting to particle with error:
0000030404 [comm.sparkprotocol.handshake] ERROR: Unable to receive key -19
0000030404 [system] WARN: Cloud handshake failed, code=-19
In the past when this has happened I am able to simply execute the following in DFU mode to sort the issue out.
particle keys server
particle keys doctor XXXXXXXXXXXXXXXXX
However, with this particulat device I get the following error from Particle CLI:
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Error during download get_status
In response I decide I’ll just start from scratch and follow the recovery procedure outlined here which usually works fine. All the steps below execute successfully;
dfu-util -d 2b04:d058 -a 0 -s 0x08008000 -D fac-dct-r1.bin
dfu-util -d 2b04:d058 -a 0 -s 0x08020000 -D duo-system-part1-v0.3.1.bin
dfu-util -d 2b04:d058 -a 0 -s 0x08040000 -D duo-system-part2-v0.3.1.bin
dfu-util -d 2b04:d058 -a 2 -s 0x180000 -D duo-wifi-r1.bin
However, no success. After applying WiFi credentials it will not connect to the particle servers. In fact, now it will will not enter safe mode either, rather it always boots directly into the user app. This is new for me. I have not had that happen before. It seems something in the memory map may be corrupted? Is there another procedure to follow to get it back to working order?