mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-27 23:14:14 +01:00
V28B: Add reset to readmode before blankcheck for GBA repro with Intel flashrom
This commit is contained in:
parent
1562ed1ff8
commit
39d7e52509
@ -3,7 +3,7 @@
|
||||
|
||||
Author: sanni
|
||||
Date: 2017-09-08
|
||||
Version: V28A
|
||||
Version: V28B
|
||||
|
||||
SD lib: https://github.com/greiman/SdFat
|
||||
LCD lib: https://github.com/adafruit/Adafruit_SSD1306
|
||||
@ -34,7 +34,7 @@
|
||||
YamaArashi - GBA flashrom bank switch command
|
||||
|
||||
**********************************************************************************/
|
||||
char ver[5] = "V28A";
|
||||
char ver[5] = "V28B";
|
||||
|
||||
/******************************************
|
||||
Define Output
|
||||
|
@ -2377,6 +2377,13 @@ void flashRepro_GBA() {
|
||||
println_Msg(F("Erasing..."));
|
||||
display_Update();
|
||||
eraseIntel4000_GBA();
|
||||
delay(1000);
|
||||
resetIntel_GBA(0x8000);
|
||||
delay(1000);
|
||||
resetIntel_GBA(0x100000);
|
||||
delay(1000);
|
||||
resetIntel_GBA(0x200000);
|
||||
delay(1000);
|
||||
}
|
||||
else if (strcmp(flashid, "227E") == 0) {
|
||||
//if (sectorCheckMX29GL128E_GBA()) {
|
||||
|
Loading…
Reference in New Issue
Block a user