V28B: Add reset to readmode before blankcheck for GBA repro with Intel flashrom

This commit is contained in:
sanni 2017-09-08 14:46:24 +02:00 committed by GitHub
parent 1562ed1ff8
commit 39d7e52509
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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()) {