avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] How to program EEPROM using avarice?


From: Jahagirdar Gopal-AGJ005
Subject: [avr-gcc-list] How to program EEPROM using avarice?
Date: Wed, 23 Nov 2005 17:08:47 +0800

 

Hi,

I am using Atmega 128 and avarice to write the flash, How can I program EEPROM using avarice?

Regards

-Gopal


From: address@hidden [mailto:address@hidden On Behalf Of Sumeet Pal Singh
Sent: Friday, October 28, 2005 1:21 AM
To: Parthasaradhi Nayani; address@hidden
Cc: address@hidden
Subject: Re: [avr-gcc-list] Cont. Programming in eeprom in avrdude

 

hi
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 becomes problem.

Eric could you elaborate on formation of .eep(if possible with an example). I believe this is what i want.
thanks
sps

On 10/27/05, Parthasaradhi Nayani <address@hidden> wrote:

Hello Summet,
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.

Nayani



--- Sumeet Pal Singh <address@hidden> wrote:

> Hi
> 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.
> Thanks
>
> To learn how to generate intel hex download download
> intel hex file
> specification from atmel.com <http://atmel.com >
> > _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
>
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>




__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]