rewire help

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
Post Reply
coinheaven
Posts: 280
Joined: Sat Sep 17, 2005 12:26 pm

rewire help

Post by coinheaven »

so i have these 2 pinouts. trying to rewire a snes cart with a 27c512 eprom. can someone tell me what i would need to bend up and rewire?:

SNES Mask ROM Pinout:

__ __
A20 | \/ | +5V
A21 |__ __| A22
A17 |01\/32| +5V
A18 |02 31| /OE
A15 |03 30| A19
A12 |04 29| A14
A7 |05 28| A13
A6 |06 27| A8
A5 |07 26| A9
A4 |08 25| A11
A3 |09 24| A16
A2 |10 23| A10
A1 |11 22| /CE
A0 |12 21| D7
D0 |13 20| D6
D1 |14 19| D5
D2 |15 18| D4
GND |16 17| D3

EPROM 27C040/27C4001 512KBytes (32pin):

---_---
VPP - |01 32| - VCC
A16 - |02 31| - A18
A15 - |03 30| - A17
A12 - |04 29| - A14
A7 - |05 28| - A13
A6 - |06 27| - A8
A5 - |07 26| - A9
A4 - |08 25| - A11
A3 - |09 24| - OE
A2 - |10 23| - A10
A1 - |11 22| - CE
A0 - |12 21| - D7
D0 - |13 20| - D6
D1 - |14 19| - D5
D2 - |15 18| - D4
GND - |16 17| - D3
-------
coinheaven
Posts: 280
Joined: Sat Sep 17, 2005 12:26 pm

Post by coinheaven »

ok, i think i got most of it:

bend up pins 1,2,24,30, 31
hole 24 to pin 2
hole 31 to pin 24
hole 1 to pin 30
hole 2 to pin 31

but where would i wire A19 (hole 30) on the board to?
User avatar
koitsu
Posts: 4203
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Post by koitsu »

Topic moved to SNESdev forum.
User avatar
blargg
Posts: 3717
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Post by blargg »

I'm curious as to why people usually recommend bending pins up. I've found it much better to cut traces on the circuit board. This way you can remove the EPROM and reprogram it easily. Cut traces are easy to reconnect if you cut the wrong one.
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

blargg wrote:I'm curious as to why people usually recommend bending pins up.
I guess it's because picking up the signals from the holes is easier than looking for other suitable solder points.
coinheaven
Posts: 280
Joined: Sat Sep 17, 2005 12:26 pm

Post by coinheaven »

yea i like bending up because if i cut a wrong trace the board is done. i did see that A15 can be ignored on snes boards. not sure how i would go on from there though
User avatar
jpx72
Posts: 178
Joined: Tue Sep 28, 2010 3:27 am
Location: Slovakia
Contact:

Post by jpx72 »

this one looks like a cart-destroyer on the loose...
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

coinheaven wrote:i did see that A15 can be ignored on snes boards.
As I understand it, LoROM uses A15 as a positive enable and doesn't use it on the ROM itself. HiROM uses A15 OR A22 as an enable, but it does route A15 to the ROM.
coinheaven
Posts: 280
Joined: Sat Sep 17, 2005 12:26 pm

Post by coinheaven »

ok, so how would i wire A16-A19 on the board then?
tepples wrote:
coinheaven wrote:i did see that A15 can be ignored on snes boards.
As I understand it, LoROM uses A15 as a positive enable and doesn't use it on the ROM itself. HiROM uses A15 OR A22 as an enable, but it does route A15 to the ROM.
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

I've never done it before, but here's my guess: On a HiROM, pass them right through. On a LoROM, run A16-19 on the cart edge to A15-18 on the ROM.
coinheaven
Posts: 280
Joined: Sat Sep 17, 2005 12:26 pm

Post by coinheaven »

ok, ill give it that a shot. thanks
tepples wrote:I've never done it before, but here's my guess: On a HiROM, pass them right through. On a LoROM, run A16-19 on the cart edge to A15-18 on the ROM.
User avatar
kyuusaku
Posts: 1665
Joined: Mon Sep 27, 2004 2:13 pm

Post by kyuusaku »

That's exactly right. You don't need to use A15 as an enable either because ROMSEL is decoded with A15.
Post Reply