Simplified script for one-time programming of a N64 EEPROM #697
Replies: 2 comments 2 replies
-
Sure. To convert save to array: https://notisrac.github.io/FileToCArray/ I only had a 16K eeprom to test though. Save in example is for Perfect Dark, last 8 bytes don't get written, not sure if bug in the code or eeprom broken.
|
Beta Was this translation helpful? Give feedback.
-
I have just successfully reflashed a 100% savegame to EEPROM! On the first few attempts, the script got stuck reading the EEPROM - the serial monitor just printed 'Re' and then stopped. After trying it with another salvaged EEPROM from a donor cartridge, it worked perfectly! So my game's chip was indeed broken. Thanks a lot Sanni for your help :) |
Beta Was this translation helpful? Give feedback.
-
Hello everyone!
Ever since my N64 Mario Party savegame got corrupted, I have been in search of a solution to restore it. It was pretty much a 100% savegame with all of the mini-games unlocked, which was great for having friends over :(
My guess is that either the EEPROM got randomly corrupt, or the savegame got lost over time. After desoldering the chip (BK4D-NUS, I also have a BU9850 from a donor cartridge) I tried to read it with my programmer, but to no avail - I later found out that Nintendo used a proprietary method to talk to the EEPROM. This is what led me to the open source cartreader.
My plan is to 'write' (more like copy and adapt) a simplified script that is a sort of 'one-shot programmer' that it only programs the chip with a binary file of a 100% savegame. I have several Arduinos (Uno, Nano and Mega), an Adafruit clock generator and various breadboard equipment.
So now my question: is it possible to do this with my equipment and somewhat limited knowledge (I'm only a hobbyist)? I might build a cartreader at some point in the future, but for this first project I thought it would be a bit overkill :) I'd love to hear from anyone interested in helping out with this!
Yves
PS: This is the part of the cardreader's code responsible for writing to and reading from the N64's EEPROM, so this might be the section I'm looking for:
Beta Was this translation helpful? Give feedback.
All reactions