Elelabs / elelabs-zigbee-ezsp-utility

Elelabs Zigbee EZSP Utility to perform firmware update on a range of Elelabs EZSP products as well as other generic EZSP adapters.
Apache License 2.0
127 stars 26 forks source link

How to put the coordinator in Factory mode #30

Open pipiche38 opened 1 year ago

pipiche38 commented 1 year ago

For testing purpose , I need to get already initialized coordinator back to factory. What could be a way to do a factory reset ?

MattWestb commented 1 year ago

What i knowing is the SOC setting up the NVM in the flash (= NCP / TC key storage) then its booting the first time after being flashed. I have not finding any way deleting the NVM from the NCP firmware with commands and have only finding delete all key in the key storage. If having SWD probe you can doing one flash erase and flashing new bootloader and APP and the firmware is making one new clean NVM.

PM upgrading NCP from some old version (6.5.x) is getting problem and need being reforming the network for working OK and i think its have to do with changed version of the format of the key storage Silabs have being made (was problems with tuya ZBGW fpr some user).