You know what they say. Been there, done that. Here are the exact steps
Electron with 1.4.2 firmware on board. Updated through DFU mode from 0.6.2 to 1.4.2 following the update procedure posted on the release post on github. Basic tinker app specifying 3rd party SIM credentials used as the main app. Everything works like a charm.
Since I encountered some mysterious problems with firmware and app upgrade using OTA (it’s a topic for another thread) I decided to use the factory backup app to which my electrons could fallback after a number of consecutive hard_faults. These actually happened while I tried to OTA the firmware upgrade.
I’ve put electron into DFU mode and then I used the following command particle flash --usb --factory …/my-basic-tinker.bin I’ve restarted electron and now ever since then it reboots with the assertion error right after connecting to the clouds. I’ve uploaded the tinker with extended logging and thus I can see the last messaged from the system fimware which you can find below. The my-basic-tinker app is compiled against 1.4.2 although the one compiled against 0.6.4 behaves exactly the same.
So far the only thing that brings electron to regular operation is to downgrade it to 0.6.4 system firmware. Then it works as it should. I’ve tried a couple of such downgrade and upgrade rounds with no particular effect unfortunately.
I tried to remove the electron from my account and then add it again. Still no changes. I don’t know if you may need this but this is my electrons id: DEVICE ID HIDDEN BY MAREK.
0000005139 [comm.protocol] TRACE: Reply recieved: type=2, code=0
0000005139 [comm.protocol] INFO: message id 15 complete with code 0.00
0000005140 [comm.protocol] INFO: rcv'd message type=13
5.214 AT read + 17 "\r\n+UUSORD: 0,38\r\n"
Socket 0: handle 0 has 38 bytes pending
5.215 AT send 17 "AT+USORF=0,1024\r\n"
5.227 AT read + 78 "\r\n+USORF: 0,\"18.104.22.168\",5684,38,\"\x17\xfe\xfd\x00\x01\x00\x00\x00\x00\x00\x1d\x00\x19\x00\x01\x00\x00\x00\x00\x00\x1d\xecjr\xc4m\x16\x9b\x94 (-\x17c4\n\x1eW\"\r\n"
5.230 AT read OK 4 "OK\r\n"
5.230 AT send 4 "AT\r\n"
5.233 AT read OK 6 "\r\nOK\r\n"
5.233 AT send 14 "AT+USORF=0,0\r\n"
5.239 AT read + 15 "\r\n+USORF: 0,0\r\n"
Socket 0: handle 0 has 0 bytes pending
5.240 AT read OK 6 "\r\nOK\r\n"