Commit Graph

110 Commits

Author SHA1 Message Date
sanni
b7c96ef0ed
V1.7: Add repro entries to SNES menu
These two new entries just forward the user to the flashrom functions inside of flash.ino.     
I have only tested custom-made 29F033 repros using original SHVC-1J3M-20 and SHVC-1A3M-30 PCBs as shown here: https://github.com/sanni/cartreader/wiki/Reflashing-SNES-Repros
2018-09-12 20:59:48 +02:00
sanni
b816918e70
V1.6: Add support for S29GL032M flashrom (byte mode) 2018-08-29 14:10:28 +02:00
sanni
540e698e7f
V1.5: Enable 27C322 burning code again
Needs a special eprom adapter that provides 6V VCC and 12V VPP while programming. This can be achieved with two step-ups and a transistor.
2018-08-24 16:48:35 +02:00
sanni
38aa8aad39
V1.4: Add support for MX29LV320 T/B TSOP48 2018-08-16 19:00:53 +02:00
sanni
3015b1037c
V1.3: Set byte pin to low in 8bit mode 2018-07-29 11:19:25 +02:00
sanni
32734db2cb
Add files via upload 2018-06-21 12:25:44 +02:00
sanni
904e23cecd
V1.2: CX4 support by skaman
Thanks alot :)
2018-06-21 11:38:42 +02:00
sanni
f7bd4878eb
V1.1: Add support for Intel 512M29EW (64MB) N64 repro
Haven't tested it myself but should work thx to BASSIX
2018-06-11 09:42:35 +02:00
sanni
40d2361855
V1.0: Change versioning to the more common #.# format 2018-05-05 20:58:49 +02:00
sanni
bec6426901
Update README.md 2018-05-05 20:56:33 +02:00
sanni
f8f78cc5a1
V33C: Fixed writing first 20 bytes of 27C322 eprom
Apparently the step-up converter needs a little delay before it can provide the 12V VPP.
The verify function still does not work though, I have no clue why.
2018-04-21 19:39:56 +02:00
sanni
f9c89d4666
V33B: Updated 27C322 timings
The first 10 words still do not get written though, not sure if I need something like a setup delay or if my eprom is broken.   
Too enable the eprom menu for testing 27C322 flashing change the following lines in Flash.ino:     
  // create menu with title and 3 options to choose from     
  unsigned char flashSlot;      
  // Copy menuOptions out of progmem      
  convertPgm(menuOptionsFlash, 3);      
  flashSlot = question_box("Select flashrom slot", menuOptions, 3, 0);
