norbert-walter / esp32-nmea2000-obp60

nmea2000 gateway with ESP32
GNU General Public License v2.0
11 stars 5 forks source link

FW upgrade/downgrade - config storage (non volatile storage) corruption #61

Open W-Geronius opened 2 years ago

W-Geronius commented 2 years ago

When upgrading (or downgrading) firmware a nvs corruption may happen. Apart from complete failure, this might express itself by OBP60 configuration entries missing from the web interface. It is not entirely clear yet, what's the best ways to recover. A complete flash (nodemcu32s_obp60-all.bin) may not reliably solve the problem

Solutions tried:

Some effort is required to further explore the problems & document failsafe recovery procedures. Standard tests should be defined and established for production releases