Go Down

Topic: ROM-Reader for Super Nintendo / Super Famicom Game Cartridges (Read 217795 times) previous topic - next topic

SputnikBR

Dump the rom again and open both the dump and the source file with a hex editor like https://mh-nexus.de/en/hxd/ and use the ctrl+k compare function to see where the errors begin.

Maybe the first few bytes got written correctly and then you see the address where it starts to get bad. Then you can check which address pin is needed to write for that address and maybe that pin is not connected right.
Or if nothing was written at all then it's a different problem.

only the beginning is written, more specifically the first line. all the rest is FF

sanni

If the first line(=16 bytes) is written correctly then the data pins are ok and the error starts at address line A4. Try resoldering A4 on the 29F032 chip. Make sure that the trace going from A4 to the cart edge connector is not damaged and clean the golden finger for A4.

SputnikBR

If the first line(=16 bytes) is written correctly then the data pins are ok and the error starts at address line A4. Try resoldering A4 on the 29F032 chip. Make sure that the trace going from A4 to the cart edge connector is not damaged and clean the golden finger for A4.
Were written 16bytes but 8bytes were repeated. The address A3 was disconnected from the adapter. Many thanks Sanni for the solution :D

sanni

No problem  :)

In other news:
In preparation for receiving the hopefully final PCB version in about 3 weeks I have started on updating the documentation on my github to better reflect the current state of the project:
https://github.com/sanni/cartreader
https://github.com/sanni/cartreader/wiki/How-to-build-the-PCB


Ailuros

Hi. I've been planning on building this for some time. But I already downloaded the repo back in November (the download is Cart_Reader_V27D.zip) and ordered the main PCB based on what I downloaded then. Do I have to re-order the PCBs again now, or can I go ahead and make what I have work? I just want to dump my N64 saves, as I already have ways of getting all my SNES and GBA saves. Could I build the variant listed here, and if so, how?
https://github.com/sanni/cartreader/wiki/Cart-Reader-64

sanni

The new PCB version will integrate Mega Drive and Gameboy into the main pcb. If you don't care about those you can just go ahead and build the old version. All new code will work perfectly fine with it.

Here are the wiki pages for the old version:
https://github.com/sanni/cartreader/wiki/Cart-Reader-SNES-and-N64
https://github.com/sanni/cartreader/wiki/Needed-Parts/26d82ed870367b93ec197ab153b63f9f27a8f25f
https://github.com/sanni/cartreader/wiki/PCB-Build-guide
https://github.com/sanni/cartreader/wiki/Setup-and-user-guide

And the old PCB and 3d print files can still be found here: https://github.com/sanni/cartreader/tree/09d122369fb5bbec1bffa3a6568dc0b8f87921db/pcb

It will still be some time before I'll upload the new design files since I haven't even received the pcbs yet to test them. I just took down the old pcb files so that nobody orders them shortly before I upload the new versions.

Ailuros

Cool. I thought that might be the reason I couldn't find them. Thank you for the prompt reply. I just have one more question. If all I care about is N64 stuff, I just need to build the old version with just the main PCB, right? Do I even need the smaller secondary one for the build to work with N64 cartridges?


werewolfslayr925

As requested, I took pictures of the ROM dumper.

A few explanations:

1. I know the buttons are put on in a weird way. I actually prefer them like that.
2. The clock generator is not soldered to the male pins. Instead, it is connected to the PCB by slipping the male pins into the appropriate holes in the clock generator and putting the male pins into the holes of the female pins. Could this be what's causing the problem? I get a charge when I test the connections between the SNES pins and the clock generator, but it's often half of what the charge is when I test the connection between the SNES pins and the Arduino pins.

Also, I just saw your post with the schematics, sanni. I'll take a look at them and see if I can figure them out.

tamanegi_taro

#519
Apr 17, 2018, 03:24 pm Last Edit: Apr 17, 2018, 03:29 pm by tamanegi_taro
Hi skaman,

Would you try my PC Engine / TG16 dumper code on sanni's cart reader?
It should be fully compatible with PCE - SNES adapter you have.

http://fast-uploader.com/file/7079526678715/

4 files included:
Cart_Reader.ino
PCE.ino
PCE_CRC_LIST.txt
pinout_pce.xls

Copy ino files in Sanni's V32A code. You need to replace Cart_Reader.ino.
Placing PCE_CRC_LIST.txt on root of SD card will enable verify and automatic game name identifier.

pinout_pce.xls is pinout.xls with PC Engine/TG16 pinout

Hope this works!
(Please try with your cheapest HuCARD first though...)

I need some physical adjustments with hardware(Socket were too tight), so I will release hardware later on...

tamanegi_taro

You forgot to place 47uF capacitor.

As requested, I took pictures of the ROM dumper.

A few explanations:

1. I know the buttons are put on in a weird way. I actually prefer them like that.
2. The clock generator is not soldered to the male pins. Instead, it is connected to the PCB by slipping the male pins into the appropriate holes in the clock generator and putting the male pins into the holes of the female pins. Could this be what's causing the problem? I get a charge when I test the connections between the SNES pins and the clock generator, but it's often half of what the charge is when I test the connection between the SNES pins and the Arduino pins.

Also, I just saw your post with the schematics, sanni. I'll take a look at them and see if I can figure them out.

skaman

Hi tamanegi_taro,

I tested your PCE sketch with my PCE/TG16 Plugin.  Both PCE and TG16 HuCards dump properly with the sketch.  I tested a few PCE HuCards and a couple TG16 HuCards.  I also tested the SF2' HuCard.

One item to note is that after dumping SF2', the reader displayed the "TG TurboChip menu" instead of the "PCE HuCard menu".  I tested the card twice and both times it returned to the TG menu.

BTW, your PCE_CRC_LIST is missing a HuCard that I recently dumped (and should be added to No-Intro):
Super Momotarou Dentetsu (Alternate)
CRC32: 69D52E7A
MD5: EF3F7D0333B5EE8F09068C6A1BED71AF
SHA1: E4C6129E98CF37FCE6CFC5352D112B1EC728D166

Nice job!

skaman

@werewolfslayr925:

The lack of proper connections to the Clock Generator could produce the problem you're having with the SPC7110 carts.  The clock signals are needed for the register commands used to map the different sections of the ROM.

I suggest you solder the pins to the Clock Generator.

Good Luck!

star1

Forgive my ignorance, but as long as I adapt the pinout (and provide 12v where needed), can I use this to program a 27c322? I can see the options in the "Flash.ino", but there is no other mention of it that I can find.

sanni

I started adding support for 27C322 eproms but both the code and the new 16bit eprom adapter are still very rough and need work.





I'm using a 2N2222 transistor to switch on and off a 12V step-up converter to provide the correct VPP voltage when needed.

Go Up