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.
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
if you configure it as a watchdog, you do not get an interrupt or anything else, you get a reset. Set the breakpoint at address 0 Erik