View previous topic :: View next topic |
Author |
Message |
LiLou
Joined: 04 Feb 2014 Posts: 26
|
About the HEX file |
Posted: Wed Feb 19, 2014 6:07 am |
|
|
Hi,
I would to know more about the hex file compiled by CCS.
I opened one and observed that the limit per line is 43 chars (":" inclusive), do you know if that is always true? |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah
Joined: 11 Mar 2010 Posts: 19382
|
|
Posted: Wed Feb 19, 2014 8:49 am |
|
|
Look at:
<http://en.wikipedia.org/wiki/Intel_HEX>
The lines correspond to 16bytes per line, two hex digits for each digit, with a colon, byte count, target address, record type, 32 hex digits for the data, & two digit checksum. Plus a line feed. So a total of 43 displayable characters per line.
Best Wishes |
|
![](templates/subSilver/images/spacer.gif) |
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
|
Posted: Wed Feb 19, 2014 9:42 am |
|
|
Ttelmah wrote: | Look at:
<http://en.wikipedia.org/wiki/Intel_HEX>
The lines correspond to 16bytes per line, two hex digits for each digit, with a colon, byte count, target address, record type, 32 hex digits for the data, & two digit checksum. Plus a line feed. So a total of 43 displayable characters per line.
Best Wishes |
Could also include a carriage return before the linefeed. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
![](templates/subSilver/images/spacer.gif) |
LiLou
Joined: 04 Feb 2014 Posts: 26
|
|
Posted: Thu Feb 20, 2014 1:09 am |
|
|
Thank you! |
|
![](templates/subSilver/images/spacer.gif) |
|