maxy
maxy

Reputation: 69

Stopwatch for PIC32mz2048efm144 microcontroller is always disabled

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.

Upvotes: 1

Views: 57

Answers (1)

Mike
Mike

Reputation: 4288

There 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 enter image description here

Upvotes: 1

Related Questions