3.5 PICkit On-Board 4 (PKOB4) and Debugger/Programmer Selection

The WBZ451HPE Curiosity Board includes an integrated programmer and debugger MPLAB® PICkit On-Board 4 (PKOB4). This new generation of In-Circuit Debugger, requires no additional programming/debugging tool to get started.

Features and capabilities of PKOB4:
  • Connects to a computer through high-speed USB 2.0 (480 Mbits/s) cable
  • Programs the device using MPLAB X IDE or MPLAB IPE
  • Supports multiple hardware and software breakpoints, stopwatch and source code file debugging
  • Debugs the application in real time
  • Sets breakpoints based on the internal events
  • Monitors the internal file registers
  • Debugs at full speed
  • Configures the pin drivers
  • Field-upgradeable through an MPLAB X IDE firmware download
  • Indicates debugger status through on-board LEDs, demonstrating the development board’s functionality and features
The PKOB4 on the WBZ451HPE Curiosity Board provides support for programming and debugging of the target device (WBZ451HPE module) through the USB Type-C connector (J7) from the Host PC.
Note:
  • As the WBZ451HPE module supports the UART interface, the WBZ451HPE Curiosity Board employs a USB-UART Virtual COM Port instead of the standard PKOB4 Virtual COM Port. The on-board MCP2200 (U18) acts as a USB to the UART converter with hardware flow control support.
  • The data gateway interface feature of PKOB4 is not used in the WBZ451HPE Curiosity Board.

By default, the on-board debugger (PKOB4) is connected to the programming pins (SWDIO and SWDCLK) of the WBZ451HPE module.

The voltage level translators are provided on signals between the PKOB4 and WBZ451HPE module for supporting target voltage from 1.9-3.6V.

Two PKOB4 LEDs indicate:
  • Green (D1) – ACTIVE indicator
  • Yellow (D2) – STATUS indicator

In addition, the Curiosity Board supports external debuggers, such as MPLAB ICD5 by connecting to the Debug Connector (J36).

The WBZ451HPE programming/debugging through PKOB4 and external debugger is supported at the target voltage of 3V and at room temperature. For more details, refer to the PIC32CX-BZ2 Family Silicon Errata Sheet (DS80001043).

The Debug Connector (J36) follows the standard ARM® SWD 10 pinout. For more details on the debug header schematics, refer to Figure 5-22. MPLAB ICD5 can be connected to the Debug (DBG) header using the Debugger Adapter Board (AC102015). For more details, refer to www.microchip.com/DevelopmentTools/ProductDetails/AC102015.

Table 3-4. SWD Debug Connector Details
Pin Number of DBG HeaderPin NameDescription

1

VCC

WBZ451HPE, also for other instances of RF module power supply

2

SWDIO

PB9, SWD programming data

3

GND

Ground

4

SWCLK

PB8, SWD programming clock

5

GND

Ground

6

SWO

PB7, optional trace output

7

NC

No connection

8

NC

No connection

9

GND

Ground

10

RESET

RF module’s Reset NMCLR pin