Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - skaman

Pages: [1] 2
1
General Discussion / Re: Progress on N64/GBA save support?
« on: 19/Aug/2017 06:27:12 PM »
If you want to use your SRAM save in the PJ64 emulator, then you'll need to save swap the file.

You can use saturnu's ED64-Saveswap program:  http://krikzz.com/forum/index.php?topic=1396.0

If have an Ocarina of Time save and want to check it without using an emulator, you can use this page:  https://bkacjios.github.io/OOT-Save-Converter/

After saveswapping the OOT .SRA, then use the first option "Import save file".  The save data will show in the bottom.  Click on the File# to see the details on each save slot.

I'm going to work on adding FlashRAM save reads.

2
General Discussion / Re: Progress on N64/GBA save support?
« on: 18/Aug/2017 08:38:57 AM »
N64 SRAM save support is complete.  I'm sending out the BETA firmware to the members of the test group.

3
General Discussion / Re: SNES Enhanced Cart Support (BETA)
« on: 18/Aug/2017 08:37:14 AM »
BETA testing of the SNES Enhanced code has been successful with the help of a solid group of testers.

I'll be finalizing the firmware and posting final versions for public download.

Many thanks to all of the testers!

4
General Discussion / Re: Progress on N64/GBA save support?
« on: 16/Aug/2017 10:09:31 AM »
N64 cart SRAM reads are working.  Added a lookup table to identify the SRAM carts by cart ID.  I still need to add Dezaemon 3D's large SRAM then I'll be working on the SRAM writes.

5
General Discussion / Re: Progress on N64/GBA save support?
« on: 14/Aug/2017 07:04:17 PM »
Since many people have asked about the N64 saves, I took a look at the SRAM and it is possible to read out the saves.  The timing used to read out the save data seems critical so it isn't working 100% perfect at the moment.  If I can get the routines right, then I'll open a new BETA firmware test.

6
General Discussion / Re: Progress on N64/GBA save support?
« on: 11/Aug/2017 04:12:55 AM »
The Arduino Cart Reader can backup all of your N64 saves.

Current build info is here:  https://github.com/sanni/cartreader/

Project started here:  https://forum.arduino.cc/index.php?topic=158974.0

All of my SNES enhanced code that was recently added to the Retrode started on the Arduino reader.


7
Support / Re: Windows 10 and the Retrode 2
« on: 09/Aug/2017 05:21:07 AM »
AtlibUusbDfu.dll should be in the FLIP folder under \bin

For example,  "C:\Program Files (x86)\Atmel\Flip 3.4.7\bin\AtLibUsbDfu.dll"

8
This possible solution was posted in another thread:
Hi!

I had this problem too, looks like it is a common problem not limited to the retrode.
Following the instructions there brought me f├║rther, problem is described there:
 
http://blogs.msdn.com/b/usbcoreblog/archive/2013/11/26/why-does-my-usb-device-work-on-windows-8-0-but-fail-on-windows-8-1-with-code-43.aspx, go straight to the Workaround! You can search for the following sentence: "To apply the workaround for a specific device, add a REG_DWORD value named SkipBOSDescriptorQuery that"

(Though I am not done with flashing yet, at least no usb error and usb connection can be opened.)

edit: Flashing is now working.

9
General Discussion / Re: SNES Enhanced Cart Support (BETA)
« on: 22/Jul/2017 07:28:25 AM »
I knew when I posted that I haven't made any changes to the BETA firmware that something would come up and force changes.

I'm working on a couple bugfixes. 

I forgot about shifting the mapping for large LoROMs > 24Mbits so I've had to work on that.  If you use the normal LoROM mapping starting in Bank 0x00, then you lose data at the end of the ROM due to running into the WRAM space.  For these large ROMs, you start reading the ROM from Bank 0x80.  This should fix FE Thracia 776.

I'm working to add support for the 1024Kb SRAM.  I picked up a couple of SA-1 carts with 1024Kb SRAM (Daisenryaku Expert WW2 and Kakinoki Shougi).  The SRAM read code changes that I had previously implemented only worked up to 512Kb.  The variables used by the base SRAM code lose the higher bits so I have to work around the problem.

Since I was back writing code, I went ahead and added the JRA PAT/SPAT4 Flash save reads.  The Flash saves are 1024Kb so a similar fix as the 1024Kb SRAM except that the mapping is different.  The save data is pretty much useless like the carts themselves but I added it for completeness.

10
General Discussion / Re: SNES Enhanced Cart Support (BETA)
« on: 19/Jul/2017 08:02:46 AM »
I've sent you a PM with the link to the current BETA.  Anyone that is interested in BETA testing should send me a PM.

The current BETA firmware has been tested on both Retrode versions 1 and 2.  All of the features that I set out to implement have been added to the firmware.  The last few BETA versions were strictly bugfixes.  I haven't made any changes to the firmware for a couple of weeks.

I debated releasing the current BETA but I held off while I explored the SA-1 SRAM writes.  Another minor reason that I held off on releasing the firmware is that I recently acquired a JRA PAT cart with its unique Flash save mapping.  I should be receiving some of the other JRA PAT variants along with a SPAT4 cart so I'm contemplating adding support to read the flash data.  I'm not sure if it's worth the effort as the JRA PAT carts are pretty useless.

11
General Discussion / Re: SNES Enhanced Cart Support (BETA)
« on: 17/Jul/2017 07:16:54 PM »
No worries.  There's no modifications needed on the Retrode.  I'm using the adapter on a Dragonbox Retrode with only the center 46 pin connector.  I sent a prototype adapter to one of the beta testers and hope to confirm compatibility with the other Retrode hardware versions.

