Hi Gary, When you are looking at a PICmicro MCU hex file, you have to know that the number of bytes and the starting address for the data is doubled because each 14 bit data word is represented as 16 bit data. As well, the 16 bit data word is in "Intel" Format, which means the first byte is the least significant eight bits and the second byte is the most significant eight bits. So, the first two lines of your hex file translate to: :10068E0003138312080083120313CC000630831663 Length: 8 Starting Address: 347 Data Words: 0x01303, 0x01283, 0x00008, 0x01283, 0x01303, 0x000CC, 0x03006, 0x01683 Checksum: 0x063 :10069E00A30083124C10FF308316930011145A2BB3 Length: 8 Starting Address: 43F Data Words: 0x000A3, 0x01283, 0x0104C, 0x030FF, 0x01683, 0x00093, 0x01411, 0x02B5A Checksum: 0x0B3 I think if you go back to your listing file, you will see that this data matches what the assembler produced for each address. Does this help explain how the hex file is formatted to you? myke ----- Original Message ----- From: "Gary silva" To: Sent: Sunday, November 25, 2001 8:55 PM Subject: [EE]: HEX FILE > I'm trying to load a hex file into VB. Then download the code via RS232 to a > pic eeprom. I went on line and found info on hex file format. These five > lines don't seam to follow the format. > This saying there is 16 bytes and start at address 068E. But you can only > fit 2 bytes. > :10068E0003138312080083120313CC000630831663 > :10069E00A30083124C10FF308316930011145A2BB3 > :1006AE00A30803195C2B1118572B83128C114C08BD > :1006BE0093008C19672B8316A3088312031D602BDE > :1006CE008C114A0893008C19712B8316A308831280 > > The rest of the hex file looks this. > :10 0590 006434213420342034203420342034203476 > This is saying there is 16 bytes and start at address 0590. > The 16 does fit in this space. > > > Can someone help me!! > Gary- > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body