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/MSP430G2744: Problem with a GLOBAL ARRAY and its VARIABLES in Code Composer Studio v.7

Part Number: MSP430G2744

Tool/software: Code Composer Studio

Good Morning everybody!

In my program I need to place my array BUFFER_EEPROM at the beginning of the RAM and, as suggested by George Mock (in this conversation: ).

The problem of today is that when I try to change a value in my array in another .c file, linked with the main of the project, I get the error "identifier BUFFER_EEPROM is undefined" by Code Composer Studio.

So I tried to put the definition of the array and its #pragma LOCATION in the header file but in this case I gets the errors "BUFFER_EEPROM first initialized in "prova_visualizzazioni.obj" then redefined in "main.obj"".

All I want is that the BUFFER_EEPROM 's variables could be accessed by different .c files (that share some specific header files with the definition needed) in the same CCS project.

What's wrong in my thinking?

Which is the best way to achieve a good result and solve the errors generated by the Code Composer Studio?

Below you can find a project example of what I mean.

1460.Example_Project.zip

I hope someone colud really help me to resolve this problem!

Thanks and Regards,

Maria Angela