We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I have got a problem when I debug a program with uLink2 into XC164CS. When I take steps, the arrow is staying in these instructions in infinite loop. What these 3 instructions means?. Help me please. Thanks img221.imagevenue.com/img.php
It means something like this:
unsigned char volatile var; /* at address DPP3:0x3BF6 */ ... while (var == 0) { /* wait */ }
Actually, assembly language is not that hard. Look up the reference manual on XC166 instruction set.
Hi, Another thing. Sometimes, when I load the program, I get this phrase in the output window of uVision3:
Load "C:\\Documents and Settings\\iker\\Escritorio\\Getting_started_RTC\\RTC\\RTC\\RTC" Erasing... Erase Done. Programming Done. Hardware, Software or Watchdog Reset detected. Verify OK. Application running ...
"Hardware, Software or Watchdog Reset detected."
Therefore, the program is debugged correctly step by step. Why and when does it happen? Thank you for you helps. :D
I don't know. Maybe the flash programming routine resets the MCU after the program is uploaded? If so, it seems this is normal operation.