ADS+AXD调试,配置H-JTAG(华恒2410)
经过一段纠结终于把H-JATG连上了,不容易啊,现在先记下参数来。
先看看脚本文件吧:
下面这个是2410烧写FLASH的配置脚本文件:
FLASH SECTION: SST SST39VF1601 MEMORY SECTION: 16-BIT X 1-CHIP 0x00000000 0x30000000 XTAL SECTION: NULL TCK SECTION: -1 -1 SCRIPT SECTION: SoftReset+++ Setmem+32-Bit+0x53000000+0x00000000 Setmem+32-Bit+0x4A000008+0xFFFFFFFF Setmem+32-Bit+0x4A00001C+0x000007FF Setmem+32-Bit+0x53000000+0x00000000 Setmem+32-Bit+0x56000050+0x000055AA Setmem+32-Bit+0x4C000014+0x00000003 Setmem+32-Bit+0x4C000000+0x00FFFFFF Setmem+32-Bit+0x4C000004+0x00074012 Setmem+32-Bit+0x4C000008+0x00058042 Setmem+32-Bit+0x48000000+0x22111120 Setmem+32-Bit+0x48000004+0x00002F50 Setmem+32-Bit+0x48000008+0x00000700 Setmem+32-Bit+0x4800000C+0x00000700 Setmem+32-Bit+0x48000010+0x00000700 Setmem+32-Bit+0x48000014+0x00000700 Setmem+32-Bit+0x48000018+0x0007FFFC Setmem+32-Bit+0x4800001C+0x00018005 Setmem+32-Bit+0x48000020+0x00018005 Setmem+32-Bit+0x48000024+0x008E0459 Setmem+32-Bit+0x48000028+0x00000032 Setmem+32-Bit+0x4800002C+0x00000030 Setmem+32-Bit+0x48000030+0x00000030 PGMOPTION SECTION: |
然后下面是H-JATG server的配置脚本文件:
Setmem+32-Bit+0x53000000+0x00000000 Setmem+32-Bit+0x4A000008+0xFFFFFFFF Setmem+32-Bit+0x4A00001C+0x000007FF Setmem+32-Bit+0x53000000+0x00000000 Setmem+32-Bit+0x56000050+0x000055AA Setmem+32-Bit+0x4C000014+0x00000003 Setmem+32-Bit+0x4C000000+0x00FFFFFF Setmem+32-Bit+0x4C000004+0x00074012 Setmem+32-Bit+0x4C000008+0x00058042 Setmem+32-Bit+0x48000000+0x22111120 Setmem+32-Bit+0x48000004+0x00002F50 Setmem+32-Bit+0x48000008+0x00000700 Setmem+32-Bit+0x4800000C+0x00000700 Setmem+32-Bit+0x48000010+0x00000700 Setmem+32-Bit+0x48000014+0x00000700 Setmem+32-Bit+0x48000018+0x0007FFFC Setmem+32-Bit+0x4800001C+0x00018005 Setmem+32-Bit+0x48000020+0x00018005 Setmem+32-Bit+0x48000024+0x008E0459 Setmem+32-Bit+0x48000028+0x00000032 Setmem+32-Bit+0x4800002C+0x00000030 Setmem+32-Bit+0x48000030+0x00000030 |
还有一个要注意的就是H-JATG的配置信息了:
那么图上的TMS对应的哪个管脚则是由JTAG和电脑并口的连线来决定的。这个就是自己看看电路图和电脑并口线的连接了。
还有一步就是导入初始化脚本文件了:
脚本文件的内容就是上面提到的his文本的内容了。
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步