[En-Nut-Discussion] Using the ATmega128 EEPROM for storing user data.
Ole Reinhardt
ole.reinhardt at kernelconcepts.de
Tue Sep 21 11:37:52 CEST 2004
Hi,
> I can find any reference to accessing the EEPROM in the API.
Have a look to the avr-libc user manual (if you'r using avr-gcc).
http://www.nongnu.org/avr-libc/user-manual/
http://www.nongnu.org/avr-libc/user-manual/group__avr__eeprom.html
You can write singe bytes or whole blocks.
> What is the recommend way of reading and writing the ATmega128 EEPROM?
Using the routines drscribed in the manual. For ICC I'm sorry, I don't
know.
> What addresses are available for user programs to use, that does not
> interfere with the NutOS?
You should be save to start at 0x0200. But AFAIK also the range below is
mostly unused.
Regards,
Ole Reinhardt
--
kernel concepts Tel: +49-271-771091-14
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen E+ : +49-177-7420433
--
More information about the En-Nut-Discussion
mailing list