Programming the V2C-DAPLink QSPI using drag and drop
To program the V2C-DAPLink Quad Serial Port Interface (QSPI) using the drag and drop mechanism:
- Configure the Arty Artix 7 (A7) board with a valid Cortex®‑M1 processor design. Program the Arty A7 board with the reference MCS flash file. For more information on loading the flash file, see Loading the flash file. This is required for step 6 in this procedure which causes a suitable image to be loaded into the FPGA which supports V2C-DAPLink.
- Connect the V2C-DAPLink board to the Arty A7 board headers.
- You must ensure that the V2C-DAPLink jumper is connected to J2, Cfg.
- You must power the Arty A7 board by connecting the USB to the host.
You must power the V2C-DAPLink board by connecting the USB to the host.
- You can now connect a UART terminal program to both USB serial ports that the base Arty board and V2C-DAPLink board create. Both UARTs have settings of Baud rate 115,200 8 bits One stop No parity . With the J2 CFG jumper fitted, the terminal output from the FPGA is directed to the V2C-DAPLink UART. With J2 removed, the output is directed to the Arty board UART.
- Press PROG on the Arty A7 board to ensure that it has configured the FPGA.
- Press nRST on the V2C-DAPLink board to perform a clean reboot of the software that is programmed to the V2C-DAPLink QSPI device. The V2C-DAPLink might be programmed with a Cortex‑M -compatible software image, however, this might not match the hardware design which you are using.
The host displays a file window similar to the following figure:
Figure 5-3 File window
The V2C-DAPLink QSPI can be programed with the
qspi_a7.binfile generated as part of the software compilation flow. For more information, see Software design post processing. This
.binfile is automatically produced when the software is compiled and it is located in
Drag and drop
qspi_a7.binonto This PC\MBED V2C.
Fail.txt. After the drag and drop file transfer has completed, the new software runs when the processor is reset. For example, when the nRST button on the V2C-DAPLink board is pressed.