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.
Does anybody know how I can measure the time between two breakpoints. I am using dscope monitor. Leo
It would be nice if MON166 was able to link in a user function to run when it hits a breakpoint. Ahhhh, but it can. Set a breakpoint that executes a debugger printf that reads and outputs the contents of one of the timer SFRs. Use the Breakpoints dialog to do this (it's easier). For the command, enter:
printf("I Got Here\n")
jon, Thank you for the response, I really meant that I would like the monitor to call my function on any breakpoint. What you suggest would work fine for timing measurments. Be aware that usint the printf in a real time system is a real problem sinc the monitor uses a polled I/O mode that blocks all other tasks. Eric