zoukankan      html  css  js  c++  java
  • 第0课

    1. 接口、接线、装驱动、装软件
      1. 如果pc有并口,装并口驱动
      2. 安装USB串口的驱动卡的驱动头,以openjtag为例:先接上去,然后按提示安装
      3. JZ2440v2集成的USB串口:运行PL2303_profic_driverInstaller_v1.5.0.exe,然后接USB线
      4. 安装烧写软件oflash:把oflash.exe,FTD2XX.dll复制到C:windowssystem32
      5. 安装secureCRT
      6. 使用串口操作开发板
    2. 烧写:裸板(四种方法:并口,openjtag,jlink,norflash上的uboot)
      1. 使用并口工具烧写:接线,使用oflash烧写,从新上电观察效果
      2. 使用openjtag烧写:接线,使用oflash烧写(oflash烧写完以后会复位开发板)
      3. JLINK只能烧写NOR FLASH,烧好u-boot.bin,使用NOR启动
      4. 使用nor flash上的uboot来烧写
        • 使用菜单通过USB下载烧写
        • 使用TFTP下载烧写
          1. 设置uboot里的:set ipaddr 192.168.1.17、set serverip 192.168.1.4
          2. 启动tftp服务
          3. u-boot:tftp 30000000 lcd.bin、nand erase bootloader、nand write 30000000 bootloader
    3. 重烧系统:uboot,内核,文件系统
      1. u-boot的烧写和烧写裸板是一样的
      2. 烧写内核:dnw,tftp
        1. dnw:在菜单里输入k,然后使用dnw.exe发送文件
        2. tftp:tftp 30000000 uImage,nand erase kernel,nand write.jffs2 30000000 kernel
      3. 文件系统:
        1. dnw:在菜单里输入y,然后使用dnw.exe发送yaffs2文件或者dnw:在菜单里输入j,然后使用dnw.exe发送jffs文件,再参考使用手册P44设置bootargs
        2. tftp:tftp 30000000 fs_qtopia.yaffs2,nand earse root,nand write.yaffs 30000000 root或者tftp 30000000 fs_qtopia.jffs2,nand erase root,nand write.jffs2 30000000 0x00260000 $(filesize)
        3. 烧写完后输入reset
  • 相关阅读:
    Excel的Range对象(C#)
    SQLServer中常用的一些操作表,字段和索引的SQL语句
    C#和Java初始化顺序
    Raid创建
    转WPF的Presenter(ContentPresenter)
    oracle 开机启动
    LVM介绍以及使用
    Web Service 返回参数
    ControlTemplate & DataTemplate
    设置SSH信任
  • 原文地址:https://www.cnblogs.com/YanfeiHao/p/4276441.html
Copyright © 2011-2022 走看看