grab this pdf has labels and pinouts for the 24c44
http://www.google.com.au/url?sa=t&sourc ... 5620ZhXi_w
then you want to look at the schematic for the 93x in that pdf
Otherwise easy version
The ICSP header on the programmer has pins 1-10
So chip to programmer
1-3
2-4
3-5
4-6
5-10
6,7,8-1
Couldnt really find a section for this..
-
The1
- Posts: 4852
- Joined: Mon Jan 04, 2010 12:23 am
-
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..
Don't worry about changing word 0, just keep the first 4 words as they areThe1 wrote: 64^A8^00 = CC ^ FF = 33 So CC 33 which is how i did the ones that worked
If you work in native byte order, it makes life a whole lot easier.
That way 1526 would be 00FF 15EA 26D9. 00+15+26=3B. 3B^FF = C4.
So that block would be C43B 00FF 15EA 26D9.
Convert to LSB for your burner if you need to, and you're away.
Last edited by festy on Tue Aug 02, 2011 12:04 pm, edited 1 time in total.
-
Streetholden
- Posts: 105
- Joined: Tue Jul 06, 2010 4:04 am
- cars: VH, VK, VS, VU
Re: Couldnt really find a section for this..
Ah i think i understand, Cheers. Ill wait till i have the programer in my hands before i ask anything else as generally its easier when its infront of you.
-
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..
That adapter is almost as complex as my whole programmerThe1 wrote: This is what i made up
You do not have the required permissions to view the files attached to this post.
-
The1
- Posts: 4852
- Joined: Mon Jan 04, 2010 12:23 am
Re: Couldnt really find a section for this..
yeh tried that way to, not working on my VS dash, some work some dont driving me mentalfesty wrote:Don't worry about changing word 0, just keep the first 4 words as they areThe1 wrote: 64^A8^00 = CC ^ FF = 33 So CC 33 which is how i did the ones that worked
If you work in native byte order, it makes life a whole lot easier.
That way 1526 would be 00FF 15EA 26D9. 00+15+26=3B. 3B^FF = C4.
So that block would be C43B 00FF 15EA 26D9.
Convert to LSB for your burner if you need to, and you're away.
-
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..
Are you xoring, or adding?
-
The1
- Posts: 4852
- Joined: Mon Jan 04, 2010 12:23 am
Re: Couldnt really find a section for this..
tried both, i even just copied your line above
ive tried quite a few combinations, it seems that i can see any numbers above 1's or 10's and they so far all work, but some numbers in the 1's and 10's dont
-
The1
- Posts: 4852
- Joined: Mon Jan 04, 2010 12:23 am
Re: Couldnt really find a section for this..
like this for me
1520KM
works
AC53 FF00 57A8 FB04
8A40 = 1520
A8+04=AC^FF=53
doesn't work
CA35 FF00 15EA 20DF
00+15+20=35^FF=CA
1520KM
works
AC53 FF00 57A8 FB04
8A40 = 1520
A8+04=AC^FF=53
doesn't work
CA35 FF00 15EA 20DF
00+15+20=35^FF=CA
-
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..
You need to convert to LSB so your programmer can read the bin correctly - the line above is still MSB.The1 wrote:
doesn't work
CA35 FF00 15EA 20DF
00+15+20=35^FF=CA
-
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..
Com port code done and working, I now have a functioning programmer
Just a bit more pcb tracing to do and I should have programming via the dash's CN103 connector under way.
The 24C44's CE line is handled by one of the inverting schmitt triggers - the track runs under the 74HC14 but assume it's the one that runs back to the connector.
I have been trying to work out how the 8051 gets told to shut up during programming - if it was talking on the SPI lines while you're programming, the data would get garbled.
But I'm hoping that the mcu copies the 'c44 ram to it's own internal ram, and only talks to the external storage for updates after that - which would mean that as long as there were no vss pulses coming in, the spi lines would be quiet.
Actually, I can test this with my dodgy soundcard-scope - if I'm right, the sclk line will be silent after the initial read on power-up ...
edit: Yep, looks like the mcu only does an initial read on power-up, so shouldn't interfere with programming the nvram.
Just a bit more pcb tracing to do and I should have programming via the dash's CN103 connector under way.
The 24C44's CE line is handled by one of the inverting schmitt triggers - the track runs under the 74HC14 but assume it's the one that runs back to the connector.
I have been trying to work out how the 8051 gets told to shut up during programming - if it was talking on the SPI lines while you're programming, the data would get garbled.
But I'm hoping that the mcu copies the 'c44 ram to it's own internal ram, and only talks to the external storage for updates after that - which would mean that as long as there were no vss pulses coming in, the spi lines would be quiet.
Actually, I can test this with my dodgy soundcard-scope - if I'm right, the sclk line will be silent after the initial read on power-up ...
edit: Yep, looks like the mcu only does an initial read on power-up, so shouldn't interfere with programming the nvram.