Run an example application
To download and run the application via UUU, perform these steps:
Connect the development platform to your PC via USB cable between the J901 USB DEBUG connector and the PC. It provides console output while using UUU.
Connect the J301 USB Type-C connector and the PC. It provides the data path for UUU.
Open the terminal application on the PC, such as PuTTY or TeraTerm, and connect to the debug COM port (to determine the COM port number, see How to determine COM port). Configure the terminal with these settings:
115200 baud rate
No parity
8 data bits
1 stop bit |
|
Get the fspi version U-Boot image from release package and rename it to
uboot_flash.bin
.In the command line, execute uuu with the -b qspi switch:
uuu -b qspi m4_flash.bin
.The UUU puts the platform into fast boot mode and automatically flashes the target bootloader to QSPI. The command line and fast boot console is as shown in Figure 2.
|
|
Then, power off the board and change the boot mode to
NAND Flash [SW1101:0110000000, SW1102:1000111100]
, and power on the board again.|
|
Use following command in U-Boot to kickoff m7:
sf probe sf read ${loadaddr} 0 4 bootaux 0x8000000
Parent topic:Run a flash target demo by UUU