This is the documentation for the latest (main) development branch of HPM SDK. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

6.30. SDXC low-level API demo

6.30.1. Overview

The demo provides the following features:

  • Write the last sector and verify the data

  • Write the last 1024 sectors and verify the data

6.30.2. Board Setting

No special settings are required

6.30.3. Running the example

When the example runs successfully, the board shows the following menu, please input 1, 2, 3 or 4 for testing.

-----------------------------------------------------------------------------------
*                                                                                 *
*                   SD Card Low-level test demo                                   *
*                                                                                 *
*        1. Write & Read the last block                                           *
*        2. Write & Read the last 1024 blocks                                     *
*        3. Hot plug test                                                         *
*        4. SD Stress test (Write / Read 200MBytes)                               *
*                                                                                 *
*---------------------------------------------------------------------------------*