This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cygnal C8051F020 XRAM

Hi
I am using the Cygnal C8051F020 Microcontroller for one of my applications.I configured the keil Debugger to suit my application,(like downloading the code into my target etc..)with the debugger DLL that Cygnal has given.
I declared a variable in xdata(i.e, the onchip XRAM) and am setting the var to 0x01 in my External interrupt 0 ISR,When I stop the execution by inserting a break point at the same point, the variable shows continuous increments..even when the code execution is stopped!!!! Did anyone face this problem?I am not able to proceed further.What I could find is,if I declare the variable in idata its workin fine, but reverting back to xdata the problem's persisting.
Can anyone suggest a solution to this problem?
Thanks in advance,
Rajesh.