test program for SPI_M25PE20 library
Dependencies: SPI_M25PE20 mbed
At start up the program shows the list of available commands
起動すると、使用出来るコマンドの一覧が表示されます。
To see the contents of the first 256 bytes of memory, type
dump 0x00
最初の256バイトを表示させるのには dump 0x00 と入力してください。
Let's write a value of 0xA5 to address 0x0F
write 0x0F 0xA5
dump 0x00
先ず、アドレス 0x0F に 0xA5 を書き込みます。 write 0x0F 0xA5
その結果を再度 dump 0x00 コマンドで表示させると
Now let's erase the page and confirm it's done by typing
pe 0x00
dump 0x00
それでは、ページを消去後、ちゃんと消去されたことを確認します。