fairecasoimeme / ZiGate

Zigate is an Universal Zigbee Gateway
http://zigate.fr
171 stars 59 forks source link

Official recommendations for FW migration #356

Open tcharp38 opened 3 years ago

tcharp38 commented 3 years ago

Not an issue but a clarification.

What are your recommendations to migrate from an older FW to 31e ? Is it supposed to be transparent ?

3.1d has just been a nightmare for lot's of people including me. Forced to reset PDM et restart from scratch.

Moreover what about reversing back to previous version if too many troubles with 3.1e ? I assume that it is NOT recommended to switch back to older version unless resetting PDM (and therefore reincluding all EQ).

Please clarify official recommendations. Thanks

pipiche38 commented 3 years ago

I'll leave @fairecasoimeme to comment, but here is my understanding

you should not have any issue to upgrade from 31a to 31e, and of course from 31d to 31e

Going back and forth between 31e <-> 31d should also works as there is no change in the PDM

Only the move to ZiGate v3.1e (Optimised PDM) would required Erase EEPROM and Erase PDM and no fall back to 31e would be possible.

schrodingersket commented 3 years ago

What exactly does the Optimized PDM do? It looks like both versions of 3.1e are built from the same commit; is there a different .zpsconfig file that the Optimized PDM variation is built from?

pipiche38 commented 3 years ago

indeed both are based on the same 31e code and so functionality, but the OptyPDM has a differnt set of table size in order to follow NXP sizing recommendation. We have also review the APS, nPDU and aPDU size. That one will however required a full Erase EEPROM and Erase PDM if flashed on an existing running Zigate

schrodingersket commented 3 years ago

Got it. Will there now be two versions for each release moving forward (one for the unoptimized PDM structure and one for the optimized)?

pipiche38 commented 3 years ago

yes, that is correct, you should expect always a OptiPDM and a Legacy version of the Zigate V1 firmware. As the ZiGate V2 it is anyhow a different firmware and it is based on a different PDM