Description: Engineering, Design, and pursuit of the perfect pork sandwich (by Tim Prachar)
The Arduino YUN is one of my favorite prototyping platforms for Wi-Fi connected microcontroller applications, but for unclear reasons the originators felt that by default the EEPROM contents should be lost when reprogramming code images. Let’s fix that.
I typically use EEPROM to store board-specific identification, configuration, and calibration information — things I’d rather not lose when updating the code. And if you only update using the USB connection you’ll be fine. But leverage one of the great features of the YUN — updates over Wi-Fi within the IDE — and say goodbye to your EEPROM.
It’s an easy fix, though, and you just need to ssh into the board, change two bytes, and EEPROM will then be preserved.