Hello! I've got the problem that the same code works different in debugging mode and in "normal" stand-alone mode. In debug mode - with or without any breakpoints - all works nice, but when I disconnect and run the program stand alone it doesn't work. I use the F020 with µVision2 V2.37 and C51 V7.05. Thanks for any hint! Astrid
I don't know that particular chip. But this:
RSTSRC == 0x08
(RSTSRC & 0x08) == 0x08
Hello! The while(1)-loop is within the else-part. The problem was the test indeed! Thanks very much!!