3.1 On-Board Debugger Overview
The PIC32CM3204GV00064 Curiosity Nano contains an on-board debugger for programming and debugging. The on-board debugger is a composite USB device consisting of several interfaces:
- A debugger that can program and debug the PIC32CM3204GV00064 in MPLAB X IDE.
- A virtual serial port (CDC) that is connected to a Universal Asynchronous Receiver/Transmitter (UART) on the PIC32CM3204GV00064 and provides an easy way to communicate with the target application through terminal software.
- A Data Gateway Interface (DGI) for code instrumentation with logic analyzer channels (debug GPIO) to visualize program flow.
The on-board debugger controls a Power and Status LED (marked as PS) on the PIC32CM GV-Value Line Curiosity Nano+ Touch board. The table below shows how the different operation modes control the LED.
Operation Mode | Status LED |
---|---|
Boot Loader mode | LED blinks slowly at 1 Hz during power up. |
Power-up | The LED is ON. |
Normal operation | The LED is ON. |
Programming | Activity indicator, the LED flashes slowly during programming or debugging. |
Fault | The LED flashes fast if a power fault is detected. |
Sleep/Off | LED is OFF. The on-board debugger is either in sleep-mode or power-down mode. This will occur only if the kit is externally powered. |
Info: Slow blinking is approximately 1
Hz, and rapid blinking is about 5 Hz.