Couldnt really find a section for this..

A place For General Chit Chat Etc
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 6:27 pm
cars: Alfa Romeos
Location: Narellan, NSW

Re: Couldnt really find a section for this..

Post by festy »

antus wrote:Which model car is that chip from?
Apparently a VP calais
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 6:27 pm
cars: Alfa Romeos
Location: Narellan, NSW

Re: Couldnt really find a section for this..

Post by festy »

This is a bit more promising...
After issuing a read instruction, the MSB is read *before* clocking, all the other bits are read while the clk is high.
I noticed that in the datasheet's timing info, but didn't think they were serious :wtf:
It makes a big difference though - I noticed that the combined digit checksum didn't add up, and there were no odd words in the read data... as if I was missing the first bit which would make the 16th bit always 0 - and thinking about it, the individual checksums would still be vaild for the effectively left shifted word.

Code: Select all

READ:
addr: 0:31611
addr: 1:25765
addr: 2:255
addr: 3:1275
addr: 4:7905
addr: 5:13515
addr: 6:13515
addr: 7:31110
addr: 8:7905
addr: 9:13515
addr: 10:13515
addr: 11:31110
addr: 12:7905
addr: 13:13515
addr: 14:13515
addr: 15:31110
or in hex:

Code: Select all

7B7B 64A5 00FF 04FB 1EE1 34CB 34CB 7986 
1EE1 34CB 34CB 7986 1EE1 34CB 34CB 7986
Remember the odo was 343479, just read off the digits - 34CB 34CB 7986 ;)
The individual checksums are good, and the all-digits checksum is valid (well it's decimal value is at least)
Reading the eprom in the native endian data format means no need for antus' lookup table.

Now to code the write instructions, then a windows frontend GUI :twisted:
User avatar
The1
Posts: 4811
Joined: Mon Jan 04, 2010 10:23 am

Re: Couldnt really find a section for this..

Post by The1 »

:o

good work festy :thumbup:

Goes back to counting sheep..
User avatar
Doctor Bob
Posts: 195
Joined: Mon Mar 02, 2009 10:58 pm
cars: VN, VT
Location: Melbourne Vic.
Contact:

Re: Couldnt really find a section for this..

Post by Doctor Bob »

do you guys want me to take some pics inside a VDO resetting tool?
User avatar
The1
Posts: 4811
Joined: Mon Jan 04, 2010 10:23 am

Re: Couldnt really find a section for this..

Post by The1 »

would be interesting to see.
User avatar
The1
Posts: 4811
Joined: Mon Jan 04, 2010 10:23 am

Re: Couldnt really find a section for this..

Post by The1 »

festy wrote:Fairly sure the ebay ad said x24c44 via ICSP only, so you can't use the ZIF socket.
Yep if you look at the photos of the board it has a icsp 10pin header, so i guess i just need to figure out what pin to pin
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 6:27 pm
cars: Alfa Romeos
Location: Narellan, NSW

Re: Couldnt really find a section for this..

Post by festy »

It's just a case of providing vcc and vss, the sclk and di/do lines, pin 6 and 7 pulled high, and ce is active high but needs to be cycled between each instruction.
I'm surprised that the 93c socket won't work, but it might have a hardwired ce line or something.

I've added ram write and eeprom store instructions to my code, so might try hand-editing a bin with hyperterm and calc tonight, to test my checksum theories before I worry about a frontend.
User avatar
The1
Posts: 4811
Joined: Mon Jan 04, 2010 10:23 am

Re: Couldnt really find a section for this..

Post by The1 »

yeh i tried the 93 socket, no change.
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 6:27 pm
cars: Alfa Romeos
Location: Narellan, NSW

Re: Couldnt really find a section for this..

Post by festy »

If all else fails I'll swap you for one of mine ;)
User avatar
Doctor Bob
Posts: 195
Joined: Mon Mar 02, 2009 10:58 pm
cars: VN, VT
Location: Melbourne Vic.
Contact:

Re: Couldnt really find a section for this..

Post by Doctor Bob »

if i can get one of my programmers to read it ill post the file.

Rob
Attachments
IMAG0489.jpg
IMAG0489.jpg (770.26 KiB) Viewed 4950 times
IMAG0486.jpg
IMAG0486.jpg (817.82 KiB) Viewed 4950 times
IMAG0485.jpg
IMAG0485.jpg (635.19 KiB) Viewed 4950 times
IMAG0488.jpg
IMAG0488.jpg (733.5 KiB) Viewed 4950 times
IMAG0484.jpg
IMAG0484.jpg (558.88 KiB) Viewed 4950 times
Post Reply