Skip to content

Problems with EEPROM.read() on L476RG #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Adminius opened this issue Jun 29, 2017 · 2 comments
Closed

Problems with EEPROM.read() on L476RG #47

Adminius opened this issue Jun 29, 2017 · 2 comments
Assignees
Labels
bug 🐛 Something isn't working
Milestone

Comments

@Adminius
Copy link
Contributor

i've tried to use a eeprom_clear demo sketch, but if i upload it, LED stays off.

Then i tried to read a EEPROM:

#include <EEPROM.h>

void setup() {
  Serial.begin(115200);
  Serial.print("EEPROM Size: ");
  Serial.println(EEPROM.length()); //it works with only with delay(10);
  delay(10); 
  Serial.print("Data: ");
  Serial.println(EEPROM.read(0));
  Serial.println("I'm here"); //i've never seen this line :/
}
void loop() {}

Console output with delay(10);
EEPROM Size: 16384 Dat
without delay:
EEP

i use official core release 2017.06.2
Upload via Mass Storage.

@fpistm fpistm added the bug 🐛 Something isn't working label Jun 30, 2017
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this issue Jun 30, 2017
Signed-off-by: Frederic.Pillon <[email protected]>
@fpistm fpistm added this to the next release milestone Jun 30, 2017
@fpistm fpistm self-assigned this Jun 30, 2017
@fpistm
Copy link
Member

fpistm commented Jun 30, 2017

Tested on L476:

  • eeprom_clear
  • eeprom_crc
  • eeprom_get
  • eeprom_iteration
  • eeprom_put
  • eeprom_read
  • eeprom_update
  • eeprom_write

@Adminius
Copy link
Contributor Author

thx. no more problems 👍

fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this issue Jun 30, 2017
Signed-off-by: Frederic.Pillon <[email protected]>
fpistm added a commit that referenced this issue Jun 30, 2017
@fpistm fpistm mentioned this issue Nov 15, 2019
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants