From: http://blog.csdn.net/dongliqiang2006/archive/2009/11/28/4889440.aspx
Steps for downloading a program through a serial port in dm355
<1> you need to install a. NET Component (. NET Framework 2.0
Check whether C:/Windows/Microsoft. NET/framework/v2.0.50727 or a later version is installed on the computer. Install the. NET component before installation.
<2> download the program software from the serial port
Dm35x_flashandbootutils_201710.tar.gz
Decompress the file and rename the file name dm35x_flashandbootutils_000010 to dm35x.
<3> copy the ublDM355-nand.bin and u-boot-1.2.0-dm355_evm.bin under the psp_01_20_004_1/bin/dm355 file directory to dm35x/dm35x/gnu
File directory.
<4> connect the Serial Line
<5> select sw7 to enable the Board to start through the serial port
<6> go to dos in windows and change the path to dm35x/dm35x/gnu.
<7> sfh_dm35x.exe
-Nandrease: delete NAND Flash
<8> sfh_dm35x.exe-nandflash ublDM355-nand.bin
U-boot-1.2.0-dm355_evm.bin carriage return
(For specific operations, see readme.txt)
<9> select sw7 to enable the Board to start in arm mode.
<10> enable the superpole terminal and set the serial port parameter to 115200.
8 N 1
<11> power on the board and enter the U-boot display, such as dm355 EVM #
<12> install on a Linux machine
Tftpboot Server
<13> copy the Linux Kernel File (uimage) to tftpboot.
Directory
<14> enter the following on the superpole terminal:
Setenv ipaddr 192.168.1.155 // set the IP address of the Board.
Setenv
Serverip 192.168.1.80 // tftpboot Server IP Address
TFTP 80700000 uimage
Nand erase
400000 200000
Nand write 0x80700000 0x400000
Zero X 200000
<15> set Linux Startup parameters on a Super Terminal
Setenv bootcmd 'nboot 0x80700000 0
0x400000; bootm'
Setenv bootargs 'console = ttys0, 115200n8 IP = DHCP: eth0: Off
Root =/dev/mtdblock3 RW rootfstype = yaffs2
Mem = 114m'
Saveenv
<16> Start an NFS server on a Linux Server
Add an exports file to/etc, open exports, and add/home/dm355
* (RW, no_root_squash, no_all_squash, sync ),
Use the main menu/system settings/Server Settings/service
Restart NFS
<17>
Create a filesysysytemfolder in/home/dm355and copy dm355_flash_image_1_30_00_23.tar to/home
/Dm355/filesysytemdirectory to decompress dm355_flash_image_1_30_00_23.tar
<18> enter the following on the superpole terminal:
Setenv
Bootcmd 'nboot 0x80700000 0 0x400000; boott'
Setenv bootargs
'Console = ttys0, 115200n8 noinitrd rw ip = DHCP root =/dev/nfs
Nfsroot = 192.168.1.80:/root/workdir/filesys, nolock
Mem = running m'
Boot
<19> enter the Linux system if the system is normal.
<20> enter the following in a Linux system:
Mkdir
/Mnt/Nand
Flash_eraseall/dev/mtd3
Mount-T yaffs2/dev/mtdblock3
/Mnt/NAND/
CD/mnt/Nand
Tar xf/dm355_flash_image_1_30_00_23.tar
CD
..
CD ..
Umount/mnt/Nand
<21> power on the Board again, And dm355 stops by downloading the program through the serial port.