mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-30 00:14:15 +01:00
Created Reflashing N64 Repros (markdown)
parent
b56ad79269
commit
4f19061271
54
Reflashing-N64-Repros.md
Normal file
54
Reflashing-N64-Repros.md
Normal file
@ -0,0 +1,54 @@
|
||||
Setup the Cart Readers configuration switches like so:
|
||||
|
||||
![image](https://dl.dropboxusercontent.com/s/z3o707gt6e0pj33/flash_jumper_3V3.jpg?dl=1)
|
||||
|
||||
For the repro to be flashable with the OSCR it needs to have a PCB with an Altera Max II CPLD and Spansion S29GL256N or MX29LV640 flashroms.
|
||||
![g_w9kni555P](https://github.com/sanni/cartreader/assets/19169494/175caa23-13c2-45de-beb2-5b0ca21fdd65)
|
||||
|
||||
The repro cart needs to have the same CIC and save type as the ROM you want to flash and the ROM needs to be in Z64 file format.
|
||||
[Here](http://n64.icequake.net/mirror/www.elitendo.com/n64/usa_boot_save_faq.html) is a list of all the games and their save and cic type.
|
||||
|
||||
### Changing the repro to PAL:
|
||||
The repro needs to be the same region as your console or else it won't boot.
|
||||
On the PCB there is a solder jumper marked with J1. If you bridge the middle(PIN3) and the lower(GND) pad together then the ultraCIC will be switched to PAL. But make absolutely sure that PIN3 is **not** connected to VCC(red in the picture) by default, if that's the case you need to cut its connection to VCC before you connect it to GND. Check with a multimeter after everything is done and make sure that VCC and GND are not shorted.
|
||||
![palswitch](https://github.com/sanni/cartreader/assets/19169494/642db5c9-8f40-4ae6-b86c-f5794fac5a23)
|
||||
|
||||
### Reflashing the ultraCIC:
|
||||
You can also re-flash the Attiny25 to a different CIC type using an Arduino Uno running [this sketch by Adafruit](https://github.com/adafruit/ArduinoISP).
|
||||
Don't forget to connect Pin 9 of the Arduino Uno to Pin 2 of the ultraCIC to provide a clock signal.
|
||||
|
||||
![image](https://dl.dropboxusercontent.com/s/umuau0ctbi1orde/arduinoispreflash.jpg?dl=1)
|
||||
|
||||
![image](https://dl.dropboxusercontent.com/s/dp4804tihn7qeky/cicrepro.jpg?dl=1)
|
||||
|
||||
First read out the Attiny25's current code in binary form. Since you most likely already have the Arduino IDE installed we will use the included avrdude for that.
|
||||
Just create a *.bat file with this content, you have to change COM6 to whatever COM port your Arduino got assigned:
|
||||
`"C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe" -C "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -c arduino -P COM6 -b 19200 -p t25 -U flash:r:ultracic_read.bin:r`
|
||||
`pause`
|
||||
|
||||
To change the CIC type just edit the value at Offset 0x38 with an hexeditor:
|
||||
0x60 = 6102
|
||||
0x61 = 6103
|
||||
0x62 = 6106
|
||||
0x63 = 6101
|
||||
0x64 = 6105
|
||||
0x68 = 7101
|
||||
0x69 = 7103
|
||||
0x6A = 7106
|
||||
0x6B = 7102
|
||||
0x6C = 7105
|
||||
|
||||
![image](https://dl.dropboxusercontent.com/s/nfw9vz1wgb6cb34/cictype.jpg?dl=1)
|
||||
|
||||
As an alternative you can also compile the switchable ultraCIC II [from its source code](https://krikzz.com/forum/index.php?topic=3450.0)
|
||||
|
||||
Next create a second *.bat file with this content to perform the flashing, once again you have to adjust COM6 to whatever COM port your Arduino got assigned and also change the filename according to your hex file:
|
||||
`"C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe" -C "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -c arduino -P COM6 -b 19200 -p t25 -U flash:w:ultracic.bin`
|
||||
`pause`
|
||||
|
||||
### Adding an eeprom chip:
|
||||
If your repro only has a SRAM save chip you can salvage an eeprom chip out of a real N64 game and solder it into your repro like that:
|
||||
|
||||
![image](https://dl.dropboxusercontent.com/s/a9m1io3xu7mix54/eeptorepro.jpg?dl=1)
|
||||
|
||||
![image](https://dl.dropboxusercontent.com/s/ebr9oz6adftks4p/eeptorepro2.jpg?dl=1)
|
Loading…
Reference in New Issue
Block a user