using Z-Uno2 3.0.7, I have simple program that writes data to EEPROM, then reads out then compare it to verify if the write operation was successfull.
I use mainly read and write bulk operations, like put and get. I can confirm that the data has been written correctly to the EEPROM. the only issue is that the put and get functions always return 0, which results to false checks in my code. This behaviour is NOT compatible with Z-Uno first GEN.
Here's a code snippet:
Code: Select all
if (EEPROM.put(addr, &write_array, asize))
Serial.println("Flashing success");
else {
Serial.println("Flashing failed");
}
....
if (EEPROM.get(addr, &read_array, asize*usize))
Serial.println("EEPROM Read: success");
else {
Serial.println("EEPROM Read: failure");
return;
}