Daniel Rogers

rouge memory changes

Discussion created by Daniel Rogers on Jan 14, 2007
Latest reply on Jan 17, 2007 by bigmac
I have an issue where buy if I reset my design by pressing the reset button it works fine. Values are as they should be.
 
If I reset it by turning the power off and on the values are changed.
 
This is happening in portion of code that has no access to the values that are changing. The value in question is in the middle of the internal memory allocation. It is not close to the Stack or the end of the memory area. I have increase the stack to be sure it is not being over flowed. The value is corrict dirrectly prior to calling a routine and as soon as the routine is entered it is incorrect.
 
This value doesent chage when the code is reset by hardware!!!!!!!!!!!!!
 
Has anybody come accross anything like this before.
 

Outcomes