> > > IIUC, the EEPROM data for the simulator in AVR Studio is read from > the .eep file, which does exist, and which does contain the data I > stored in it in the code (as best I can tell...it also contains some > extraneous data which I am presuming is formatting data added by AVR > Studio,which would not be written the the physical EEPROM when the chip > is programmed). There isn't any additional "formatting" data. > So wy is this code not actually reading the EEPROM data? not only is > it not showing up in r0, but using the Watch tool, it is not showing as > being addressed in EEDR, despite the data addresses appearing as called > out in EEARL (with EEARH loaded with a 0x00, since I ommly use but 100 > bytes of the EEPROM). Walk through the sequence, I've used it tons, and it works. A tip: Don't use location 0, and make sure that whenever you're not using the EE, the EEARL and EEARH both contain 0. This makes accidental writes more or less harmless. ***ARGH*** but learning to use new tools can be such a pain in the > tookus!!! > > tom > > > > > Yahoo! Groups Links > > > > -- Feel the power of the dark side! Atmel AVR [Non-text portions of this message have been removed]
Message
Re: [AVR-Chat] *sigh*
2007-01-04 by David VanHorn
Attachments
- No local attachments were found for this message.