在PC上安装USB转串口的驱动,生成虚拟串口如COM2(没搞清楚是多少可以在“我的电脑-属性—硬件下找)
启动DNW,选择正确的波特率、串口,点连接,OK
Step0 安装U-Boot到OK6410
1 启动J-Link GDB Server
2 启动CodeWarrior for RVDS
(1)Edit->Debug Settings->Language Settings->RealView Assembler/RealView
Compiler
Target->Architecture,选择ARM1176JZF-S
(2)Edit->Debug
Settings->Linker->RealView Linker
Output->Linktype,选择scattered,choose 6410_scatter.txt
(3)New ARM
Executable Image Project led_axd_test,add files
def.h、startup.s、scatter_load.c、option.inc、retarget_.s、system_.s、fpinit.c、vfpinit.s、led.c
and make
(4)Edit->Debug Settings->Linker->RealView FromELF Output
file name:led_axd_test.bin
3 启动AXD Debugger
(1)Options->Configure
Target
选择Multi-ICE(如果没有,则Add from C:\Program
Files\SEGGER\JLinkARM_V402d\JLinkRDI.dll)
(2)Load Image led_axd_test.axf
from %Path%\led_axd_test\Debug
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)