麻豆一区二区三区蜜桃免费_中文字幕Va一区二区三区 _国产成人综合久久二区_丰满多毛的大隂户毛茸茸_国产麻豆剧果冻传媒免费老狼_无码人妻精品一区二区三区久久久 _亚洲中文无码精品卡通_蜜臀亚洲AV永久无码精品老司机

【ARM】Arm DS調(diào)試信息配置-2022

1.創(chuàng)建一個FVP模型 .ds腳本用于代替ARM調(diào)試器

a. 右鍵單擊工程根目錄彈出菜單選擇New →?Other....



b. 在 新建對話框中, 選擇 Arm Debugger →?Arm Debugger Script,單擊 Next.



c. 輸入use_model_semihosting文件名,單擊Finish按鈕。



d. 在use_model_semihosting 文件里輸入set semihosting enabled off,并保存。



2. 在主菜單中File →?New →?Model Connection.



3. 在 Model Connection對話框中, 輸入調(diào)試鏈接名字,例如HelloWorld_FVP,關(guān)聯(lián)項目,然后單擊Next按鈕



4.在Target Selection 對話框中, 選擇Arm FVP (Installed with Arm DS) →?Base_A53x1,單擊Finish按鈕。



5. 在Edit Configuration對話框里

a. 在 Connection 選項卡里, 確保 Arm FVP (Installed with Arm DS) →?Base_A53x1 →?Bare Metal Debug →?Cortex-A53 被選中.

b. 在 Bare Metal Debug---the Model parameters區(qū)域, 添加以下參數(shù):

-C bp.secure_memory=false

這個參數(shù)使能訪問DRAM存儲器。



c. 在Files 選項卡中, 選擇 Target Configuration →?Application on host to download →?Workspace.



d. 單擊展開 HelloWorld 項目下Debug 文件夾, 選擇 HelloWorld.axf 并單擊OK.



e. 在Debugger選項卡中, 選擇 Debug from symbol.

f. 使能 Run target initialization debugger script (.ds/.py) ,單擊Workspace....

g. 選擇 use_model_semihosting.ds 腳本,單擊 OK.



6. 單擊 Debug 把應用程序下載到目標板。


結(jié)論

Arm Development Studio 鏈接?model 并顯示連接狀態(tài)在Debug Control 視圖中.



應用程序下載到目標板上,然后停留在main()函數(shù),等待執(zhí)行。