2.7 Plus1 Platform development practice preparation

2.7.1 Hardware platform preparation

1)Before getting started, you should first make sure that the necessary hardware is available. This mainly includes the Plus7021 development kit and a PC for debugging and simulation

2)PC (computer)

Operating system windows7 / 10; requires 500G of disk space, and the memory is more than 8G, which is convenient for the operation of Xilinx FPGA development software VIVODO。

2.7.2 Hardware platform connection

1) The serial port and SWD debugging tool driver are installed as shown below

Usually after the Installation of the SP7021 IDE integrated development environment, the debug tool is connected to the USB socket of the computer, and the relevant drivers are automatically installed, as shown in the following illustration

Red box 1 indicates that the computer system recognizes the serial port and assigns the serial slogan
COM5 (Note: Due to computer compatibility, the serial slogan varies from computer to computer)
Red box 2 indicates that the computer system recognizes the J-Link device;
Note: Due to computer compatibility, if the above driver can not be installed automatically and correctly,
the driver needs to be updated manually, as follows

The red box content is to select the path that drives the installation directory

2) The serial port and SWD debugging interface are connected as shown below

Pay attention to avoid plugging and unplugging when the development board has power. Be sure to turn off the power and connect the plug cable, as shown below

 

 

2.7.3 Hardware platform working mode setting

2.7.3.1 Normal mode

Both DIP switches 1 and 2 are OFF. After the platform is powered on, the built-in bootloader starts to load and solidify the EMMC program to DRAM and execute

 

2.7.3.2 Program burning mode

DIP switch 1 is ON and DIP switch 2 is OFF. After the platform is powered on, the built-in bootloader will start to detect whether the platform is connected to a U disk. Then read the USB disk ISPBOOOT.BIN file and burn it to the EMMC memory on the platform to complete the curing operation of the code;

Note: U disk currently only supports FAT32 format

Â