1.3.1 External Debugger Connections to the SG41

The PKoB4 on-board debugger will typically be all that is needed to program the PIC32CX1025SG41 microcontroller. If, for some reason, there is a desire to use an external debugger/programmer, there is an option to do this by populating some additional features of the board and following the procedure below.

Hardware Requirements

  1. Cortex Header: 2x5 50 mil pitch
    • Manufacturer: Amphenol FCI
    • Part Number: 20021111-00010T4LF
  2. PKoB4 Reset Header: 1x2 100 mil pitch
    • Manufacturer: Samtec Inc.
    • Part Number: TSW-102-07-G-S
  3. Jumper Cap: 100 mil pitch
    • Manufacturer: FCI
    • Part Number: 63429-202LF
  4. In-Circuit Debuggers:
  5. Adpater Kit: AC102015 ICD / PICkit Adapter Kit
: For items 1, 2 and 3, the ordering information provided serves as an example of devices that may be utilized. Alternative options are available.

External Debugger Connections to the SG41

  1. Populate J400, the 10-pin Cortex header.
    Restriction: This header needs to be an unshrouded connector due to limited space on the board.
  2. Populate J300, the PKoB4 Reset header. Ensure that the PKoB4 is in Reset mode to enable programming via the debugger.
  3. Place a jumper cap on the J300 header.
  4. Attach the PICKit debugger tool to the Cortex header, ensuring alignment with the pin 1 indicator.
  5. Connect the adapter kit to the USB debugger tool.
  6. Connect the adapter board to the EV89U05A using the 2x5 50 mil pitch cable.
  7. Connect the USB cable to the EV89U05A to supply power to the board.
  8. Attach a micro USB cable to the debugger.
  9. Launch either MPLAB® X IDE or MPLAB X IPE to program the board.