Closed eiselekd closed 4 years ago
Hi, adding a reset cmd before reading the ID seems to be needed by my setup:
diff --git a/FlashDevice.py b/FlashDevice.py index cf94610..4637f4d 100644 --- a/FlashDevice.py +++ b/FlashDevice.py @@ -243,6 +243,8 @@ class NandIO: return self.Slow def GetID(self): + self.sendCmd(self.NAND_CMD_RESET) + time.sleep(0.1) self.sendCmd(self.NAND_CMD_READID) self.sendAddr(0,1) id=self.readFlashData(8)
// Greetings Konrad
Thanks for adding, this issue helped me out a lot.
After adding this line I got the ID values I was expecting
Applied with https://github.com/ohjeongwook/DumpFlash/commit/4761dfc00822114092facb720287b1bf53f3f759
Hi, adding a reset cmd before reading the ID seems to be needed by my setup:
// Greetings Konrad