Page 18 of 23
Re: VT-VX Clusters
Posted: Mon Mar 04, 2013 3:58 pm
by kody
Same clip same settings.
Just the last few writes seemed to have changed only a few lines at a time.
The only thing that I did was try a different bin file and after each write it seemed to fill in a little more each time. Maybe there is a bad connection somewhere but i checked with a multimeter and nothing seems to have a loose or bad connection.
Will post back when I have a bit more of a play with it.
Re: VT-VX Clusters
Posted: Tue Mar 05, 2013 1:23 am
by kody
Hoping that somebody might be able to trouble shoot this 1

both pictures are of 2 different bin files that I have read the top part shows what is being read back and the bottom part shows the orig file

- compare 2 bins.JPG (187.31 KiB) Viewed 5097 times

- compare 2 bins number2.JPG (185.53 KiB) Viewed 5097 times
Now I know the 2 files on each picture are different but I dont think they are that much different.
With the top picture each spot that had E1 has been replaced with C3, then 81 with 03 and so on. The bottom bin file is doing the same thing also.
Maybe I have a setting wrong on my programer or the only other thing I could think of is maybe lifting the leg of the Vcc and see if that helps.
Re: VT-VX Clusters
Posted: Tue Mar 05, 2013 7:24 am
by antus
Whats the part number of the chip? Looks to me like you may have the wrong one selected and be reading and writing straight off the end of the data area. Try chopping your bin down to 128 bytes and writing, you could be corrupting it if you are overrunning in to no mans land.
Re: VT-VX Clusters
Posted: Tue Mar 05, 2013 11:41 am
by festy
2BD0 rotate left w/carry = 57A0, E181 rlc = C303, so I'd assume it's not coincidental...

I haven't been following the thread, but it's an SPI chip you're writing to isn't it?
Code: Select all
57A0 0101 0111 1010 0000
2BD0 0010 1011 1101 0000
E181 1110 0001 1000 0001
C303 1100 0011 0000 0011
Edit: I saw you're writing at +1 speed, drop it down to the slowest possible until it's working properly.
I noticed the 00 00 is coming out as 00 01, which coupled with the 2BD0->57A0 issue looks like you're getting an extra bit in there somehow? An extra clk pulse, or possibly an edge/level issue? SPI can be a bit tricky with all the different "standards"

Re: VT-VX Clusters
Posted: Tue Mar 05, 2013 12:36 pm
by kody
The chip is correct and had another member look at the bin file and he confirmed that the read was clean.
Yeah have been trying at all speeds will try with slower speeds again, it seems to come out with the exact same result from the max speed to the slowest speed.
I just tested the Vcc and when it is writing it maxes out at 3.61 volt. I am running a external 9v power pack with the gq-4x programer.
It is a little frustrating as I feel it is close to working but just not close enough yet

Re: VT-VX Clusters
Posted: Tue Mar 05, 2013 1:55 pm
by festy
Looked a bit closer, and I think it might be a software error.
Compare DC:DD - FE:21 (read) and FF:10 (orig)
That's:
Code: Select all
orig (FF) 1111 1111 (10) 0001 0000
read (FE) 1111 1110 (21) 0010 0001
An FF in at an odd offset is written/read correctly (but not when at an even offset) and 00 in an even offset is correct but not in an odd offset .
From the datasheet:
Address bit A7 is not decoded by the M93S56
If the software was sending 8 bit addresses then could the last address bit be being taken as the first data bit?
Re: VT-VX Clusters
Posted: Tue Mar 05, 2013 8:32 pm
by madmn
the voltage isn't a problem as they operate between 2.5 and 5.5 volts
i don't think these 93s56 like being written to while connected and your programmer is writing 01 in locations for some reason, that cluster won't work properly as it has messed up all the stepper motor calibrations and cluster programing values.
you need really good clean connections
Re: VT-VX Clusters
Posted: Thu Mar 07, 2013 9:35 pm
by Tazzi
kody wrote:
Maybe I have a setting wrong on my programer or the only other thing I could think of is maybe lifting the leg of the Vcc and see if that helps.
I would have thought lifting the vcc leg would do the trick. Since wouldnt be losing power would you?.
madmn wrote:you need really good clean connections
As madmn said, dont think its possible to do the writes on board. No-one has been successful as of yet!
Re: VT-VX Clusters
Posted: Sat Mar 09, 2013 10:15 pm
by kody
Lifting the Vcc leg did not help, I am really starting to think that it cant be written to on board but can be read.
I also updated the GQ-4X software but that did not help, also tried at every speed with no improvements.
Re: VT-VX Clusters
Posted: Mon Mar 11, 2013 4:38 pm
by madmn
I guess i'm going to have to give this a go but, in the mean time since i don't have a VT cluster, can someone short the resonator crystal and then try to write to the eeprom without powering the cluster it self.
i think this maybe be the cause of the timing issues