1 M27C322 Adapter
sanni edited this page 2023-04-21 17:49:25 +02:00

Important: This does currently not work!


27C322 Eprom adapter PCB:

image

Parts:

Salvage the parts from the two step-up converters and build the PCB like this:

image


Important: The EPROM flashing code is incomplete. Setting/resetting margin mode is missing. Margin mode is needed for long time data retention. Therefore it should be considered non-working in its current form.


First you need to ensure that the Cart Reader is powered by either a good USB port or a high-quality 5V phone charger with 1A or 2A but beware cheap Chinese phone chargers do not work while an Amazon branded 5V/1A does. So it really depends on the quality.
Also be aware when just powered by the battery module it does not flash reliably.

Then set up the Cartridge Reader's jumpers like so.

Insert the 27C322 into the EPROM adapter positioned all the way to the left.

image

Flip the two SMD switches on the adapter both to the bottom position.
Now plug the EPROM adapter into the cart reader so that the 27C322 EPROM is facing towards you.

In the main menu first select "Flashrom Programmer" and then choose "Eprom adapter".
To program the EPROM it needs to be erased with a UV EPROM eraser before inserting it into the Cart Reader, then do a blank check to ensure the erase was successful and finally select write to flash it with your ROM.
While writing a rom to the flashrom the led should blink constantly until the flashing process is completed.

The verify function is bugged right now, so if you get a verification error, simply switch the cart reader off and on again and manually verify the write process by reading the eprom to the sd card and using a hex editor on your PC to compare it against the source file.