ADS使用J-LINK调试之配置方法
1、安装好ADS1.2及J-LINK驱动文件
2、ADS配置,随便打开项目,进入AXD调试界面,在AXD中,选择
3、进入以下界面,选择”Add”,进入J-LINK安装目录下,添加”JLinkRDI.dll”,点击OK
4、选择如下,进入设置界面
5、进入设置界面,选择”Session File”,在RunConfiguration script中选择2440init.txt
注意:2440init.txt为自己创建的文件,建议放到J-Link安装目录下,其内容如下:
Setmem 0x53000000,0x00000000,32
Setmem 0x4A000008,0xFFFFFFFF,32
Setmem 0x4A00001C,0x000007FF,32
Setmem 0x53000000,0x00000000,32
Setmem 0x56000050,0x000055AA,32
Setmem 0x4C000014,0x00000007,32
Setmem 0x4C000000,0x00FFFFFF,32
Setmem 0x4C000004,0x00061012,32
Setmem 0x4C000008,0x00040042,32
Setmem 0x48000000,0x22111120,32
Setmem 0x48000004,0x00002F50,32
Setmem 0x48000008,0x00000700,32
Setmem 0x4800000C,0x00000700,32
Setmem 0x48000010,0x00000700,32
Setmem 0x48000014,0x00000700,32
Setmem 0x48000018,0x0007FFFC,32
Setmem 0x4800001C,0x00018005,32
Setmem 0x48000020,0x00018005,32
Setmem 0x48000024,0x008E0459,32
Setmem 0x48000028,0x00000032,32
Setmem 0x4800002C,0x00000030,32
Setmem 0x48000030,0x00000030,32
6、完成以上配置,即可使用J-LINK调试。