56.2. SDCard FATFS demo

56.2.1. Overview

The demo provides the following features:

  • Format an SD card with FAT32 filesystem

  • Create hello.txt

  • Read 1st line from hello.txt

  • Directy creation/deletion

  • Large file write test

56.2.2. Board Setting

No special settings are required

56.2.3. Running the example

When the example runs successfully, the board shows the following menu:

SD FATFS demo
-----------------------------------
1 - Format the SD card with FATFS
2 - Create hello.txt
3 - Read 1st line from hello.txt
4 - Directory related test
s - Large file write test
Others - Show menu