Re: [Sdcc-user] 8051 .ihx VS .hex

2013-06-01 Thread Maarten Brock
Hi, The .ihx extension is what sdcc used since it's original start. You can override it though with the -o option. You can also use srecord (http://srecord.sourceforge.net) to create contiguous hex files (or many other types). Maarten > I believe .ihx and .hex are the same thing. (.ihx is sho

Re: [Sdcc-user] 8051 .ihx VS .hex

2013-05-27 Thread Henry Hallam
I believe .ihx and .hex are the same thing. (.ihx is short for Intel Hex). Packihx just rearranges it some, making sure there aren't more than 16 bytes per line and removing redundant extended address records. The SDCC hex output is often non-contiguous and out-of-order, i.e. the addresses aren't

[Sdcc-user] 8051 .ihx VS .hex

2013-05-27 Thread Ma Xiaojun
Hi, all. The command "sdcc foo.c" generates "foo.ihx". And "packihx foo.ihx > foo.hex" is needed to generate the .hex file. As some may know, STC-51's VB written Windows-only ISP software accepts .bin and .hex only. I have no idea about the situation of other vendors' 8051. The question is, why