Hi Rich - Not sure you will get much of a response, here. It is a very low traffic list. AVR Freaks is the much more used forum. I don’t have any Tiny24 experience. But the AVR Mega and Tiny devices are very consistent across the whole family and I don’t expect any difference, especially with something as standard as EEPROM. Which address are you writing and reading? Address 0x00 has a history of problems. Using Brownout Detect really helps that. Are you using BOD? Jim James Wagner Oregon Research Electronics http://www.orelectronics.net <http://www.orelectronics.net/> > On Mar 19, 2017, at 8:49 AM, richros@adamswells.com [AVR-Chat] <AVR-Chat@yahoogroups.com> wrote: > > 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 > > >
Message
Re: [AVR-Chat] ATTiny24a EEPROM troubles
2017-03-20 by Jim Wagner
Attachments
- No local attachments were found for this message.