piclist 2001\01\29\171902a >
Thread: 32 Bit Hex Format
www.piclist.com/techref/microchip/devices.htm?key=pic
flavicon
picon face BY : Tony Nixon email (remove spam text)



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
@spam@salesKILLspamspamspamBeGonepicnpoke.com

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


<3A75DE3F.30FAE434@eng.monash.edu.au> 7BIT

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) 32 Bit Hex Format

month overview.

new search...