Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » AVR-GCC
  • » [avr-gcc-list] How to program EEPROM using avarice? [RSS Feed]

#1 Nov. 23, 2005 11:40:07

Jahagirdar G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

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


 Hi,I am using Atmega 128 and avarice to write
the flash, How can I program EEPROM using avarice?Regards-GopalFrom:
[mailto:On Behalf OfSumeet Pal SinghSent:Friday, October 28, 2005
1:21 AMTo:Parthasaradhi Nayani;
Cc:avr-gcc-l***@*ongnu.orgSubject:Re: Cont.
Programming in eeprom in avrdude hii 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.thanksspsOn 10/27/05,Parthasaradhi
Nayani<>
wrote:Hello Summet,what data do you want to programme in the EEPROM?strings or some constants. The easiest will be to usea simple assembler (popular ones being that of 8051controller). Create a source code with your data, ifstrings db "xyz" etc. assemble and link. This processwill not take more than 10 seconds and if you have abatch file things will be easier. The output hex fileis ready to go into your eeprom!!! HTH.Nayani--- Sumeet Pal Singh <>
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 fromatmel.com<http://atmel.com>> > _______________________________________________> AVR-GCC-list mailing list>AVR-GCC-l***@*ongnu.org>http://lists.nongnu.org/mailman/listinfo/avr-gcc-list>__________________________________Yahoo! FareChase: Search multiple travel sites in one click.http://farechase.yahoo.com _______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#2 Nov. 23, 2005 14:05:12

Joerg W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

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


"Jahagirdar Gopal-AGJ005" <> wrote:

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

I don't think you can. At least not the straightforward way. (It
might be possible using GDB together with avarice, and modify the
EEPROM from there. But then, it's quite possible that isn't
implemented either, I'm not so sure about it offhand.)

In the long run, I see programming (up-/downloading) completely in
avrdude's domain, let's avarice concentrate on debugger support
instead.

Right now, the JTAG ICE mkI handling for avrdude is not yet released
though. I've already got it prototyped on my disk, but it still needs
debugging.

p.s.: Don't append fullquotes below your message. It makes you look
*really* silly.
--
J"org Wunsch Unix support engineer
http://www.interface-systems.de/~j/_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

  • Root
  • » AVR-GCC
  • » [avr-gcc-list] How to program EEPROM using avarice? [RSS Feed]

Board footer

Moderator control

Enjoy the 27th of April
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support