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.
Tool/software: Code Composer Studio
I am using CCSV7 Version: 7.1.0.00016. I have imported my project from CCSV5 project into the CCSV7. I am using Compiler version TI v16.9.1.LTS in CCSV7. This is different than I used in CCSV5.
The project builds without errors. I see only one warning which is:
Warning #10247-D creating output section ".TI.noinit" without a SECTIONS specification
My linker file from CCSV5 is slightly modified from the original CCSV5 MSP430F5659 linker file and is (the important part anyway):
SECTIONS { LOGGERBUFFER: {} > RAM2 .bss : {} > RAM | RAM2 /* GLOBAL & STATIC VARS */ .data : {} > RAM | RAM2 /* GLOBAL & STATIC VARS */ .sysmem : {} > RAM /* DYNAMIC MEMORY ALLOCATION AREA */ .stack : {} > RAM (HIGH) /* SOFTWARE SYSTEM STACK */ .text : {}>> FLASH | FLASH2 /* CODE */ .text:_isr : {} > FLASH /* ISR CODE SPACE */ #ifdef __LARGE_DATA_MODEL__ .cinit : {} > FLASH | FLASH2 /* INITIALIZATION TABLES */ .const : {} > FLASH | FLASH2 /* CONSTANT DATA */ #else .cinit : {} > FLASH | FLASH2 /* INITIALIZATION TABLES */ .const : {} > FLASH /* CONSTANT DATA */ #endif .cio : {} > RAM /* C I/O BUFFER */ .pinit : {} > FLASH /* C++ CONSTRUCTOR TABLES */ .init_array : {} > FLASH /* C++ CONSTRUCTOR TABLES */ .mspabi.exidx : {} > FLASH /* C++ CONSTRUCTOR TABLES */ .mspabi.extab : {} > FLASH /* C++ CONSTRUCTOR TABLES */ .infoA : {} > INFOA /* MSP430 INFO FLASH MEMORY SEGMENTS */ .infoB : {} > INFOB .infoC : {} > INFOC .infoD : {} > INFOD /* MSP430 INTERRUPT VECTORS */ .int00 : {} > INT00 .int01 : {}
(and so on...)
I guess that something about the new CCSV7 creates a TI.noinit segment that was not created by CCSv5.
What statement shall I add to my linker file to place the TI.noinit?
Thanks!
Mike
The CCSV7 installation will come with a later compiler installed by default than CCSV5, and some of the required sections in the linker command file change with the compiler versions.Michael Head said:I guess that something about the new CCSV7 creates a TI.noinit segment that was not created by CCSv5
Looking at a program created in CCS 7 for a MSP430F6659 shows the following in the SECTIONS:
.TI.noinit : {} > RAM | RAM2 /* For #pragma noinit */
It is possible to install the same compiler version you were using in CCSV5 into CCSV7. See Compiler ReleasesMichael Head said:I am using Compiler version TI v16.9.1.LTS in CCSV7. This is different than I used in CCSV5.