| View previous topic :: View next topic |
| Author |
Message |
danworth
Joined: 25 Nov 2004 Posts: 7
|
Posted: Fri Jan 06, 2006 9:57 pm Post subject: Switchable bins |
|
|
Ok i have 2 128k / 16kb bins ive merged them i can see the first half 0000-3FFF is one bin and 4000-7FFF is the other bin, i programmed the eprom (27C256) now i want to switch between the 2 bins, i read on the old ztechz forum you short pin 14 to vcc for one bin and pin 14 to gnd for the other, ive tried this and it doesn't work any one can help please?
also a diagram indicating the notch on the eprom and the pins used,
Thanks. |
|
| Back to top |
|
 |
rybowen
Joined: 08 Sep 2005 Posts: 118
|
Posted: Fri Jan 06, 2006 10:24 pm Post subject: |
|
|
THe quick & dirty way to do it is solder a 10k resistor between A14 and VCC (between pins 27 & "28"). Solder a wire to pin 27 also. Then, when you install the chip, leave pin 27 hanging out of the socket. Ground the wire for the bottom bin, and leave it floating for the top bin. Make sense?
Pin diagram: (notch at top, pin1 upper left)
+--------------+
VPP |1 +--+ 28| VCC
A12 |2 27| A14
A7 |3 26| A13
A6 |4 25| A8
A5 |5 24| A9
A4 |6 23| A11
A3 |7 22| /OE
A2 |8 21| A10
A1 |9 20| /CE
A0 |10 19| D7
D0 |11 18| D6
D1 |12 17| D5
D2 |13 16| D4
GND |14 15| D3
+--------------+ |
|
| Back to top |
|
 |
danworth
Joined: 25 Nov 2004 Posts: 7
|
Posted: Fri Jan 06, 2006 11:32 pm Post subject: |
|
|
| fantastic, do i really need a resistor, as i need to do this tonight and i dont have a resistor..... |
|
| Back to top |
|
 |
danworth
Joined: 25 Nov 2004 Posts: 7
|
Posted: Fri Jan 06, 2006 11:44 pm Post subject: |
|
|
i have a old ECU here im looking at the resistors i cant find any 10k ones (Brown Black Orange is that right???)
what else will work??? |
|
| Back to top |
|
 |
danworth
Joined: 25 Nov 2004 Posts: 7
|
Posted: Fri Jan 06, 2006 11:55 pm Post subject: |
|
|
| never mind found one. i'll give it a go now let you now how i got on. |
|
| Back to top |
|
 |
danworth
Joined: 25 Nov 2004 Posts: 7
|
Posted: Sat Jan 07, 2006 12:41 am Post subject: |
|
|
Great worked a treat! now i can go to bed!
nice one mate. |
|
| Back to top |
|
 |
rybowen
Joined: 08 Sep 2005 Posts: 118
|
Posted: Sun Jan 08, 2006 6:39 am Post subject: |
|
|
| Glad it worked for you. You can use any resistor pretty much. |
|
| Back to top |
|
 |
FAST-TRACK
Joined: 21 Apr 2004 Posts: 160
|
Posted: Fri Jan 27, 2006 1:14 pm Post subject: |
|
|
First time ecu read data 4000-7FFF. When you connect GND + PIN 27 ecu will read data 0000-3FFF. |
|
| Back to top |
|
 |
pom_vr2
Joined: 13 Nov 2005 Posts: 1
|
Posted: Sun Feb 12, 2006 4:47 pm Post subject: |
|
|
| FAST-TRACK wrote: |
First time ecu read data 4000-7FFF. When you connect GND + PIN 27 ecu will read data 0000-3FFF. |
It's all right. |
|
| Back to top |
|
 |
Vetal
Joined: 08 Feb 2006 Posts: 120
|
Posted: Fri Feb 24, 2006 10:54 am Post subject: |
|
|
Why do you need resistor?
P.S. Works with just a switch for me (CA18DET)  |
|
| Back to top |
|
 |
Doni666
Joined: 02 Dec 2004 Posts: 59 Location: Kotka, Finland
|
Posted: Fri Feb 24, 2006 9:31 pm Post subject: |
|
|
| Vetal wrote: | Why do you need resistor?
P.S. Works with just a switch for me (CA18DET)  |
to avoid address "floating". With a resistor you can change the map on fly. _________________ www.dnsf.org
T12 turbo - 240 hp so far |
|
| Back to top |
|
 |
oops
Joined: 02 Jul 2004 Posts: 100
|
Posted: Fri Feb 24, 2006 9:34 pm Post subject: |
|
|
will this work with a 512 PROM?
Regards. _________________ changed my user name |
|
| Back to top |
|
 |
Vetal
Joined: 08 Feb 2006 Posts: 120
|
Posted: Fri Feb 24, 2006 10:59 pm Post subject: |
|
|
| Doni666 wrote: | | Vetal wrote: | Why do you need resistor?
P.S. Works with just a switch for me (CA18DET)  |
to avoid address "floating". With a resistor you can change the map on fly. | Yes that's what I'm talking about - I change maps on the fly and not a single "hiccup" |
|
| Back to top |
|
 |
LMQT

Joined: 06 Aug 2005 Posts: 144 Location: France
|
Posted: Sat Feb 25, 2006 1:56 pm Post subject: |
|
|
| Doni666 wrote: | | Vetal wrote: | Why do you need resistor?
P.S. Works with just a switch for me (CA18DET)  |
to avoid address "floating". With a resistor you can change the map on fly. | Could you explain more please ?
I do this only by switching A14 between ground and VCC and it works perfectly. It shouldn't ??? _________________ 200SX RS13 Zenki (w. CA18DET)
280hp & 330Nm @ 16PSI (GT25R) |
|
| Back to top |
|
 |
deviousKA
Joined: 14 Jun 2004 Posts: 106
|
Posted: Sun Feb 26, 2006 3:40 am Post subject: |
|
|
It would all depend on the switch, if you dont have any problems at all with on the fly switching without using pull resistor setup, you could say you have a nice fast switch
All mechanical switches are going to have some "bounce" to them anyways, using a resitor to pull high and then switching to ground would be considered marginally better than a straight up switch.
Using something like a flip-flop (as calum mentioned a couple times) would be the best way to go, theoretically. I dont think rom address switching is a good idea during actual "real time use" (like nitrous or maybe some sort of rom switch launch limit at high rpms or load), Your switching a whole lot of code at one of the worst possible times, only to obtain a few setting differences. Better to just save the rom address switching for idle.
Using some original ecu inputs, with the code modified to use them in some certain fashion (like fuel or timing map pointer switch) would be best. You could then be safe to use them dynamically for all kinds of things, having proper timings and consistency. |
|
| Back to top |
|
 |
|