sanni / cartreader

A shield for the Arduino Mega that can back up video game cartridges.
GNU General Public License v3.0
2.23k stars 226 forks source link

Flashrom Progammer : Can't flash + Menu error 255 #777

Closed Slyazku closed 1 year ago

Slyazku commented 1 year ago

When using the flashrom PCB adapter with a 29L3211 inside, plugged into the SNES port, I've got no result. Blanckcheck, reading, etc takes 0sec and dumped files are blank. When the first operation is complete, and after "Press Button..." prompt, I've got a "MenuError Mode = 255 Press BUtton..." Then to the tiel screen.

Did someone managed to flash a flashchip with 12.4 HW5 ?

Thanks !

sanni commented 1 year ago

There was an error in the menu resulting in the flash ID function being skipped. Fixed now.

Also since there are currently no HW4/5 flash adapters you have to modify the HW3 adapter:

(you need to scratch away the solder mask of the edge connector pins to expose the copper to solder to)

flashadapterhw5 IMG_2301 IMG_2302

OSCR HW5 V12.5

Flash ID: C2F9
MX29L3211 detected
ATTENTION 3.3V

Erasing Flashrom
Please wait...
Flashrom erased
Operation took : 0s

Blankcheck
Please wait...
Flashrom is empty
Operation took : 24s

Flashing file 
//4MB_Test.sfc
Verifying...
Flashrom verified OK
Operation took : 158s
Slyazku commented 1 year ago

Thanks ! Will try it asap ! (when the corrected code will be avaliable ^^)

sanni commented 1 year ago

You can update to the current github code like explained here: https://github.com/sanni/cartreader/wiki/Troubleshooting#updating-to-the-latest-github-code

Slyazku commented 1 year ago

Thanks ! I may be late but did you plan to make the eeprom section appear again in the wiki, since the menu is able to do it ?

sanni commented 1 year ago

You can always enable the eprom menu option by setting #define enable_FLASH16 in config.h line 108

I have updated the M27C322 wiki entry with the notion that it doesn't work, just so people don't order it and get disappointed.