mirror of
https://github.com/sanni/cartreader.git
synced 2025-02-17 13:36:19 +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
|
Author: sanni
|
||||||
Date: 2017-09-08
|
Date: 2017-09-08
|
||||||
Version: V28A
|
Version: V28B
|
||||||
|
|
||||||
SD lib: https://github.com/greiman/SdFat
|
SD lib: https://github.com/greiman/SdFat
|
||||||
LCD lib: https://github.com/adafruit/Adafruit_SSD1306
|
LCD lib: https://github.com/adafruit/Adafruit_SSD1306
|
||||||
@ -34,7 +34,7 @@
|
|||||||
YamaArashi - GBA flashrom bank switch command
|
YamaArashi - GBA flashrom bank switch command
|
||||||
|
|
||||||
**********************************************************************************/
|
**********************************************************************************/
|
||||||
char ver[5] = "V28A";
|
char ver[5] = "V28B";
|
||||||
|
|
||||||
/******************************************
|
/******************************************
|
||||||
Define Output
|
Define Output
|
||||||
|
@ -2377,6 +2377,13 @@ void flashRepro_GBA() {
|
|||||||
println_Msg(F("Erasing..."));
|
println_Msg(F("Erasing..."));
|
||||||
display_Update();
|
display_Update();
|
||||||
eraseIntel4000_GBA();
|
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) {
|
else if (strcmp(flashid, "227E") == 0) {
|
||||||
//if (sectorCheckMX29GL128E_GBA()) {
|
//if (sectorCheckMX29GL128E_GBA()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user