||Joe
15-02-2002, 11:47 AM
Hello!
(Seems that someone has allready posted F628 version on this board /n/images/smiles/icon_smile.gif
but I post message anyway if someone wants to study i2C )
Converting dex for PIC16F628, allmost done.
I have created new EEPROM routines to use with F628,
but I havn't tested them yet
Plus I have to check they don't affect other timings...
I'll post the new hex as soon as I have get it working!
Well.. IF I get it working /n/images/smiles/icon_wink.gif
I belive many people are working on turning dex to work with F628.
So thought to share my study of these files, I hope someone finds them usefull.
I manualy reconstructed both dex1.asm and dex0.asm
I attached dex1.asm & dex0.asm disassembled from original hex files.
dex1.asm is partially commented (I2C routines are fully commented )
I commented only dex1.asm because it contains all routines.
About dex1: Dex1 only writes 6 bytes to eeprom at page-0.
This must be done thru PIC, because CE625 has I2C EEPROM that cannot be directly accessed with programmer.
(On F628, EEPROM is programmed with programmer)
Eeprom contents at page-0 after running dex1
Address: 78h, Data: A5h
Address: 79h, Data: 5Ah
Address: 7Ah, Data: 5Ah
Address: 7Bh, Data: A5h
Address: 7Ch, Data: 00h
Address: 7Dh, Data: 00h
About dex0: Dex0 is the actual firmware of the BOX
(Seems that someone has allready posted F628 version on this board /n/images/smiles/icon_smile.gif
but I post message anyway if someone wants to study i2C )
Converting dex for PIC16F628, allmost done.
I have created new EEPROM routines to use with F628,
but I havn't tested them yet
Plus I have to check they don't affect other timings...
I'll post the new hex as soon as I have get it working!
Well.. IF I get it working /n/images/smiles/icon_wink.gif
I belive many people are working on turning dex to work with F628.
So thought to share my study of these files, I hope someone finds them usefull.
I manualy reconstructed both dex1.asm and dex0.asm
I attached dex1.asm & dex0.asm disassembled from original hex files.
dex1.asm is partially commented (I2C routines are fully commented )
I commented only dex1.asm because it contains all routines.
About dex1: Dex1 only writes 6 bytes to eeprom at page-0.
This must be done thru PIC, because CE625 has I2C EEPROM that cannot be directly accessed with programmer.
(On F628, EEPROM is programmed with programmer)
Eeprom contents at page-0 after running dex1
Address: 78h, Data: A5h
Address: 79h, Data: 5Ah
Address: 7Ah, Data: 5Ah
Address: 7Bh, Data: A5h
Address: 7Ch, Data: 00h
Address: 7Dh, Data: 00h
About dex0: Dex0 is the actual firmware of the BOX