|
Post by pahare on Oct 17, 2010 18:57:41 GMT
Hi I've just loaded a 12F629 with the hex file I downloaded dated February this year. When I read back the EEPROM values they seem to be in the wrong places, i.e. CV1 is in location 00, CV2 in location 01, etc and there's nothing set after location 08. Also I cannot read any of the CVs using SprogII or my MERG Programmer although the ASM says it's been tested with the MERG. I attach the hex readback straight after programming the chip. Attachments:
|
|
|
Post by Paul Harman on Oct 18, 2010 9:26:40 GMT
Readback of the motor decoder will require a motor to be attached.
I have not tested readback with anything. The motor decoder firmware is just a port of Heiko Schroeter's decoder so still contains most of the bugs in that decoder and is just supplied pretty much as is. There is very limited support for CVs in this decoder so may not be anything after CV8 and I suspect that the CVs are not organised the same way as in the function and accessory decoders.
|
|
|
Post by pahare on Oct 18, 2010 10:15:22 GMT
Further examination of the .asm confirms this:-
; CV1,CV2,CV3,CV4,CV5,CV9,CV19,CV29,CV65 ;EEprom location 0 ,1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 #define eeprombase 0 #define CV1adr eeprombase #define CV2adr eeprombase + .1 #define CV3adr eeprombase + .2 #define CV4adr eeprombase + .3 #define CV5adr eeprombase + .4 #define CV9adr eeprombase + .5 #define CV19adr eeprombase + .6 #define CV29adr eeprombase + .7 #define CV65adr eeprombase + .8 #define CV17adr eeprombase + .9 #define CV18adr eeprombase + .10
I assumed !!! that it was as the other two - doh!
I did have a loco connected. The MERG programmer seemed to program ok, but wouldn't read.
John
|
|