AM62x MCU+ SDK  09.02.00
GPMC Flash IO

Introduction

This example demonstrate's basic read, write and erase to the Parallel NAND flash using GPMC configured in polled mode of operation. APIs from flash driver are used to read, write and erase to the flash. The flash APIs call the underlying GPMC APIs for read, write and erase function.

The example writes known data to a particular offset in the flash 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/gpmc/gpmc_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

GPMC

Sample Output

Shown below is a sample output when the application is run,

Starting GPMC application
All tests have passed