The Enhanced Cart Adapter PCB could be modified to remove the extra pins on the lower half.  I left the full length connector on the bottom because the cart adapter can also be used with the Arduino based cart reader and potentially other devices.  Most of my code development was done on the Arduino based cart reader.

For the extra pins, there's only 2 pins that we need to connect:  Pin 1 Master CLK and Pin 33 REFRESH.  Master CLK is connected to the 21.47727MHz clock (or substitute 20MHz).  REFRESH is connected to GND to enable proper SA-1 reads.

One other extra pin is notable, Pin 2 EXPAND is used for the BS-X cart.  The cart adapter doesn't do anything with Pin 2 since I had no way to control it.  Without Pin 2 we don't have proper Memory Pak control using the BS-X cart but the beta firmware works around this to allow Memory Pak reading on the BS-X cart.  The lack of EXPAND would only be significant if I decided to add the Memory Pak write code to the firmware.

12
General Discussion / Re: SNES Enhanced Cart Support (BETA)
« on: 11/Jul/2017 07:41:12 PM »
Thanks for the tips.  I'm sure there's a lot of room for improvement in the layout.  I'm a novice at this stuff so I tried to keep things simple for me to build.  I gave no consideration to what it would take to put the adapter into production (it never even crossed my mind!).

Assembling the cart connector is a hassle.  The Aliexpress connector has a slot on the bottom that allows the PCB to sit in.   Unfortunately, the pins are too long so each one has to be trimmed and then bent to mate to the board.  I have a few samples of the MoreThanAll full length connector but I haven't built any adapters with them.  The MoreThanAll connector lacks the slot on the bottom so it butts against the PCB.  The pins are shorter and don't need to be trimmed.

The casing for the adapter could be the biggest obstacle to production.  I was initially going to use a cutdown aftermarket universal case but when I shortened the PCB in this latest version, I made it too short and omitted a notch needed to secure the PCB in the universal shell.  I ended up going through some of my spare cases and the Super Gameboy cases work with slight modifications.  The current PCB outline isn't a perfect match for the Super Gameboy shell as it needs a notch on the left and should have a small extension on the right.  A little filing makes things fit.  An original enhanced cart shell should work with the current board but I didn't have any spare ones to cut up.

I'm hoping that a version of the adapter can be developed and put into production.  At least, I've confirmed that this latest version works properly.

BTW, there might be a future revision to the circuit.  I'm still working to come up with a solution for the SA-1 SRAM writes.  The CPU CLK needs to be active to set the SA-1 registers to write the SRAM(BW-RAM).  The problem is that the CPU CLK can't be on all the time as it messes up the reads.  I think the CIC CLK will work as a substitute for the proper CPU CLK so we won't need another clock source.  I'm trying to think of a way to control the CPU clock using some gates and a switch.  Not sure if it is possible but I'm working on it.

13
General Discussion / Re: SNES Enhanced Cart Support (BETA)
« on: 10/Jul/2017 04:05:37 AM »
Finally got my small batch of the latest PCB version for the Enhanced Cart Adapter.  Using a handcut shell from a SNES Super Gameboy.

Parts mounted are simple:
Epson SG-615P in 3.072MHz
Epson SG-615P in 20MHz
PIC12F629 programmed with ikari's snescic-lock-resync.hex
3 100nF decoupling caps
1 10Kohm resistor
SNES cart connector from Aliexpress








14
General Discussion / Re: SNES Enhanced Cart Support (BETA)
« on: 01/Jul/2017 02:30:50 AM »
Interesting preliminary results. 

The CIC CLK is the key for cart recognition and proper reads.  I tested the frequencies around the reference 3.072MHz and both 2MHz and 4MHz appear to work.  Outside this range, the data becomes invalid.

The Master CLK appears to be valid within a wide frequency range. The Master CLK must be present for the SA-1 and Nintendo Power carts to work.  The lower limit seems to be around 4MHz.  I didn't bother to test the upper limit.

There's a possibility that a single frequency could be used for both clocks.  I ran the CIC CLK and Master CLK at 4MHz and the SA-1 and NP carts appeared to work on my Arduino reader, however, using a single 4MHz VCXO on one of my Enhanced cart adapters produced inconsistent results.  A slightly higher clock might work but you're operating at the edges for the two frequency ranges. I definitely wouldn't use a single clock for something that goes into production.

At least we now have an idea of the frequency options if the 3.072MHz is unavailable.  Like I mentioned previously, I have a decent quantity of the 3.072MHz VCXOs if any early adopters need one.  For the Master CLK, use the easy to find 20MHz VCXO as a substitute.

15
General Discussion / Re: SNES Enhanced Cart Support (BETA)
« on: 26/Jun/2017 06:42:43 PM »
I'll run some tests with my Adafruit Clock Generator setup to see what clocks work.  I know the Master CLK is pretty lenient.  I've run it at 16MHz, 20MHz, and 21.47727MHz.  I think the CIC CLK frequency is the key.  I'll try to test the limits of the range where it works.  With the Adafruit, there's a frequency fine tuning correction range where the CIC works but I didn't test the actual frequency limits.

As far as redesigning the circuit, I'll leave that up to the experts.  If people want to build my version of the adapter, then I can supply them with the 3.072MHz part.  I should have enough of the part to supply the early adopters.

Pages: [1] 2