We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
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.
"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...
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: download.intel.com/.../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? ;) )
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
thanx for the valuable replies...now things are working properly