So, lately I have been running into a series of issues with Code Composer Studio and I thought I would share these with other folks in case the may be helpful.
1. After a recent TI Update, or rather Upbreak, when attempting to import a project through the TI Resource Explorer in CCS 7.0.0.x, the following error is seen:
Error importing project. Location cannot be resolved: "c:/ti/tirtos_msp43x_2_20_00_06resources/msp_exp432P401RLaunchpad/driverExamples/tiDriverExamples/emptyExamples/com_ti_rtsc_tirtosmsp430_example_100.projectspec"!
NOTE: The tirtos_msp43x and resources directories are collapsed and a '/' is used instead of '\' to separate the folders. This is on Windows
Issue logged with TI:
At this time, there is no resolution for this in CCS 7.0.0.x and it is suggested to use the latest CCS, well at least as of 03202017, CCS 7.1.0.x.
http://processors.wiki.ti.com/index.php/Download_CCS#Download_the_latest_CCS
2. The other issue has been seen in CCS 6.x as well as 7.0.0.x where, at least in my case, if the .cfg file is left open in the Editor window when CCS is closed, once CCS is started again, the following error is seen:
Error Report
Sorry, I'm having problems creating this editor. An unexpected exception was thrown.
org.eclipse.rtsc.xdctools.INVALID_CODEGEN_LOCATION: Invalid codegen location "
In my case, if I close the file and then reopen it the issue goes away.
This issue has also been seen by others when just opening a .cfg file.
Issue filed with TI:
https://e2e.ti.com/support/embedded/tirtos/f/355/t/544313
3. Another issue was when I attempted to add C++ Style Classes to my project. When I initially added a C++ Class, I ran into the following error:
"warning #10247-D: creating output section "HEAP_CACHE" without a SECTIONS"
To resolve this, I removed the 'iostream' and namespace entries in the file. Also, since I have both 'C' and 'CPP', I have found it is best to add the following in the header file:
#ifdef __cplusplus
extern "C" {
#endif
// Standard "C" code here
#ifdef __cplusplus
}
#endif
I found the following link to be helpful:
C++ Support in TI Compilers - Texas Instruments Wiki
Also, in TI-RTOS for MSP43x, there is an C++ example that shows an implementation of C++ in TI-RTOS.
This is located:
TI-RTOS for MSP43x - v2.20.00.06
Documents->Development Tools->MSP-EXP432P401R->Kernel Examples->C++ Example (bigtime)
Using this example, I set the following in the .cfg file:
System (Hwi and Swi) stack size - 768
Heap Size - 2048
Enable Assets - False (Unchecked)
Enable Logs - False (Unchecked)
4. One bright side, with the release of Code Compose Studio 7.x, the now provide the Full License for CCS 6.x. This means no more limitations in CCS for time, code size, debug probe or target used.
See the Licensing - CCSv6 Wiki for more info:
http://processors.wiki.ti.com/index.php/Licensing_-_CCSv6
Hopefully this is helpful to someone.
Top Comments