For equal code indentations, perform the following steps:
Window
->Preferences
->Show advanced settings
Window
->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-directory
browse 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
C2000Ware
and clickEdit
- Select your installed C2000Ware version in the right drop-down menu
- 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
CPU1
oderCPU2
->right click
->Launch Selected Configuration
- Step 2:
right click
onDebug-Probe CPU1
->Connect Target
->Run
->Load
->Load Program…
->Browse project…
->CPU 1-Projekt
->FLASH
orRAM
-> chose.out-file
->OK
->OK
- Step 3:
right click
onDebug-Probe CPU2
->Connect Target
->Run
->Load
->Load Program…
->Browse project…
->CPU 2-Projekt
->FLASH
orRAM
-> 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 1
orCPU 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.