Teensy 3.2 EEPROM

Status
Not open for further replies.

Frankthetech

Active member
I am using the 3.2 teensy and was uploading new code, does anyone know if the eeprom is suppost to be wiped (cleared to 255) during upload? I have set the lock bit, so I do have to push the button to load new code.
It would seem that it does wipe the eeprom. Just wondering if this is by design or if there's a way to keep the contents of the eeprom between uploads.
 
If you have locked the chip, the EEPROM gets fully erased when you press the button. This is by design in the hardware. The only way the bootloader can regain access to the locked chip is with a full chip erase which completely wipes all the program and eeprom memory.
 
Status
Not open for further replies.
Back
Top