2018-04-21 17:14:11 +02:00
sanni
72a1a6d7c8
V33A: Accidentally left 27C322 eprom menu enabled
Eprom programming is still highly experimental and does not work 100% yet.
2018-04-21 14:23:13 +02:00
sanni
b77519d104 V33: Add PCE support by tamanegi_taro
Many thanks to tamanegi_taro, great work.
2018-04-18 16:58:02 +02:00
sanni
09d122369f
V32A: Add verifying ST M27C322 Eproms (beta) 2018-04-05 16:47:19 +02:00
sanni
45f67ed300
V32: Add writing ST M27C322 Eproms (beta)
Needs custom flash adapter with 12V step-up converter modul for VPP.   
5V VCC seems to work even though datasheet specifies 6.25V VCC while programming.
2018-04-04 22:20:53 +02:00
sanni
8f4e33e20b
V31A: Fix writing Game Boy custom MBC3 Flashcart with MX29F016 flashrom
These: https://www.jrodrigo.net/wiki/how-to-diy-a-gameboy-flash-cartridge-with-a-rom-adapter-board/
2018-04-03 16:45:45 +02:00
sanni
b37d95b3b5
V31: Add flashing in 16bit mode for 29LV160/320/640 flashroms 2018-04-02 20:23:31 +02:00
sanni
11a12f5926
Fix Copy&Paste error 2018-03-19 12:30:17 +01:00
sanni
2c2eb0e8bd
V30K: Add Momotaro Dentetsu Happy detection
and also the updated checksum calculation out of skaman's enhanced snes sketch
2018-03-19 12:24:13 +01:00
sanni
742e96151a
V30J: Fix SA1 sram write
Mayne thanks to Oatburner and skaman.
2018-03-12 13:58:03 +01:00
sanni
b369318a32
V30I: Add option to enable/disable N64 CRC32 checking
In Cart_Reader.ino line 71 change "boolean n64crc = 1" to "boolean n64crc = 0" to disable the CRC32 check when dumping roms. This is useful if you rather calculate the checksums on your much faster computer. Calculating the CRC32 is enabled by default now and can take quite some time.
2018-02-02 10:52:05 +01:00
sanni
0ba4923699
V30H: Fix MX29L3211 flashing as 16bit in 8bit mode 2018-01-09 23:36:09 +01:00
sanni
6bcc79fd88
V30G: Add N64 manual rom size and force save type menus and Spansion S29GL128N flashrom detection 2017-12-20 10:33:02 +01:00
sanni
8c6d0960fb
V30F: Fix writing MX29LV160
Reset pin needs to be connected to Reset of SNES slot.
2017-11-24 21:36:33 +01:00
sanni
76ae5c5408
V30E: Moved disabling interrupts out of the loop when reading/writing N64 eeproms
Hopefully this was the reason it sometimes froze at that point.
2017-11-22 12:44:18 +01:00
sanni
fa63471333
Add files via upload 2017-11-21 12:29:09 +01:00
sanni
21585eeb87
Update Cart_Reader.ino 2017-11-21 12:26:39 +01:00
sanni
8613f79382
V30D: Fixed dumping error with all japanese rom names and no game code either
Example cartridge: Super Family Tennis
2017-11-21 12:25:55 +01:00
sanni
13657e3a13
V30C: Removed Nintendo Power Menu entry
Nintendo Power SF Memory is now found under the SNES and Nintendo Power GB Memory under the Game Boy submenu.
2017-11-19 21:03:37 +01:00
sanni
0ab9f7f120
V30B: Add option to always start in a submenu
For example you can change "#define startMenu mainMenu" to "#define startMenu n64Menu" if you only need the N64 stuff.
2017-11-17 20:53:00 +01:00
Scott Smith
dc6ed42f14 Fix for games larger than 96 banks (Nintendo Power Fire Emblem 5 Thracia 776) 2017-10-28 19:27:25 -04:00
sanni
27b63819e5 V30: Add support for Fujitsu MSP55LV100S N64 repros and fix bug in Serial Monitor filebrowser
- The Fujitsu MSP55LV100S consists out of two Fujitsu MSP55LV512 which themselves are just Spansion S29GL256N flashroms. One flashrom is used for the high byte the other for the low byte.   
- You can now browse pages with the Serial Monitor's file browser just like you can with the OLED.
2017-10-22 13:32:14 +02:00
sanni
c119555ce7 V29D: Write mapping data of Nintendo Power GB Memory cartridges (DMG-MMSA-JPN) 2017-10-13 19:00:49 +02:00
sanni
2213f8483f V29C: Fixed writing Nintendo Power GB Memory cartridges (DMG-MMSA-JPN) 2017-10-12 23:51:47 +02:00
sanni
43ec1a423b V29B: Added warning when dumping GB Memory flash
Still have the bank switching error when writing, problem is located at line 2159. I can't switch the bank any time before since I need an uneven bank for the 0x5555 command and I can't switch afterwards or it will be too late and everything will be written to bank 1...
2017-10-11 23:42:07 +02:00
sanni
79346e3a51 V29A: Write first 0x7FFF bytes of GB Memory cart
Don't understand how to switch banks right now or more precise when to switch banks without killing off the buffered write sequence.
2017-10-11 20:57:34 +02:00
sanni
4bb76e01e2 V28I: Added an alternative ID for the Fujitsu MSP GBA Repros
Fujitsu MSP55LV128 and Fujitsu MSP55LV128N are the same flashrom but they have different ID's ...
2017-10-07 12:19:34 +02:00
sanni
e2b10ca316 V28H: Support for Fujitsu MSP55LV512 (64MB) and Intel 4400L0ZDQ0 (where the CPLD limits it to 32MB) N64 repros 2017-10-01 19:55:23 +02:00
sanni
8e8ff3262e V28G: Check N64 repro sector protection
Still trying to get the MSP flashrom repros working, hopefully mine will arrive soon so I can actually test revisions quicker
2017-09-21 12:57:09 +02:00
sanni
bda2f84553 V28F: Update version number after merge 2017-09-19 17:34:41 +02:00
sanni
f2e2196ab9 Merge branch 'master' into master 2017-09-19 17:21:14 +02:00
Scott Smith
198e3156c3 Changes needed to read Tengai Makyou Zero (SPC7110) based on skaman code
Also includes some code cleanup for reading
2017-09-18 20:21:41 -04:00
sanni
4d5cff1393 V28E: Added some untested flashrom types for GBA and N64
I don't have them myself so I can't test but maybe others can.   
Flashrom Programmer: Macronix MX29LV320 and MX29LV640 (connected as 16bit flashrom in 8bit mode)   
GBA: Intel 4400L0ZDQ0 (Only using the first 32MB)   
N64: Fujitsu MSP55LV100S and Macronix MX29LV640 (Fujitsu might have a different sector size)
2017-09-18 23:39:54 +02:00
sanni
684cb15fc9 V28D: Simplify GBA Logo Check
byte overflow in last commit
2017-09-15 18:13:46 +02:00
sanni
2a0ca1b236 V28D: Simplify GBA Logo Check 2017-09-15 17:51:41 +02:00
sanni
2846203b35 V28C: Add support for Fujitsu MSP55LV128 GBA repros
Almost the same as Macronix MX29GL128E but sector size and write buffer are half the size.
Data pins 0 and 1 are also swapped and it still needs 5V to erase correctly.
2017-09-14 23:09:14 +02:00
sanni
39d7e52509 V28B: Add reset to readmode before blankcheck for GBA repro with Intel flashrom 2017-09-08 14:46:24 +02:00
sanni
1562ed1ff8 V28A: Rewrite GBA repros with 16MB MX29GL128E flashrom (the ones with switched data pins)
The whole GBA code is currently a little bit buggy, so for dumping roms you propbably should stay on the last somewhat stable release V27D. 
Reflashing only seems to work with 5V. Probably out of the same reason why some real carts don't work with V28 ... bad read/write timings.

I also might have broken support for the Intel flashrom I added in the last commit...
2017-09-08 01:09:42 +02:00
sanni
63b239d27e V28: Rewrite GBA repros with 32MB Intel 4000L0YBQ0 flashrom
There is still a bug left when it comes to resetting the flashrom to read mode since I can't find the datasheet to look up the partition sizes. So it might be that the verifying process fails even though the flashing was successful. In this case remove the GBA repro for a few seconds then just dump the rom and compare if the write really failed.
2017-08-16 16:08:00 +02:00