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.
Parameter | Value |
---|---|
CPU + OS | r5fss0-0 freertos |
Toolchain | ti-arm-clang |
Board | am62x-sk |
Example folder | examples/drivers/gpmc/gpmc_flash_io/ |
Shown below is a sample output when the application is run,