52.7 Programming and Debug

For programming and/or debugging the PIC32CM LE00/LS00/LS60, the device should be connected using the Serial Wire Debug, SWD, interface. Currently the SWD interface is supported by several Microchip and third party programmers and debuggers.

The PIC32CM LE00/LS00/LS60 Curiosity Pro evaluation board supports programming and debugging through the on-board embedded debugger so no external programmer or debugger is needed.

Refer to the related Microchip User Guides for details on debugging and programming connections and options. For connecting to any other programming or debugging tool, refer to that specific programmer or debugger’s user guide.

Debugging and Programming Pins

The SWDIO and SWCLK pins are used for In-Circuit programming and debugging purposes. It is recommended to keep the trace length between the debug external connector and the debug pins on the device as short as possible to minimize ESD/EMI vulnerabilities. If the debug external connector is expected to experience an ESD event, a series resistor is recommended, with the value in the range of a few tens of Ohms, not to exceed 100 Ohms with protection using Transient Voltage Suppressors (TVS), at the user’s discretion.

Important: SWCLK pin is by default, internally pulled-up after reset.
Note: Serial Wire Interface recommendations can be found in the Basic 32-Bit MCU Design and Troubleshooting Checklist guide on the Microchip web site.