Hardware requirements
Micro USB cable
MIMXRT685-AUD-EVK board
Personal Computer
Board settings
Prepare the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J5) on the 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.
Launch the debugger in your IDE to begin running the demo.
Running the demo
The log below shows the output of the iap boot example in the terminal window and system will boot from the selected media:
===== IAP Boot example, input the parameter: =====
Boot mode (0: master, 1: ISP) : 0
Boot interface (0: USART 1: I2C 2: SPI 3: USB HID 4:FlexSPI 7:SD 8:MMC) : 4
Boot image index (0-1) : 0
Boot FlexSPI instance (0-3):
FlexSPI PortA1 = 0
FlexSPI PortB1 = 1
FlexSPI PortA2 = 2
FlexSPI PortB2 = 3
Selection : 1