...
Next, you need to copy all the files and folders under the installation directory \SP7021\example\ fbio_selftest to the fbio_selftest project directory built above (the path is: installation directory \SP7021\ workspace\fbio_selftest\), the file with the same name is selected to be overwritten, so SP7021 The the program code main.c required for SP7021 SOC platform self-test design practice; put it in the following path:
1) Install main.c in In the install directory \SP7021\workspace\fbio_selftest\ foldermain.c
Finally, as shown in the figure below, select the red box 1 with the mouse, then click the right mouse button to display the drop-down menu, and then select the red box 2, refresh the copy action just now, so that the file just copied can be displayed in the IDE environment.
...
The first for loop uses fbio to write to the DRAM address space 1 to 200 of the Plus1 chip;
The first second for loop reads the DRAM address space 1 to 100 of the Plus1 chip through fbio module; compares the read content with the written content, and if it is different, prints the Error message;
...