storing values in EEPROM during flashing

Discussion about Z-Uno product. Visit for more details.
Post Reply
Posts: 21
Joined: 18 Jan 2016 15:25

storing values in EEPROM during flashing

Post by aleconakad » 11 Dec 2017 19:05


I am driving with Z-Uno a small OLED, on which I am displaying lot of logos and animations. These logos are stored currently in program space. I would like to have them stored in EEPROM instead and loaded to an array variable shortly before being used by the OLED driver.
Could this be done?
Something similar like the rom qualifier.

Thanks in advance.

User avatar
Posts: 4407
Joined: 26 Jan 2011 19:36

Re: storing values in EEPROM during flashing

Post by PoltoS » 11 Dec 2017 19:47

Sure, you can do that, but you need a temporary sketch to write it (or add that feature in your normal sketch): a sketch using USB to push data to Z-Uno, where Z-Uno will save it to the EEPROM. Combine out USB/Serial example with EEPROM example.

In fact, the Z-Uni bootloader do already have that feature (it can write to any part of the EEPROM). We use it internally to push the new sketch to the board during sketch upload. But not sure if this is well documented. You can check the Z-Uno tool with -h to see

Post Reply