Jeethu Rao wrote: > > Hi guys, > > I've started writing the code for my Homemade 16F877 programmer in Euphoria Language. > > I've already finished some general purpose Parallel Port routines and some Bin2Hex , Hex2bin routines. > > Last evening, I tried to analyze the HEX files outputted by MPLAB. The Specs given in the MPASM Help File Don't seem to be very clear. > > Can someone tell me the format of 32 Bit Hex files ? > Or at least give me some links to web pages on that topic ? > > Jeethu Rao > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. It's much the same as INHX8M format except address specifiers are placed in the file like this one at the start which set the upper 16 bits of the program counter address. This value stays there until changed which would happen if the fuses or config bits are included in the listing. The address specifier is supplied when '04' is the record type as shown below. :020000040000FA Program counter would be 0000 xxxxh At ID Locs :020000040020DA Program counter would be 2000 xxxxh At fuses :020000040030CA Program counter would be 3000 xxxxh Fuse data on next line :08000000FFFFFBFDFFFFFFFF06 Address is specified as 0000 so PC address = 3000 0000 -- Best regards Tony mICro's http://www.picnpoke.com mailto:sales@picnpoke.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.