Couldnt really find a section for this..

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

Re: Couldnt really find a section for this..

Post by antus »

Im a bit skeptical about the read... it doesnt seem to work out whatever way I try it.

So I went back and checked my notes, and found this... its a VN L3 dash so it may be different, but its the same cat chip, and the same layout board. I have worked out this much:

300,609

Code: Select all

>From address: 000000  To address: 000087   Date: 2/12/2007  Time: 5:53:22 PM

Address      +0    +1    +2    +3    +4    +5    +6    +7    0 1 2 3 4 5 6 7
-------------------------------------------------------------------------
00000000   0101  D926  FF00  DF20  FC03  F30C  9F60  6F90   ..&. ..`o
00000008   FC03  F30C  9F60  6F90  FC03  F30C  9F60  6F90   ..`o..`o
Its binary coded in to nibbles, with the opposite endian layout to x86 so to make life easier heres a MSB/LSB nibbles look up chart

Code: Select all

0 0
1 8
2 4
3 C
4 2
5 A
6 6
7 E
8 1
9 9
A 5
B D
C 3
D B
E 7
F F
so solve the endian part and convert to BCD: 300,609 = C0 06 09 = 0C 60 90

One of the sums is stored right next to each byte so then you find:

F30C 9F60 6F90
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: 4695
Joined: Mon Jan 04, 2010 10:23 am

Re: Couldnt really find a section for this..

Post by The1 »

if it helps here's the list of chips support by the 4x i use.

http://www.mcumall.com/comersus/store/m ... ortICs.asp
User avatar
The1
Posts: 4695
Joined: Mon Jan 04, 2010 10:23 am

Re: Couldnt really find a section for this..

Post by The1 »

antus wrote:So I went back and checked my notes, and found this... its a VN L3 dash so it may be different
My First one is from a vn the second from a vs. Both Boards looked the same to me, same chips, some different brands but still same chips, same layouts
User avatar
antus
Site Admin
Posts: 8259
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Couldnt really find a section for this..

Post by antus »

Maybe the reads are reading ram without first loading the data backup up from e2prom which is why we see not the right content yet it still works when resoldered.
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: 4695
Joined: Mon Jan 04, 2010 10:23 am

Re: Couldnt really find a section for this..

Post by The1 »

festy wrote:
VL400 wrote:Both of my programmers dont support it :thumbdown: So would need to be a pic/avr to read it like festy suggested. Would be interesting to get the MCU code out too :D
A Willem PCB3 clone should be able to read and write the 24C44 using software version 0.97ja, select "S24H45" for the device.
Or here's an ebay ICSP programmer for $20 that will do them too.
just had a look at that ebay one, it does'nt have 24c44 or S24H45 listed either.
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 »

X2444 is compatible from what i've read.
User avatar
The1
Posts: 4695
Joined: Mon Jan 04, 2010 10:23 am

Re: Couldnt really find a section for this..

Post by The1 »

festy wrote:X2444 is compatible from what i've read.
arh yes it does. Well $19 ill give it a go, let you all kow when i get it.
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 you had an old dos machine around, your could try this...
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:

Code: Select all

>From address: 000000  To address: 000087   Date: 2/12/2007  Time: 5:53:22 PM

Address      +0    +1    +2    +3    +4    +5    +6    +7    0 1 2 3 4 5 6 7
-------------------------------------------------------------------------
00000000   0101  D926  FF00  DF20  FC03  F30C  9F60  6F90   ..&. ..`o
00000008   FC03  F30C  9F60  6F90  FC03  F30C  9F60  6F90   ..`o..`o
One of the sums is stored right next to each byte so then you find:

F30C 9F60 6F90
I'd been through packed BCD etc in the two samples and couldn't see any pattern, but your data makes much more sense.
So the second checksum is 90^60^0C^FF = 03, and it's partner checksum of 03^FF = FC, making FC03?

(edit - second checksum would be XOR'd, not addition)
Last edited by festy on Mon Jul 18, 2011 5:24 pm, edited 1 time in total.
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:Im a bit skeptical about the read... it doesnt seem to work out whatever way I try it.
Well I think the data The1 read must be invalid, i just looked up the READ instructions for the two chips and can see why it didn't work:

24c44: 1AAAA11X
93c46: 10AAAAAAAA

So although the eprom programmer hardware is capable of talking to the 24c44, the software doesn't support the instructions.
If the source code was available it would probably be trivial to add support for it.
Post Reply