Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

ATTiny24a EEPROM troubles

2017-03-19 by richros@adamswells.com

I'm an old-timer in micro's, started back in the mid-70's and have experience in
just about every one made up through 2002. (Started with Intel's 4004 & 8008.)
Didn't get to do much with the Atmel devices then but made up for it since
retiring.

I've used most of the ATTiny and some of the ATMega devices and have used
the EEPROM in several. This is the first time I used it on the ATTiny24 and
I've put in nearly a 40 hour week trying to tame it!

I've used the programming examples right out of the spec sheet and several
variations of it but no cigars! I'm pretty sure that the Write works, I can
program several bytes and then read the micro's EEProm with the AVR
Studio 4's HEX file read capability. I can shut down everything and it's
still there after a complete power-up. The problem is that everytime I
do an EEPROM_Read it erases everything. I don't see anything in the
specs about a bulk erase!

Is there a problem with the ATTiny24A? The same sequence works with all
the other devices.


Oh, by the way, I'm an assembly language programmer and can run circles

around any of the C programming kids.


Any help would be greatly appreciated.


Rich

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.