NuMaker SD-File-System with SD mode (deprecated after mbed OS 5.4)

README.md

Committer:
shliu1
Date:
2016-12-15
Revision:
5:de77e9636ac0
Parent:
4:8a6db27b798c

File content as of revision 5:de77e9636ac0:

# Getting started SD card with file system on mbed OS


### Import NuMaker-mbed-SDFileSystem-example from on-line IDE
1. Please choose Nuvoton NuMaker-PFM-XXX as your target platform.
2. Please press the left-up icon "New", then choose "NuMaker SD-File-System with SD mode" from the template list.
3. Your NuMaker-mbed-SDFileSystem-example program is existed.

#### Now compile
Please press compile icon.

#### Burn Code & Execute
1. Connect the board NuMaker-PFM-XXX with your PC by USB cable, then there will be one "mbed" disk.
2. Copy the built binary file into "mbed" disk on you PC.
3. Press device's reset button to execute, and you could get the below log by uart console with baud rate 112500.
-------------------------------------------------------------------------------
Hello World!
Create A Dir!
Create A File!
Close The File!
Goodbye World!
--------------------------------------------------------------------------
   The code will create one file sdtest.txt within the folder mydir within micro SD card. the content is
   "Hello, SD Card write operation in mbed platform !"