AnsweredAssumed Answered

Flag not set conditionally in flash

Question asked by kalpakn on Feb 17, 2010
Latest reply on Mar 1, 2010 by jeyanthi.jegadeesan

Hi All..

 

Another wierd happening with the TS201. I have a loop where I check for a certain value above a threshold in a buffer. I SET the DSP FLAG 1 if there is a value above the threshold else keep the default status of CLEARed.

 

The logic works well in the debugger mode and I am able to see the flag SET on the oscillscope. However, when I program my code in the flash, the Flag is not SET.

 

The interesting thing is, if I move the instructions that set the Flag OUTSIDE the checking loop to make the Flag setting business unconditional, it works well i.e. the Flag is Set in both debugger mode and when executing from flash. Any ideas?

 

Best Regards,

Kalpak

Outcomes