
ccs5.3模擬工程建立步驟.docx
5頁CCS5.3模擬工程建立步驟1、 點(diǎn)擊file->new->ccs project2、 修改對話框如下:project name中編寫工程名字Use default location中可以改變工程路徑Family中選擇C6000Variant中選擇Generic C64XX DeviceProject templates and examples中選擇DSP/BIOS v5.xx Examples下面的sim6416 Examples下面的hello example,點(diǎn)擊finish3、 調(diào)整出如下界面在hello.c上點(diǎn)擊右鍵,點(diǎn)擊delete注意:這種操作會刪除硬盤中的文件,并不僅僅是從工程中刪除)在資源管理器中拷貝我發(fā)給你的文件SimAlgOpenfile.c、hello.tcf和simAlg.ccxml然后回到ccs工程,右鍵點(diǎn)擊工程simAlg,點(diǎn)擊paste右鍵點(diǎn)擊工程simAlg,點(diǎn)擊Rebuild ProjectConsole中出現(xiàn)'Finished building target: simAlg.out'表明編譯成功4、 拷貝1.txt到d:\下面5、 點(diǎn)擊Run->Debug Configurations…,彈出如下界面雙擊Code Composer Studio –Device Debugging,彈出如下界面可以修改nameTarget Configuration的右邊點(diǎn)擊File System..選擇拷貝的simAlg.ccml文件。
點(diǎn)擊program標(biāo)簽在project的右邊點(diǎn)Workspace..,選擇打開的工程點(diǎn)擊Apply,點(diǎn)擊Debug6、 進(jìn)入ccs Debug,如下界面可以進(jìn)行各種調(diào)試在右上角的CCS DEBUG旁邊的》點(diǎn)擊會出現(xiàn)CCS Edit點(diǎn)擊后可以回到編輯界面,如下再次點(diǎn)擊左上角CCS Debug可以進(jìn)入調(diào)試界面點(diǎn)擊,可以運(yùn)行程序Console中出現(xiàn)結(jié)果使用程序中的過程可以打開pc上的圖像文件,進(jìn)行算法調(diào)試如果需要重新調(diào)試,可以點(diǎn)擊旁邊的向下箭頭彈出simAlgCfg,點(diǎn)擊就可以重新調(diào)試。
