40.8 Programming and Debug Ports

For initial evaluation, the Curiosity evaluation board can be used. It supports programming and debugging through the onboard embedded debugger; therefore, an external programmer or debugger is not required.

For programming and debugging the PIC32CM6408PL10, the device must be connected using the Serial Wire Debug (SWD) interface. The SWD interface is supported by several Microchip and third-party programmers and debuggers.

Refer to the relevant Microchip user guides for details on debugging and programming connections and options. For connecting to any third-party programming or debugging tool, refer to the specific programmer or debugger user guide.

By default, the SWCLK pin is internally pulled up after reset.

An external pull-up resistor on the SWCLK pin is critical for reliable operation. A weak pull-up (resistor value in the range of tens to 100 kΩ) on the SWDIO pin is also considered best practice.

Figure 40-11. SWCLK Circuit Connections
Table 40-6. SWCLK Circuit Connections
Pin NameDescriptionRecommended Pin Connection
SWCLKSerial wire clock pinPull-up resistor: 1 kΩ