ARM开发环境搭建
1 RVDS2.2
2 JLinkARM_V402d
Step
0 安装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 armcode.axf
from %Path%\armcode\Debug
原文:http://www.cnblogs.com/mycheetah/p/3543720.html