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.

CCS/MSP430FR5962: how to setup for information memory

Part Number: MSP430FR5962

Tool/software: Code Composer Studio

How do I set up the information memory using code composer studio? How to declare variables in that segment?

  • Hi David,

    It is the same way you declare variables in the information memory or in the main memory. The differences are you need to configure the MPU registers to get the accessing rights. Please according to the user's guide MPU chapter.

    Best regards,

    Cash Hao

  • The way to do it is to declare the variables first, then do the following:

    int16_t __attribute__((section(".infoD"))) intvariable1, intvariable2,........;
    uint8_t __attribute__((section(".infoD"))) charvariable1, charvariable2, .........;
    The compiler will take care of putting these variables into the infoD section of the memory.

**Attention** This is a public forum