I am using a PIC32mz2048efm144 uC. I wanted to know time taken for a routine called adc7768()
. When I go to
window->debugging->stopwatch
and try to debug it gets hung. Debug will not happen. I am using MPLAB V5.3 IDE.
I am using a PIC32mz2048efm144 uC. I wanted to know time taken for a routine called adc7768()
. When I go to
window->debugging->stopwatch
and try to debug it gets hung. Debug will not happen. I am using MPLAB V5.3 IDE.
Share Improve this question edited Jan 31 at 7:48 Mike 4,3086 gold badges23 silver badges43 bronze badges asked Jan 31 at 5:58 maxymaxy 692 silver badges10 bronze badges 3- 1 I guess the stopwatch only works with the simulator, not with the debugger. – Mike Commented Jan 31 at 6:30
- Thank you but for simulator also stopwatch option got disabled . – maxy Commented Jan 31 at 6:39
- 1 Maybe your IDE version is to old. Try to use the much newer v6.20. microchip/en-us/tools-resources/develop/mplab-x-ide#tabs – Mike Commented Jan 31 at 6:41
1 Answer
Reset to default 1There isn't any support for the simulator of the PIC32MZ2048EFM144 in MPLABX 5.3. This version is almost 15 years old. If you want full support for your controller, switch to MPLABX v6.20.
How to use the stopwatch:
- select Configuration -> Connected Hardware Tool -> Simulator
- Input your Instruction Frequency e.g. 1MHz (default one)
- Read your cycle count under Window -> Stopwatch