2013/08/18

Code Composer Studio IDEを使ってNETMFのビルドとデバッグを行う方法をまとめてみる。設定などについては http://msmicroframework.blogspot.jp/2009/02/configuring-eclipse-openocd-gcc-to.html を参考にしている。

Target boardXG-1808 /w JTAG-CNV-01
JTAG emulatorTMDSEMU100V2U-14T
Code Composer Studio IDE5.4.0
CompilerSourcery G++ Lite 2007q3-53
Visual Studio Professional 2012
.NET MF 4.3 (RTM)
  • C:\MicroFrameworkPK_v4_3\build.cmd

[Build command:]に無条件に-kオプションが追加されるようなのでバッチファイル経由でmsbuildを実行している。

msbuild %~2
  • C:\MicroFrameworkPK_v4_3\ccs.cmd

ccs.cmdを実行することでCCSは起動

call setenv_gcc.cmd 4.2.1 C:\CodeSourcery\Sourcery_G++_Lite
C:\ti\ccsv5\eclipse\ccstudio.exe
  • プロジェクト作成と設定
[File] -> [New] -> [CCS Project]
[Project name:] -> [MicroFrameworkPK_v4_3-XG1808_TinyCLR]
[Location:] -> [C:\Users\Yasuhisa\workspace_v5_4\MicroFrameworkPK_v4_3-XG1808_TinyCLR]
[Variant:] -> [AM1808]
[Connection] -> [Texas Instruments XDS100v2 USB Emulator]
[Project templates and examples] -> [Empty Project] -> [Empty Project]
[Finish]
[Project Explorer] -> [MicroFrameworkPK_v4_3-XG1808_TinyCLR]
[File] -> [New] -> [Folder]
[Advanced>>] -> [Link to alternate location (Linked Folder)] -> [C:\MicroFrameworkPK_v4_3] -> [Finish]
[Project] -> [Properties]
[Build]
[Configuration:] -> [Debug]
[Builder]
[Build command:] -> [${COMMON_BUILD_ROOT}\build.cmd -k]
[Build directory:] -> [${COMMON_BUILD_ROOT}\Solutions\XG1808]
[Behaviour]
[Build (Incremental build)] -> ["TinyCLR\TinyCLR.proj /t:build /p:flavor=debug;memory=flash"]
[Clean] -> ["/t:clean"]
[OK]
[Run] -> [Debug Configurations...]
[Code Composer Studio - Device Debugging]
[Name:] -> [MicroFrameworkPK_v4_3-XG1808_TinyCLR]
[Main]
[Target Configuration] -> [${target_config_active_default:MicroFrameworkPK_v4_3-XG1808_TinyCLR}]
[Program]
[Project] -> [Workspace...] -> [MicroFrameworkPK_v4_3-XG1808_TinyCLR] -> [OK]
[Program] -> [C:\MicroFrameworkPK_v4_3\BuildOutput\ARM\GCC4.2\le\FLASH\debug\XG1808\bin\tinyclr.axf]
[Target]
[Auto Run and Launch Options]
[Run to symbol] -> []
[On a program load or restart] -> []
[Apply]
[Close]
ccs.png

添付ファイル: fileccs.png 214件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2013-08-18 (日) 18:41:22 (1889d)