I am using Atmega 128 and avarice to write
the flash, How can I program EEPROM using avarice?
[mailto:address@hidden On Behalf Of Sumeet Pal Singh
Sent: Friday, October 28, 2005
To: Parthasaradhi Nayani;
Subject: Re: [avr-gcc-list] Cont.
Programming in eeprom in avrdude
i wish to keep constants in the eeprom. Actually the data is for maze solver
robot. We wish to keep some prodefined data in eeprom. the eeprom storage and
reading during run time can be easily done, but before hand some programming in
quick time becomes difficult. Changing certain values 10 minutes before match
Eric could you elaborate on formation of .eep(if possible with an example). I
believe this is what i want.
On 10/27/05, Parthasaradhi
what data do you want to programme in the EEPROM?
strings or some constants. The easiest will be to use
a simple assembler (popular ones being that of 8051
controller). Create a source code with your data, if
strings db "xyz" etc. assemble and link. This process
will not take more than 10 seconds and if you have a
batch file things will be easier. The output hex file
is ready to go into your eeprom!!! HTH.
--- Sumeet Pal Singh <address@hidden>
> I just wish to continue the question.
> Sure the eeprom can be programmed using -U
> eeprom:w:<yourfilename> option.
> but the file needs to be intel hex file or motorola
> M file.
> To generate intel hex file the 1-byte checksum needs
> to be generated after
> each line. This is the cause of all trouble. If I do
> generate a hex file
> then even a minor change to it requires a lot of
> calculator work. Does
> someone have a program which takesin hex values and
> can generate hex files
> in easier(direct) way.
> To learn how to generate intel hex download download
> intel hex file
> specification from atmel.com <http://atmel.com >
> > _______________________________________________
> AVR-GCC-list mailing list
Yahoo! FareChase: Search multiple travel sites in one click.