Introduction
This example demonstrates basic read write to the eMMC/SD Card. The MMC instance and the media connected to it are selectable via Sysconfig.
The example writes known data to a particular offset in the media and then reads it back. The read back data is then compared with the written known data.
When both the comparisons match, test result is passed otherwise failed.
Supported Combinations
Parameter | Value |
CPU + OS | r5fss0-0 freertos |
Toolchain | ti-arm-clang |
Board | am62x-sk |
Example folder | examples/drivers/ospi/ospi_flash_io |
Steps to Run the Example
- When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
- When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
- Attention
- As the wake-up R5 is the device manager, it needs to be started by the SBL. So it can not be loaded through CCS. It should be flashed and booted through SBL.
See Also
MMCSD
Sample Output
[MMCSD RAW IO] Starting...
All tests have passed!!