1.6 SFDP Flash Driver - Flash Read Write in Quad IO Mode

This example application shows how to use the SFDP Flash driver to perform block operations on JEDEC-compliant NOR Flash memory in SQI mode.

Description

This application uses the SFDP driver to Erase/Write/Read on JEDEC-compliant NOR Flash memory using the peripheral library configured in SQI mode.

The application consists of APP_SFDP_Tasks() which is called through SYS_Tasks() routine.

Downloading and Building the Application

To clone or download this application from GitHub, go to the main page of this repository and then click Clone button to clone this repository or download as zip file.

Path of the application within the repository is apps/driver/sfdp/sfdp_sqi_read_write.

To build the application, refer to the following table and open the project using its IDE.

Project NameDescription
pic32ck_gc01_cult.XMPLAB X project for PIC32CK GC01 Curiosity Ultra Development Board

Setting Up the Hardware

The following table shows the target hardware for the application projects.

Project NameDescription
pic32ck_gc01_cult.XPIC32CK GC01 Curiosity Ultra Development Board

Setting Up PIC32CK GC01 Curiosity Ultra Development Board

  • Connect the Debug USB port on the board to the computer using a micro USB cable

Running the Application

  1. Build and program the application using its IDE.
  2. Reset the device by power cycle.
  3. LED is turned ON when the data read from JEDEC-compliant NOR Flash matches with the data written in it.
Refer to the following table for LED name: