1.串口:

  串口类型: 针串口 、usb串口的使用

 1. usb 串口 插入电脑,计算机上设备管理器中其他设备下出现新设备

jz2440s3c2440 jtag口、串口、usb devices 使用

2. 安装串口驱动 ,安装驱动以后 系统分配com4 串口

jz2440s3c2440 jtag口、串口、usb devices 使用

jz2440s3c2440 jtag口、串口、usb devices 使用
 3. windows下载串口连接软件 MobaXterm,连接串口,进入linux 

jz2440s3c2440 jtag口、串口、usb devices 使用

jz2440s3c2440 jtag口、串口、usb devices 使用

 

2.jtag烧写口:

  针口(开发板10针口),需要排线连接板子和eop 
  usb烧写器有哪些: jlink、op、 eop(jz2440标配)

  eop功能:  1. 烧程序  2. usb 转串口功能

 1. 排线连接 板子上10针口和 eop ,eop 连接电脑 usb 

jz2440s3c2440 jtag口、串口、usb devices 使用

2 .  eop 驱动  安装

jz2440s3c2440 jtag口、串口、usb devices 使用

问题:  widnows驱动签名,禁止签名,解决,https://www.cnblogs.com/kooapk/p/9044597.html

jz2440s3c2440 jtag口、串口、usb devices 使用
选择 D:\softpackage\weidongshagn\OpenJTAG 安装,需要安装 3 次 ,安装成功如下图
 jz2440s3c2440 jtag口、串口、usb devices 使用
windows  安装 烧写软件

jz2440s3c2440 jtag口、串口、usb devices 使用

安装目录下带有oflash.exe

jz2440s3c2440 jtag口、串口、usb devices 使用

运行oflash  命令

jz2440s3c2440 jtag口、串口、usb devices 使用

 烧裸板程序   leds.bin  到  NandFlash

 NorFlash     :  可以烧 uboot 
 NandFlash  :  可以烧 裸板程序\uboot    
 可以从  Nor 或者 Nand启动, 开发板子上 有 开关

jz2440s3c2440 jtag口、串口、usb devices 使用

完成以后断开排线 、重启,设置为nand 启动波动开关,重新上电

jz2440s3c2440 jtag口、串口、usb devices 使用

  烧uboot   u-boot.bin  到  Nor Flash  

jz2440s3c2440 jtag口、串口、usb devices 使用

完成以后断开排线  , 设置为nor启动 拨动开关, 重新上电 ,在串口中 输入空格 ,进入uboot 选项 ,如果不按 空格键, 那么会进入 默认linux 系统

jz2440s3c2440 jtag口、串口、usb devices 使用

  3 . usb devices :  

优点 : 通过usb devices 传递传递文件到ubtoot, 然后安装, 速度快 ,  jtag 比较慢 

usb device 使用, 烧写  leds.bin   到  Nand Flash 

 1. 把uboot 烧到 nor Flash , nor 启动 ,运行uboot 
 
usb device 驱动安装: 
 1.  usb 线 连接 设备与电脑 ,电脑上出现新设备  

jz2440s3c2440 jtag口、串口、usb devices 使用

 2.  安装驱动程序 : F:\工具和驱动\USB DNW
 启动 zadig-2.3.exe , 点击 Options/List All Devices

jz2440s3c2440 jtag口、串口、usb devices 使用

jz2440s3c2440 jtag口、串口、usb devices 使用 

 3.   在串口 工具输入   [n] Download u-boot to Nand Flash    n 、

   n 表示 接收 usb 文件 并烧 写到 nand flash 

jz2440s3c2440 jtag口、串口、usb devices 使用
 使用 dnw_100ask.exe  从 windows 传递文件到 开发板

jz2440s3c2440 jtag口、串口、usb devices 使用

USD Port- Transmit 发送文件,选择文件leds,bin  , 看串口工具平台, 烧写成功  

 jz2440s3c2440 jtag口、串口、usb devices 使用

uboot 收到文件, lends.bin 安装成功,在烧到nand Flash 中 

设置  nand 启动,重新上电,运行  裸机程序

再次看到  leds.bin 闪烁效果 ,是3个灯光交替闪烁

jz2440s3c2440 jtag口、串口、usb devices 使用

相关文章:

  • 2021-05-31
  • 2021-12-13
  • 2021-04-23
  • 2022-01-13
  • 2021-05-20
  • 2022-12-23
  • 2021-11-30
  • 2021-05-24
猜你喜欢
  • 2021-12-23
  • 2021-11-20
  • 2021-09-09
  • 2021-10-19
  • 2021-05-31
相关资源
相似解决方案