I've been using OTA (non-secure) to update my device. It seems to be working fine for the most part, but I'm finding that when I do OTA my NVRAM values are not getting cleared. Is OTA supposed to clear them? And if it does clear them what's the default value for NVRAM, 0xff?
My issue is that I'm storing some system values in NVRAM (like max pwm value) and I'm finding that after I OTA the value I had in there is still there.
OTA updates (secure or not) will never clear the NVRAM area and this is by design.