1MB version

Dependencies:   mbed EEPROM USBDevice

Files at this revision

API Documentation at this revision

Comitter:
muraguchi
Date:
Wed Feb 10 03:45:12 2021 +0000
Parent:
2:5895d66ce410
Commit message:
Comment

Changed in this revision

RawNAND.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 5895d66ce410 -r 28ceea26c918 RawNAND.cpp
--- a/RawNAND.cpp	Wed Feb 10 01:11:07 2021 +0000
+++ b/RawNAND.cpp	Wed Feb 10 03:45:12 2021 +0000
@@ -1,21 +1,6 @@
 #include "RawNAND.h"
 
-// CEB
-// CLE
-// ALE
-// WEB
-// REB
-// RBB
-// WPB
-// IO1
-// IO2
-// IO3
-// IO4
-// IO5
-// IO6
-// IO7
-// IO8
-
+// TODO: Replace wait_us(int) to wait_ns 
 
 RawNAND::RawNAND(PinName ceb, PinName cle,
                  PinName ale, PinName web,
@@ -253,7 +238,7 @@
         __NOP();    
     }
 
-    // 1ST READ COMMAND (0x60)
+    // 1ST ERASE COMMAND (0x60)
     _ceb = 0;
     _cle = 1;
     _ale = 0;
@@ -290,7 +275,7 @@
     // wait hold time : max(tALH,tDH,tWH)
     wait_us(tWH_US);
 
-    // 2ND READ COMMAND (0xD0)
+    // 2ND ERASE COMMAND (0xD0)
     _cle = 1;
     _ale = 0;
     _web = 0;