AnsweredAssumed Answered

Fixed variables in section of Coldfire RAM

Question asked by Ross Wolin on Nov 6, 2010
Latest reply on Nov 9, 2010 by Ross Wolin

I'm doing some work with a 5225x Coldfire and would like to be able to store certain variables In the battery backed-up first 16K of SRAM. We are using the 7.2 Code Warrior version, and Processor Expert... what's the easiest way to do this? I tried using define_section and __declspec() but was getting the "variable is referenced but has not been written" error from the linker. I suspect I have not set up the memory correctly... could you tell me how to do this with Processor Expert, or barring that how to edit the linker command file? Thanks! Ross