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

debug - break on watchdog reset?

I'm using 87C51RA+ which includes watchdog timer on the PCA Module 4

I have been trying to set up a conditional break using the uVision2 Debug|Breakpoints dialog box.

MAT4 and TOG4 are both set in the watchdog startup code with the following:
CCAPM4 = 0x4C;

From what I understand, CCF4 should toggle high when the watchdog is activated, but the following breakpoint does not work during debug:
CCF4 == 1

Other experimenting has given similar results, I tried:
CCAP4H == CH & CCAP4L == CL
with the same results, the break does not occur, yet the watchdog does kick off and reset occurs.

Am I missing something? Any other tricks to getting a breakpoint to work on the watchdog?

Thanks,
Scott Kelley