AM64x MCU+ SDK  09.02.01
GPMC NAND Flash

Introduction

This example demonstrate's basic read write erase to the Parallel NAND flash using GPMC configured to operate in DMA mode of operation. APIs from flash driver are used to read, write and erase to the flash. The underlying reads and writes are taken care by the flash APIs.

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. By deafult ELM is enabled in the example. When both the comparisons match, test result is passed otherwise failed.

An external GPMC NAND flash needs to be connected to the device.

Supported Combinations

Parameter Value
CPU + OS r5fss0-0 nortos
Toolchain ti-arm-clang
Board am64x-evm
Example folder examples/drivers/gpmc/gpmc_flash_io/

Steps to Run the Example

See Also

GPMC

Sample Output

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

All tests have passed