how to get the stopwatch to work? The t0,t1,t2 as shown in the attachment, always stay at 0.00000000sec. Thanks
how to get the stopwatch to work? The t0,t1,t2 as shown in the attachment, always stay at 0.00000000sec. Thanks
Maybe too late, but in the debugger click on the "Registers" tab to ensure it is visible. The stopwatch apparently uses the SEC register but the debugger does not read that unless the registers window is in view - strange but true: Found in "Uncle Dave's" answer at https://stackoverflow.com/questions/15934229/keil-ide-stopwatch-not-working-in-debug-mode
It will work without trace, but will update only when you hit a breakpoint or stop the debugger. YMMV.
Maybe too late, but in the debugger click on the "Registers" tab to ensure it is visible. The stopwatch apparently uses the SEC register but the debugger does not read that unless the registers window is in view - strange but true: Found in "Uncle Dave's" answer at https://stackoverflow.com/questions/15934229/keil-ide-stopwatch-not-working-in-debug-mode
It will work without trace, but will update only when you hit a breakpoint or stop the debugger. YMMV.