1. 程式人生 > >怎樣在ccs6.0以上的版本使用軟體模擬功能

怎樣在ccs6.0以上的版本使用軟體模擬功能

How to Obtain the Simulator for CCSv6

下面來闡述問題 和 解決問題

  • The problem with version 6 is that TI withheld the simulation files and drivers necessary to run the simulator on version 6. The trick is to copy over the files from version 5 (I did version 5.5), but any one will work.
  • The following are steps on how to copy over and which files to copy over.

1. Download a previous version of Code Composer document

連結: https://pan.baidu.com/s/1-4a4bNqBDLydhX4uxz7RDQ 密碼: qwwc

2. Find the CCSv6 and the CCSv5 files in your file explorer (The installer automatically places them in a folder named “ti” in your hard drive)

檔案內容

3. Copy over the following file from the version 5 folder to the version 6 folder

C:\ti\ccsv5\ccs_base\simulation <— complete directory!!!!
路徑指向

4. Copy over the Configurations file as well

C:\ti\ccsv5\ccs_base\common\targetdb\configurations
這裡寫圖片描述

5. Copy over the v5 simulator connection file into the v6 connections filev

C:\ti\ccsv5\ccs_base\common\targetdb\connections\tisim_connection.xml


這裡寫圖片描述

6. The last files to copy over are the simulation drivers needed to run the TI Simulator

C:\ti\ccsv5\ccs_base\common\targetdb\drivers
Note: There are 4 files you must copy over! Scroll down and look for the “sim” files!!!!
這裡寫圖片描述
- Now that all of the necessary files are in the v6 directory, run CCSv6.
- Create your project as you normally would and initially choose “Data Snapshot Viewer” as your connection because you will not see the simulator in the Project Wizard.
- Once your code is written, build the entire project and look at the “targetconfigs” folder in your project explorer.
- Double click on the file with a red “X” on it; it will bring up the General Connection setup window.
這裡寫圖片描述
- Click the Connection drop down menu and find “Texas Instruments Simulator”
這裡寫圖片描述
- Find the “F283xx” box and select it. Now you should be able to run the simulator and debug your code!

over

下載連結中就有用到的ccs5中的檔案,操練起來吧!