570
技術社區[雲棲]
RVDS4.0 + JLINK 調試 cortex-A9
1、RVDS4.0的安裝與破解
參看https://blog.csdn.net/cp1300/article/details/7772645這位大神的帖子吧,寫的很詳細。
2、JLINK驅動的安裝
這裏安裝JLINK_V4.10的驅動。
本人曾經安裝V4.22的版本,結果調試的時候程序一直跑飛,鬱悶了N久,在“代碼鬆鼠”的提醒下,更換為4.10版本的驅動,終於能夠正常調試了。驅動下載地址:https://download.csdn.net/detail/csuwp02/5149235
3、RVDS4.0的配置
(1)首先安裝zylincdt插件.
點擊‘幫助’ -------------- ‘SoftwareUpdates’ ---------------‘Find and Install’
點開後選擇下麵的一個選項,下一步
如下圖界麵
點擊新建遠程站點 ,右邊的第一個
名稱填寫: zylincdt
URL填寫: https://opensource.zylin.com/zylincdt
勾選後點擊完成,需要聯網下載更新,按提示安裝,中途可能會有警告,確認就行,安裝完成後會自動重啟RVDS的,完 成後在調試裏麵會多出zylin 相關的調試選項.
(2)安裝YAGARTO
需要安裝兩個工具包YAGARTO Tools和 YAGARTO GNU ARM toolchain。
(3)終極配置
-
Debug菜單——> 調試配置代開如上圖的窗口
-
點Debugger選項卡
在GDB調試器中選擇上邊安裝的YAGARTO路徑中的arm-none-eabi-gdb.exe
c.選Commands選項卡的 “Initialize” Command中輸入
# connect to the J-Link gdb server
target remote localhost:2331
# Set JTAG speed to 30 kHz
monitor endian little
monitor speed 30
# Reset the target
monitor reset
monitor sleep 10
# Setup GDB for faster downloads
#set remote memory-write-packet-size 1024
set remote memory-write-packet-size 4096
set remote memory-write-packet-size fixed
monitor speed 12000
break _main
load
最後更新:2017-04-03 14:54:43