Wei Dongshan study notes 02-- embedded Linux development board how to burn program

Wei later Higashiyama embedded development board will jz2440 v3 usb cable and a standard two cable, OpenJTAG purchased separately,

I do not buy the tool. Here usb cable programming as well as through the burning process.

1.usb the burning process:

  DNW to the tool by means of Nandflash usb cable burning process.

  Steps:

    a. Development Board off, ① the dial to start from norflash, ② to the computer at the usb port, the serial port connector while good development board and development collector plate.

                  

    b. After the end of the countdown after the power member into the press space uboot, uboot output can see a menu, the input n, choose to download nand

                 

     'Ll see a serial output Waiting a download message, if it is the first time DNW, drivers need to install

     

      DNW software and drivers and installation is as follows:

     Link: https: //pan.baidu.com/s/1MUEg7p4N_1pdsr-PoRDm7A extraction code: vc2n

      After installing the drivers, open DNW, find the files you want to transfer the selected transmit, and then start transferring files

        

    Link: https: //pan.baidu.com/s/1f2i3whebBwgeQ6_qMPIiRQ  extraction code: y8tr available for testing bin file

      After a good burn, development board power failure, will be allocated to start from nandflash, you can see the effect just downloaded a program ① at;

2. Use tftp download

    Tools link: link: https: //pan.baidu.com/s/1LfgHVk61oQiW9ompLV8aFg extraction code: 4y7r

    My connection is as follows

    

              Open tftp install the tool, you can see ip of the computer, I was 192.168.1.101, while the figure below the red box at the top directory should contain the file you want to download.

     

    At this time, as the server computer, download the boards from computer program, is provided after the connection cable, computer boards to the ping ip

To be able to transfer files.

    先将开发板ip设置成和电脑的ip同一个网段. 跟上面一样, 拨动启动选择拨码,如上面开发板图片①处, 选择从norflash启动. 在倒计时结束之前按空格进入uboot,按q退出菜单.

    使用命令print查看开发板的一些环境变量.

    利用命令:

      set ipaddr 192.168.1.18

      set serverip 192.168.1.101 (应为电脑ip)

      save

    看是否ping通电脑:  ping 192.168.1.101

    如果提示 host 192.168.1.101 is alive,说明网络通了. 如果ping不通可以尝试关闭电脑防火墙.

     但是要注意的是此时电脑是无法ping通开发板的.

    下载程序: tftp 30000000 lcd.bin

    

    下载完成之后,  执行如下命令:

    nand erase bootloader

    nand write 30000000 bootloader

             

    烧写完毕之后, 选择从nandflash启动, 重启看是否生效.

 

 

 

  

 

Guess you like

Origin www.cnblogs.com/cheyihaosky/p/11854486.html