---------- > I am developing a program in a windowed PIC14000. It is factory > preprogrammed with calibration data for oscillator, wdt, bandgap etc. > > Problem: First time I erase it I will loose the calibration data in the chip. I looked at a object file and it looks like it is simular to intel hex format. A way to preserve the data might be to read (download) theprogram on the old chip and with a word processor remove all but that which holds the calibration data. Then add this data part onto the new .obj file before you program the new chip. Below is a .obj file of something for the Pic. The first two characters are the number of data bytes. Then 4 characters of address Then maybe next 2 characters are for type? then the data with a checksum at end. The last line says that it is the end. But all you would care about are the lines themselfs. and if your data starts on a XXX0 boundry, the whole line will contain your data. I think each line stands by itself and they do not have to be in order (except the last line which siginifys the end) So this file contains data for 0000 - 0067 0200 - 022F 03FE - 03FF It may be possible to write a simple program for the P.C. to do this file merge. Bill C. bill@cornutt.com :100000000029000000000000AF000308AE008316C6 :1000100006108312110886000000000012088600F6 :100020000000000000000000000086148316061483 :1000300083128B010B162E0883002F0803112E1933 :1000400003150900811205190034900A900A013441 :10005000011305190034900A900A900A900A02349C :0800600010080138860003348A :1002000064008316FF30850001308600C030810015 :1002100002308800831290308B006400811A222003 :10022000011B28203020FE309100FD3092000D2966 :0203FE000029D4 :00000001FF