Part Number: MSP430FR5969 Hi, I'm trying to place some persistent variables into FRAM on the MSP430FR5969 using the current GCC compiler. I am using a make file to build the project. I do NOT use CCS ide. I have checked that the linker script has a .PERSISTENT section declared, but am unable to get the variable to change. For example: void myFunction(void) { __attribute__ ((persistent)) uint8_t count = 0; printf("The count:%u", count++); } when I call myFunction(), count does not increment. Everything compiles ok, and there is a .persistent. segment reported by the linker. Any ideas as to why I can't get count to increment? Thanks, Peter Philippa.
↧