This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Can you please upload IAR to CCS migration manual?
I saw it a few days ago at one of the posts here and I can't find it now.
Also, please direct me to the CCS user guide data base.
The CCS Users Guide for MSP430 includes the topics for migrating from IAR to CCS.
You search the www.ti.com website and for specific Users Guides thay you're looking for. The Embedded Processors wiki is another great resource for information:http://processors.wiki.ti.com/index.php/Main_Page. From here you can access many resources for getting started with CCS.
A great starting page for compile information is http://processors.wiki.ti.com/index.php/TI_Compiler_Information. This wiki page also has links to the MSP430 Compiler and Assembler/Linker manuals.
Please click This Resolved My Issue if the reply answers your question.
Explore Code Composer Studio documentation and resources using online Resource ExplorerTrack the status of a known bug in the External Bug Tracking System. Visit this FAQ to learn how to search for a bug.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to AartiG:
Is there any CCS User'd Guide for v5?
The one you supply a link for is for v4.2.
I tried looking at ti.com or at the wiki but all I find is for v4.
In reply to Yael Oz:
That is the latest version of that particular Users Guide. CCS4 and 5 are quite similar, so most of the information in that book should be relevant to CCSv5 as well.
If you're looking for general information on CCSv5, this wiki is a great resource for getting started:http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5
The CCS Users Guide for MSP430 (for IAR to CCS migration) does not mention any of the following attributes.
__interrupt void timera0_isr(void) __monitor uint16 my_function(void)__noreturn void my_function(void);__task void my_function(void) __data16 char *my_ptr;__data20 char *my_ptr;__no_init volatile uint32 my_var @ MY_VAR_ADDR;
The guide states "#pragma vector =" is supported, but no mention of __vector.
__monitor is not mentioned, but I believe the solution is to explicity place _disable_interrupts(); and _enable_interrupts(); calls around the section of code that needs protection.
__noreturn can be use the "#pragma FUNC_NEVER_RETURNS". I use "#define __noreturn _Pragma(FUNC_NEVER_RETURNS)
__task is not mentioned. Anyone know the equivalent for __task ??
__noinit is not mentioned. I put the variable in the linker script along with the fixed memory address
__data16 and __data20 is not mentioned. Anyone know how to port these?? Just use uint16 and uint32 types ??
Brendan Simon (eTRIX)
In reply to Brendan Simon:
Keywords like __monitor are not supported by the TI MSP430 compiler. There are some pragmas with similar names. Those pragmas are as close as you'll get to these features in the TI compiler.
Thanks and regards,
TI C/C++ Compiler Forum ModeratorPlease click This Resolved My Issue on the best reply to your questionThe CCS Youtube Channel has short how-to videosVisit this FAQ to learn how to search for a bug
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.