Couldnt really find a section for this..

A place For General Chit Chat Etc
User avatar
antus
Site Admin
Posts: 10015
Joined: Sat Feb 28, 2009 10:34 am
cars: TX Gemini 2L Twincam 8psi
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Subaru WRX 2007

Re: Couldnt really find a section for this..

Post by antus »

Someone should read another chip, the FFFFFFFs might be what happens when it detects tamper and stops working, if so not a good base to work from.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
The1
Posts: 4852
Joined: Mon Jan 04, 2010 12:23 am

Re: Couldnt really find a section for this..

Post by The1 »

ok tried my best to trace.

pin1 to pin 5 MM74HC14N
pin1 through resistors, diode, cap to pin 2 LM2903N

pin2 to pin 8 & 11 MM74HC14N

pin3 to pin 4 CAT24C44

pin4 to pin 2 CAT24C44
pin4 to pin 7 lcd driver header then to pin 22 80C51BH

pin5 to pin 6 lcd driver header then to pin 23 80C51BH
pin5 to pin3 CAT24C44
User avatar
The1
Posts: 4852
Joined: Mon Jan 04, 2010 12:23 am

Re: Couldnt really find a section for this..

Post by The1 »

ok i soldered that first chip into this other cluster, it has 348982km, attached is another one which has 358604km
You do not have the required permissions to view the files attached to this post.
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 8:27 am
cars: Alfa Romeos
Location: Narellan, NSW

Re: Couldnt really find a section for this..

Post by festy »

Great - so the SPI NVRAM can be read and written without unsoldering it by the sound of it.
Assuming the CE line is hard wired and the /STORE and /RECALL lines are pulled high (i.e. EEPROM saves and recalls are performed by serial instructions instead of pulling pins 6 and 7 low) then you'd just need to pick up a ground somewhere and you should be able to reprogram it with a PC serial port and a few passive components.

The other two lines I have no idea what they do without studying the circuit - it could be 5v/gnd in a roundabout way, or it could be for putting the dash into a programming/checksum updating mode of some form. Actually, it must do something to the 8051, even if it's just putting it into sleep mode because all hell would break loose if it was still talking to the nvram at the same time as you were reprogramming it.

Pin 1 goes to inverter 3 input on the 74HC14N, and inverting input on the LM2903 comparator, and pin 2 goes to inverter 4 output and inverter 5 input on the 74HC14N. I guess an easy test is to see if there's 5v across pins 1 and 2 with the dash powered on?

I was looking at by Willem clone this morning, to program one of these chips you'd need to use the 93c* socket, and pull pins 6 and 7 high (there's vcc available on the header to the right on mine).
User avatar
The1
Posts: 4852
Joined: Mon Jan 04, 2010 12:23 am

Re: Couldnt really find a section for this..

Post by The1 »

big mouthful there for a electronics newb like me, good work, ill power it up after lunch and check that voltage on 1 & 2
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 8:27 am
cars: Alfa Romeos
Location: Narellan, NSW

Re: Couldnt really find a section for this..

Post by festy »

Code: Select all

00000000  ff ff ff ff ff ff 02 fd  ff ff ff ff ff ff d7 28  |...............(|
00000010  00 00 00 00 00 00 19 e6  00 00 00 00 00 00 13 ec  |................|
so the checksum just seems to be more like 02^fd = d7^28 = 19^e6 = 13^ec = FF - that fits both the samples and is a bit simpler.
Looks like 4 bytes of data, each with it's own checksum byte?

0xd7021319/10000 is almost spot on at 360,723 (2k over) but the other one is almost 5k over, will keep re-arranging the numbers and see if something jumps out at me...
yoda69
Posts: 1226
Joined: Sun Mar 15, 2009 12:20 am
cars: 2004 VYII Acclaim Wagon V6 Auto LPG/Petrol
2004 VYII Berlina sedan V6 Auto
2005 VZ Monaro CV8 manual
Location: Geelong, VIC

Re: Couldnt really find a section for this..

Post by yoda69 »

Remember there is a chance that the odometer may contain 0.1 or 0.01 or more of a kilometre that is not displayed.
yoda69
User avatar
festy
Posts: 1039
Joined: Sat Apr 30, 2011 8:27 am
cars: Alfa Romeos
Location: Narellan, NSW

Re: Couldnt really find a section for this..

Post by festy »

The1 wrote:ok i soldered that first chip into this other cluster, it has 348982km, attached is another one which has 358604km
Any chance you could read a chip, drive for a few km then read it again?
I think VL400 suggested this earlier, it'd be much easier to work out what is what when there's only a very small change.

Did you have any luck reading the chip as a S24H45? Did you read it as 8 bit or 16 bit?
User avatar
The1
Posts: 4852
Joined: Mon Jan 04, 2010 12:23 am

Re: Couldnt really find a section for this..

Post by The1 »

hey i looked the william doesn't have S24H45, i was reading them as 93C46B 16bit
User avatar
The1
Posts: 4852
Joined: Mon Jan 04, 2010 12:23 am

Re: Couldnt really find a section for this..

Post by The1 »

with power on MM74HC14N has 5v on pin 2&3 and measuring across pin 1&2 has +5v on pin 2