[SylixOS & iMXRT1050] [4] FTP image file deployed

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/ScilogyHunter/article/details/81071506

SD card file copy approach requires constantly swap between PC and development board and copy files, cumbersome, only drive or network drive not only the development of good use in the SD card.

Under normal circumstances are using FTP to download the image file to the SD card development board. Steps are as follows:

  • Ready already have a development board SD card access and Ethernet communication, connect the network cable.
  • Enter ifconfig command to view the IP address of the development board.

Figure 3.2 ifconfig Command

  • Ping command input, the connectivity of the PC board and assay development.

3.3 ping command to FIG.

  • Device right toolbar button, enter Device view, then the space right, select "New Device" menu, as shown in the left 3.4 Remote System Navigator:

Figure 3.4 creation process equipment

  • "Device IP" filling out the IP address of the development board, other options default values, click on the "Finish" button to complete the Add Device.

 

3.5 Configuration FIG device parameters

  • Entry right on the target device, select Launch FTP, ftp promoter linked to the development of PC board shown in Figure 3.6:

Figure 3.6 Start FTP

  • Right side boards open "/ media / sdcard0" directory.

Figure 3.7 to access the target file system via FTP

  • Local Path to find the file to be downloaded, right the file, select "Upload" menu, open the FTP download.

Figure 3.8 Upload files to the target system

  • If the target directory has the same name will prompt window pops up, select Overwrite and Always use this action, each time you download a file of the same name will automatically overwrite the existing file.

FIG override the settings file 3.9

  • Download process will schedule prompt, as shown in Figure 3.11:

图3.10  上传文件提示

  • 待下载完成,开发板上可以执行一下磁盘同步命令“sync”,防止下载内容未回写到SD卡上。

图3.11 磁盘同步命令

Guess you like

Origin blog.csdn.net/ScilogyHunter/article/details/81071506