 | Discussion Forum |  |
|
|
Hex File generationNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Peter Hofmann Posted 9-Jul-2007 21:29 GMT Toolset C51 |  Hex File generation Peter Hofmann Our board house asked us if we could supply them with a hex file which is in consecutive order. Currently the addresses in the hex file are jumbled up. What I mean is there a way to tell the linker to generate a hex file in linear order, from address 0 to max. I was looking all over but was not able to find any information. I did try to use bin2hex to generate a hex file from a binary, but the generated hexfile did not work at all. | | Read-Only Author Per Westermark Posted 9-Jul-2007 22:09 GMT Toolset C51 |  RE: Hex File generation Per Westermark Use the software for a flash programmer (more than one are possible to download and run even without owning the programmer). Fill memory with 0xff, load the non-sorted, non-contiguous hex file. Dump memory to new hex file. | | Read-Only Author John M Posted 9-Jul-2007 22:32 GMT Toolset C51 |  RE: Hex File generation John M I think this program has a feature that will realign the hex file in order. I've never actually used it though, just stumbled across it a few weeks ago. http://srecord.sourceforge.net/ | | Read-Only Author Andy Neil Posted 9-Jul-2007 23:07 GMT Toolset C51 |  Sounds suspicious to me Andy Neil "Our board house asked us if we could supply them with a hex file which is in consecutive order." Sounds suspicious to me - have you asked them why they need that? The Intel Hex specification makes no requirement that addresses must be in order - and it never has done. A failure to cope when the addresses are not in order is a common failure of poor software with a cheap programmer - why would a professional "board house" be using such a thing? | | Read-Only Author erik malund Posted 10-Jul-2007 13:33 GMT Toolset C51 |  RE: Sounds suspicious to me erik malund why would a professional "board house" be using such a thing? They wouldn't thus the board house is not 'professional'. Erik | | Read-Only Author Jon Ward Posted 10-Jul-2007 06:21 GMT Toolset C51 |  RE: Hex File generation Jon Ward http://www.keil.com/support/docs/1236.htm Jon | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|