For equal code indentations, perform the following steps:
Window->Preferences->Show advanced settingsWindow->Preferences->C/C++->Code Style->Formatter->Edit ...->Tab size: 2->Apply->OK->Apply and Close
Project->Import CCS Projects...-> Choose your project to import- In
Select search-directorybrowse to your project (e.g..../LEA_control_board/software/01_Control_boards/F28386D_GPIO/ - Press
Finish
This steps are necessary if the original project was developed with different versions for the C2000Ware and compilers. Both steps needs to be done for RAM and for FLASH. Select between both modes with the arrow at the hammer-symbol.
- right click on project ->
Properties->General->Products - Select
C2000Wareand clickEdit - Select the installed
C2000Wareversion in the right drop-down menu. This software was tested withC2000Wareversion4.3. Newer versions are currently not working with the provided software. - To install older versions of
C2000Ware, go to theressource explorerand download version4.3.
- right click on project ->
Properties->General->Projects - Select your installed compiler version
This section describes the simultaneous debugging of two cores of a Texas Instruments C2000 DualCore processor.
- Step 1: Chose target configuration for
CPU1oderCPU2->right click->Launch Selected Configuration - Step 2:
right clickonDebug-Probe CPU1->Connect Target->Run->Load->Load Program…->Browse project…->CPU 1-Projekt->FLASHorRAM-> chose.out-file->OK->OK - Step 3:
right clickonDebug-Probe CPU2->Connect Target->Run->Load->Load Program…->Browse project…->CPU 2-Projekt->FLASHorRAM-> chose.out-file->OK->OK - Step 4: click on
Debug-Probe CPU1->Resume (Start)-> click onDebug-Probe CPU2->Resume (Start) - Step 5: For debugging (read/write registers/global variables) the respective debug sample (
CPU 1orCPU 2) must be clicked. The registers/variables of the other CPU are not active during this.
- Watch this video first
- Download FT Prog here
- Load the configuration file for XDS100v2 programmer:
File->Open template-> Modified template - Right click on
Device: 0-> right click ->Apply Template->Template: XDS100v2_UART.xml - Flash file:
Programm Devices->Program
Note:
It is very important to click on Apply Template as shown in the video. Otherwise the controller will not be programmed correctly!
Note:
The modified file has the Virtual COM Port enabled to provide UART communication. This is not implemented as in the video. To enable this, see the figure.
