flexspi_octal_edma_transfer_unify#
Overview#
The flexspi_octal_edma_transfer_unify example shows how to use flexspi driver with edma:
In this example, flexspi will send data and operate the external nor flash connected with FLEXSPI. Some simple flash command will be executed, such as Write Enable, Erase sector, Program page. Example will first erase the sector and program a page into the flash, at last check if the data in flash is correct.
Supported Boards#
EVK9-MIMX8ULP
Hardware requirements
Mini/micro USB cable
MIMX8ULP-EVK/EVK9 board
Personal Computer
Board settings
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
After power on board, stop the uboot and ensure the board will not autoboot to linux.
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
FLEXSPI edma example started!
JEDEC id bytes: c8, 68, 19
Erasing Serial NOR over FlexSPI...
Erase data - successfully.
Program data - successfully.
EVK-MIMX8ULP
Hardware requirements
Mini/micro USB cable
MIMX8ULP-EVK/EVK9 board
Personal Computer
Board settings
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
After power on board, stop the uboot and ensure the board will not autoboot to linux.
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the example runs successfully, you can see the similar information from the terminal as below.
FLEXSPI edma example started!
JEDEC id bytes: c8, 68, 19
Erasing Serial NOR over FlexSPI...
Erase data - successfully.
Program data - successfully.