STM32L072CZ misreporting EEPROM size?
Posted: Tue May 05, 2020 9:27 am
Hi Guys,
L072CZ contains 6KB onboard EEPROM. Loving all that this chip has to offer.
https://www.st.com/content/st_com/en/pr ... 072cz.html#
EEPROM.Length(); is throwing out 128.
Is a cell not a byte? I'm struggling to understand the arangement. 48 byte cells seems odd to me? Maybe that's just lack of experience.
Surely a cell has to be a byte for the code examples to work?
Which one of the docs do you think would have more info?
Many thanks,
L072CZ contains 6KB onboard EEPROM. Loving all that this chip has to offer.
https://www.st.com/content/st_com/en/pr ... 072cz.html#
EEPROM.Length(); is throwing out 128.
Code: Select all
#include <EEPROM.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println(EEPROM.length());
}
void loop() {
Serial.println(EEPROM.length());
delay(1000);
}
Surely a cell has to be a byte for the code examples to work?
Which one of the docs do you think would have more info?
Many thanks,