RE: [avr-gcc-list] Intel hex record types

2007-11-25 Thread Weddington, Eric
 

 -Original Message-
 From: 
 [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]
 org] On Behalf Of Wouter van Gulik
 Sent: Friday, November 23, 2007 2:51 AM
 To: Scott Morken
 Cc: avr-gcc-list@nongnu.org
 Subject: Re: [avr-gcc-list] Intel hex record types
 
 Scott Morken schreef:
  
  What do we do for AVR architecture?  I would also be 
 interested in any 
  other possible record types output by AVRGCC if anyone knows.
  
 
 Take a look at s-rec or s-record, it comes with the WinAVR 
 releases. It 
 can almost convert anything to anything.

It's called the SRecord utilities and it comes with WinAVR. It will do
just about anything that you need, including working with Intel Hex
files, so I doubt you'll need to write your own convertor.

Eric Weddington


___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


Re: [avr-gcc-list] Intel hex record types

2007-11-23 Thread Wouter van Gulik

Scott Morken schreef:


What do we do for AVR architecture?  I would also be interested in any 
other possible record types output by AVRGCC if anyone knows.




Take a look at s-rec or s-record, it comes with the WinAVR releases. It 
can almost convert anything to anything.


HTH

Wouter



___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


[avr-gcc-list] Intel hex record types

2007-11-23 Thread Scott Morken

Hi,

I am working on an Intel hex file converter and I am wondering about 
record types for avr-gcc ihex output.  In an ihex file I generated (for 
a bootloader) this line exists at second to bottom:

:0403700089
The record type here is 03, and I can't figure out what it means.  
According to wikipedia http://en.wikipedia.org/wiki/Intel_HEX :*


[record type] 03*, /Start Segment Address Record/. For 80x86 processors, 
it specifies the initial content of the CS:IP registers. The address 
field is , the byte count is 04, the first two bytes are the CS 
http://en.wikipedia.org/wiki/Code_segment value, the latter two are 
the IP http://en.wikipedia.org/wiki/Instruction_pointer value.


What do we do for AVR architecture?  I would also be interested in any 
other possible record types output by AVRGCC if anyone knows.


Scott Morken


___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list