Keil™, An ARM® Company

Discussion Forum

hex format

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
muhammed shameel
Posted
15-May-2007 05:05
Toolset
ARM
New! hex format

hi i want to know in which format keil produces hex file
for ARM core...when i used hex2bin converter it shows an error invalid record type in HEX record 1.

Read-Only
Author
Christian Grobe
Posted
15-May-2007 06:20
Toolset
ARM
New! RE: hex format

Have a look at this page:
http://www.keil.com/support/docs/1584.htm
It explains quite well how keil hex is supposed to look like.

Read-Only
Author
Andy Neil
Posted
15-May-2007 06:49
Toolset
ARM
New! RE: hex format

"It explains quite well how keil hex is supposed to look like."

Actually, it's Intel Hex - not Keil Hex.

But that wasn't the question, was it?

The question was, what format do the ARM tools produce - with the implication that the OP thinks that it is not Intel Hex...

Read-Only
Author
Christian Grobe
Posted
15-May-2007 07:13
Toolset
ARM
New! RE: hex format

This is actually not exactly Intel Hex as the record types 3 (Start Segment Adress record) and 5 (Start Linear Adress record) are not supported.
The Intel standard can be downloaded here:
ftp://download.intel.com/support/processors/i960/devtools/intelhex.pdf

The link given in my first reply gives an explanation of how Hex-files produced by the Keil Compiler look like. (Is that a better answer? ;) )

Read-Only
Author
Robert McNamara
Posted
15-May-2007 07:32
Toolset
ARM
New! RE: hex format

You should use fromelf and go directly from ".axf" to ".bin". There is no need to generate a hex file to get a bin file.

c:\Keil\arm\bin\fromelf.exe --bin --output filename.bin filename.axf
Read-Only
Author
MUHAMMED SHAMEEL
Posted
18-May-2007 03:58
Toolset
ARM
New! RE: hex format

thanx for the valuable replies...now things are working properly

Next Thread | Thread List | Previous Thread Start a Thread | Settings