main.c
Default mainpagebasic-norflash-projectmain.c
Description Overview  
Description
Purpose
This file contains all the specific code for the basic-norflash-project. It tests the external NorFlash chip connected through the External Bus Interfac (EBI) by erasing and writing each one of its blocks.

Usage
  1. Configures the EBI for NorFlash access at 48MHz with BOARD_ConfigureNorFlash48MHz().
  2. Identify norflash chip by detect CFI interface using NorFlash_CFI_Detect().
  3. Get Norflash device description such as memory size, byte and word configuration, block configurations using various CFI releated functions.
  4. Erases the specified block of the device using NORFLASH_EraseSector().
  5. Write data to specified address of the device using NORFLASH_WriteData().
  6. Read data to specified address of the device using NORFLASH_ReadData().

See also