Part Number: MSP430G2403
Tool/software: Code Composer Studio
I developed a product using the MSP430G2403 using CCS4 on an XP machine. I'm trying to move it to CCS7 on a win 10 machine. CCS4 does not run on win 10. After importing the project or copying the same files over, when compiling in CCS7, the linker claims the code will not fit in the device. The same files compile, load, and run using CCS4 but don't fit in the device in CCS7. What am I doing wrong? Is there a setting that I'm missing in CCS7?
There is not enough information in your post to act on. You will probably find some helpful information in this general article about the linker diagnostic you see when target memory is exhausted.
There is a big gap between CCS4 and CCS7. I can understand why you would try to import into CCS7. But I hope you can understand why that is likely to cause more problems than it is worth. I suggest you start a new project in CCS7. Select the device you plan to use. That will give you a recent implementation of the linker command file, debug startup files, and so on, appropriate to that device, and tested with CCS7. Then copy in the C source files from the old project into the new. This approach might take a bit longer at first. But I am confident you will quickly make that time up by having fewer problems overall.
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 videosThe Compiler Wiki answers most common questionsTrack an issue with SDOWP. Enter your bug id in the Search box.
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 George Mock:
Please let us know whether you started a new project in CCS7, and how that went.
In my initial note "After importing the project or copying the same files over", that is what I meant I already did in CCS7. I tried both ways before I posted. Kept getting the same error. I have uninstalled CCS7 and installed CCS8. Now I get an error stating can't find make file, incorrect path. I've got to dig into that. I still have my CCS4 on my old computer, it compiles but my MSP-FET430UIF does not work with CCS4, it used to. I know the MSP-FET works because I have very old projects I used with Quadravox and it still works with that. My old computer with XP is having a lot of other issues which is why I want to switch over before it's too late.
In reply to DBlanco:
I got my project to compile in CCS8 by changing the Microcontroller. My board has an MSP430G2403 with 8K of memory. When I change the controller to the MSP430G2755 which has 32K of memory it compiles but the size is about 13K. Why does the exact same code compile to less than 8K in CCS4 and 13K in CCS8? What setting am I missing?
One possibility ... In that time the built-in type double changed size from 32-bits to 64-bits. All the 64-bit operations require a lot more code.
Another possibility ... The RTS library changed in that time. I wouldn't expect the difference to be this large, but I guess it is possible.
To get a better sense of the difference, compare the map files from the two builds. I think that will help you understand it.
DBlancoThe same files compile, load, and run using CCS4 but don't fit in the device in CCS7.
Which MSP430 compiler version was used with CCS4?
CCS allows installation and use of multiple compiler versions, so you should be able to install the same compiler in CCS7 (or CCS8) as used with CCS4.
In reply to Chester Gillon:
See CCS: Compiler version problem for an explanation of the steps to install a specific older version of a compiler.
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. 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 respect to these materials. 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.