Hello,
I am using CCS v5.5. In the code I have a variable assigned to a section which looks like the following:
#pragma DATA_SECTION (MSPVpdMemory,  ".infoA");
MspData_t MSPVpdMemory =
{
    {
        0x1234,         /* Major Version */
        0x5678,         /* Minor Version */
        0x9ABD          /* Build Info    */
    }
};
In the linker directives the following is defined:
MEMORY
{
....
INFOA : origin = 0x1980, length = 0x0080
INFOB : origin = 0x1900, length = 0x0080
INFOC : origin = 0x1880, length = 0x0080
INFOD : origin = 0x1800, length = 0x0080
...
}
SECTIONS
{
... 
.infoA : {} > INFOA /* MSP430 INFO FLASH MEMORY SEGMENTS */
.infoB : {} > INFOB
.infoC : {} > INFOC
.infoD : {} > INFOD
...
}
When I look in the map file I see the following entries:
.infoA 0 00001980 00000006 UNINITIALIZED 00001980 00000006 vpdData.obj (.infoA) 00001980 MSPVpdMemory
When I look at the generate TI-TXT file, the data is located within the the FLASH section of @8000. When I start a debug session and the code is downloaded to the MSP430 then using the Memory Browser to look at address 0x001980 all I see are FFs from addresses 0x1980-0x19FF. The Memory Browser shows the variable MSPVpdMemory should be at that location.
Why is the INFOA section not being populated correctly? Perhaps I am setting something up incorrectly?
Regards,
Mark