PDA

View Full Version : New post about 16F628 and hex...



o_MAST
14-02-2002, 01:45 PM
http://gsmsearch.com/nfree/nfreeboard/list.php?f=1&a=2&t=2885

Bye

Gianni
14-02-2002, 03:17 PM
Hi o_Mast,
I' ve tried to load the dav_0000.hex and dav1111_hex with ICprog but i've a checksum error... I don't think that the files are the same. what i think insteed, is that the 2 files must be combineted in some manner.
B.r.
Gianni.

Per o_Mast
Come detto sopra ho provato a caricare i due file Hex attraverso ICprog2 selezionando la PIC16F628, ma il programma Icprog mi da errori di checksum e non lo carica... Sapresti il perché?
Ciao a presto
Gianni.

o_MAST
14-02-2002, 06:33 PM
Hi Gianni,
ic-prog does't take me any error. In the evening I will try if pic 16F628 works.

B.r

Bye

Gianni
14-02-2002, 07:09 PM
Hi,
Sorry but I have tried the wrong files ...
Gianni.

Come avrai appunto capito ho provato a caricare i file chiamati dav0000.hex and dav1111.exe e su questi ho un messaggio di errato checksum mentre i file dex0.hex e dex1.hex non hanno questo problema. Tra poco proverò a programmare anche io la pic16f628 con i file così come sono... Comunque ti sarei grato se mi facessi sapere se ti funziona il box...
A presto.
Gianni.

o_MAST
14-02-2002, 11:30 PM
I think that dex0 and dex1 are a FAKE because if you disassemble dex1 you have into the first line of asm file " GOTO Label_0001" but after there is no Label_0001! I've also tried these files on pic16F628 but they won't work.
The real hexfile are dav_0001 and dav_0000 !!!
I need to disassemble them and then recompile them for a pic 16F628.

Bye

||Joe
15-02-2002, 01:07 AM
Hi!

I disassembled dex0.hex & dex1.hex with MPLAB.
The forst GOTO at origin 0x000 points to last location in program memory,
and from there you can find 'goto 0x7C8'.

This is because 16CE625 is OTP chip and uses onboard I2C eeprom, and EEPROM is programmed with dex1.hex
After programming EEPROM, dex0.hex is written to PIC
(You can't access EEPROM directly with programmer)

If you tried to disassemble hex files with PIC16F84-disassembler, you won't get correct source.

o_MAST
15-02-2002, 09:14 AM
You are in right. But what values does dex1.hex write on eeprom? Can you tell them us? Can you post dex0.asm and dex1.asm?

Thank You
Bye

o_MAST
15-02-2002, 09:24 AM
up!