Hex file format for 93LC46B from Microchip

Sep 09, 2003 5 Replies

Hi, I have done up a little program to program 93LC46B (1kb serial EEPROM) from microchip. It has an organiztion as follows: 64 (address) x 16 (bits).



Now, I have a bit of touble decoding the hex files. Is it the same for those with an 8-bits achitecture???



Here are the excerpts from my codes: _ :10420000520001001000B50006008000000001000F | :10421000900050001000B5000000000001000000F8 | ....... | ....... > 16 lines ....... | :1042E00011000400140045004400110011001400E6 | :1042F000100045004400110051001000110044005E _| :00000001FF



thanks in advance shuteng


Looks like standard Intel Hex. Same format as the Microchip 8bit stuff. (the key is the 7th and 8th 'record type' bytes on each line) regards john

This might help...

formatting link

Regards, Bob Monsen

Check out:

ftp://ftp.mcc.ac.uk/pub/micro-controllers/PIC/pichex01.zip

Very good explanation of hex file formats and some simple programs to manipulate them.

Cheers!

Charlie Yeah! By Cracky! We programmed the IBM 650 in machine language by the seat of our pants! When we ran out of one's we used L's, and when we ran out of zero's we used o's. YEEE-HAAA!

---------------------- That link is dead, here's my copy:

ftp://ftp.armory.com/pub/user/rstevew/PIC/pichex01.zip

-Steve

-Steve Walz rstevew@armory.com ftp://ftp.armory.com/pub/user/rstevew Electronics Site!! 1000's of Files and Dirs!! With Schematics Galore!! http://www.armory.com/~rstevew or http://www.armory.com/~rstevew/Public

Thanks Steve :)

-A

#include "disclaimer.h"

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required