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->Simple Image->RO Base,设置成0x50200000(RO Base>0x50000000)
(3)New ARM Executable Image Project armcode,add file and make
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