Hi John Yes, You are right. Record type marker 00 is for data, and 01 is for = end of file. Not sure what happened, I was writing my response from memory = while at work, my brain must have over heated. Please accept my apologies.=20 You can find a description of the hex file format in the application = note TB025 Description: Downloading HEX Files to PIC16F87X PICmicro =AE Microcontrollers Date: 11/06/1998 Documentation: 91025a.pdf <../../../../Download/Appnote/Category/16CXX/91025a.pdf> (54 K).=20 It explains the divide by two for the address etc. Best Regards Clive Frederickson Electronics Engineer Clive.frederickson@spectrol.co.uk =20 Spectrol Electronics Ltd Garrard Way=20 Swindon Wilts SN3 3HY Tel: +44 (0) 1793 521351 UNITED KINGDOM Fax: +44 (0) 1793 525163 This email message has been virus checked both by Spectrol Electronics Limited (SEL) and by Star Internet, SEL's internet service provider. = Whilst SEL has, by these means, used all reasonable endeavours to prevent the transmission to you of known viruses, it is still the responsibility of = the recipient to check all incoming electronic messages for viruses. Accordingly, SEL can accept no responsibility for any damage to systems = or corruption of data caused by any virus contained in any message or file originating from SEL. -----Original Message----- From: John De Villiers [mailto:bbj@PLZ.CO.ZA] Sent: 19 August 2000 09:32 Subject: Re: [PIC]:Intel Hex File questions > TT =3D File type, 00 =3D line contains data, 01 =3D End of file > marker. > So for the 16F84 with code protect off, Power up timer on, > WDT off and XT Osc, fuse =3D 3FF1 > > In the hex file, :02400E01F13F7F > > BB =3D 02 (divide by 2 =3D 1 program word) > AAaa =3D 400E (divide by 2 =3D 2007 address of config fuse) > TT =3D 01 (Data record) this is where the confusion set in. TT =3D 01 which according to the docs incicates end of file marker yet you say its a data record indicator Also, where did you find out that the address has to be divided by 2 for the data records ??? This bit also got me John ________________________________________________________________________ This message has been checked for all known viruses, by Star Internet, delivered through the MessageLabs Virus Control Centre. For further information visit: http://www.star.net.uk/stats.asp -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu