On Nov 13, 2007 11:18 PM, Xiaofan Chen wrote: > On Nov 13, 2007 10:12 PM, Bob Axtell wrote: > > I need the specs for Microchip's HX32 hex format. Anybody have that > > in PDF or DOC form? > > > > I am doing another self-programming firmware updater and I have misplac= ed > > my set of specs. If I recall, it is identical to Intel Hex in most > > respects. > > > > It used to be in the MPASM user guide but I could not find it now (need t= o go > to bed now). > Got it. The old version has it but the new version (33014j) leaves it out. http://gputils.sourceforge.net/33014g.pdf Page 173. 32-Bit Hex Format (.HEX) The extended 32-bit address hex format is similar to the hex 8 for= mat described above, except that the extended linear address record is output also to establish the upper 16 bits of the data address. This is mainly used for 16-bit core devices since their addressable program memory exceeds 32 k words. Each data record begins with a 9 character prefix and ends with a 2 character checksum. Each record has the following format: :BBAAAATTHHHH....HHHCC where: BB =96 is a two digit hexadecimal byte count representing the number of data bytes that will appear on the line. AAAA =96 is a four digit hexadecimal address representing the starting address of the data record. TT =96 is a two digit record type: 00 =96 Data record 01 =96 End of File record 02 =96 Segment address record 04 =96 Linear address record HH =96 is a two digit hexadecimal data byte, presented in low byte, high byte combinations. CC =96 is a two digit hexadecimal checksum Xiaofan -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist