FM25W256, it was write protect first. 初期状態ではライトプロテクトがかかっていることに対応。 "The WREN command must be issued prior to any write operation." from FM25W256 datasheet.
Fork of Hello-FM25W256 by
Revision 4:e66d916797c5, committed 2017-01-07
- Comitter:
- ohneta
- Date:
- Sat Jan 07 16:27:38 2017 +0000
- Parent:
- 3:d4a2357f06e3
- Commit message:
- "The WREN command must be issued prior to any write operation." from FM25W256 datasheet.;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d4a2357f06e3 -r e66d916797c5 main.cpp --- a/main.cpp Sun Mar 06 09:43:24 2016 +0000 +++ b/main.cpp Sat Jan 07 16:27:38 2017 +0000 @@ -76,6 +76,8 @@ int main() { + f_ram.clear_write_protect(); + pc.printf("\nFM25W256 test program - write test? (y/n) "); if (pc.getc() == 'y') { write_test();