哪位朋友遇到过同样的问题,给我指导一下把,谢谢啦!
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.
The warning message describes the difference between putting initializations of variables in RAM vs Flash. Variables that are stored in RAM and declared before the Main will not be properly initialized after a system reset. This might not be a problem for your system, it depends on what your implementation is. If you will remain powered on and connected after programming, the variables stored in RAM will not be erased and your program will run fine, after reset the system might fail.
To correct this, you can modify where your variables are stored and move them into Flash from RAM. There are numerous resources to help you with this. You can start here: http://processors.wiki.ti.com/index.php/C2000_Piccolo_One-Day_Workshop_Module_1#Linking_Sections_in_Memory (how to modify memory sections and where to allocate memory). These are declared in the .CMD Linker file.