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

The WBZ451 Curiosity Board includes an integrated programmer and debugger MPLAB PICkit On-Board 4 (PKOB4), a new generation of In-Circuit Debugger, which 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 devices 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 LED's development board functionality and features
The PKOB4 on the WBZ451 Curiosity Board is intended to support programming and debugging the target device (WBZ451PE module) through the micro-B USB connector (J7) from the Host PC. Other PKOB4 features, such as data gateway and PICKIT4 On-Board Virtual COM Port are not used in the WBZ451 Curiosity Board.

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

The voltage level translators are provided on signals between PKOB4 and WBZ451PE module for supporting target voltage from 1.9V – 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 ICD4 by connecting to the Debug Connector (J36).

The WBZ451PE programming/debugging through PKOB4 and external debugger is supported at the target voltage of 3V and at room temperature. Refer to the PIC32CX-BZ2 Family Silicon Errata Sheet for more details.

The Debug Connector (J36) follows the standard ARM SWD 10 pinout as shown in the following figure. MPLAB ICD4 can be connected to the DBG header using the Debugger Adapter Board (AC102015). For more details, refer to www.microchip.com/DevelopmentTools/ProductDetails/AC102015.

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

1

VCC

WBZ451, 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 Reset NMCLR pin