Hardware requirements
Mini/micro USB cable
MIMXRT1060-EVKC board
Personal Computer
Board settings
No special settings are required.
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
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 demo runs successfully, the log would be seen on the OpenSDA terminal like:
SEMC SDRAM Example Start!
SEMC SDRAM Memory 32 bit Write Start, Start Address 0x80000000, Data Length 4096 !
SEMC SDRAM Read 32 bit Data Start, Start Address 0x80000000, Data Length 4096 !
SEMC SDRAM 32 bit Data Write and Read Compare Start!
SEMC SDRAM 32 bit Data Write and Read Compare Succeed!
SEMC SDRAM Memory 16 bit Write Start, Start Address 0x80000000, Data Length 4096 !
SEMC SDRAM Read 16 bit Data Start, Start Address 0x80000000, Data Length 4096 !
SEMC SDRAM 16 bit Data Write and Read Compare Start!
SEMC SDRAM 16 bit Data Write and Read Compare Succeed!
SEMC SDRAM Memory 8 bit Write Start, Start Address 0x80000000, Data Length 4096 !
SEMC SDRAM Read 8 bit Data Start, Start Address 0x80000000, Data Length 4096 !
SEMC SDRAM 8 bit Data Write and Read Compare Start!
SEMC SDRAM 8 bit Data Write and Read Compare Succeed!
SEMC SDRAM Example End.
Note: Examples can’t be downloaded again after dowmloading IAR flexspi_nor_debug/flexspi_nor_release target. Please erase flash by serial download mode(SW7:0001b). This issue will be fixed in later release.