Forum: Mikrocontroller und Digitale Elektronik EEPROM Problem


von Trax (Gast)


Lesenswert?

I work with a at90s2313 at 3V. I'have some problem to read the memory
eeprom when i switch on my microcontroller. It seems it forgets all
when i switch off the microcontroller, but it doesn't forget if i will
push reset.I'm programming in C, and i don't use the standart
library, i used the explication on Atmel's datasheet. which can be the
cause?

von Hannes Lux (Gast)


Lesenswert?

It's normal, work at voltage >4 Volts...

(sorry for my bad english)

Also das ist normal, hatte ich auch, aber mit dem AT90S1200 und dem
AT90S8515. Die S-Typen funktionieren erst ab 4V zuverlässig. Der 1200
löschte nicht das EEPROM, sondern brannte bei zu geringer
Versorgungsspannung absoluten Blödsinn hinein...

Für kleinere Spannungen sollte man schon die LS-Typen nehmen...

...Bit- & Bytebruch... - ...HanneS...

von Peter D. (peda)


Lesenswert?

On older AVRs an external reset circuit (e.g. MAX690) must be used, on
newer AVRs the brown out fuse must be enabled.
Otherwise the EEPROM may be corrupted during power off / on.


Peter

von trax (Gast)


Lesenswert?

what's the brown out fuse? How enable it?

von Peter D. (peda)


Lesenswert?

"what's the brown out fuse? How enable it?"

Only present on newer AVRs e.g. ATTiny2313.


Peter

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.