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

The WBZ351 Curiosity Board includes an integrated programmer and debugger MPLAB PICkit On-Board 4 (PKoB4), a new generation of In-Circuit Debugger (ICD), 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-Upgradable Through an MPLAB X IDE Firmware Download
  • Indicates Debugger Status Through On-Board LEDs Development Board Functionality and Features
The PKOB4 on the WBZ351 Curiosity Board is intended to support programming and debugging the target device (WBZ351PE Module) through the Micro-B USB connector (J7) from the host PC. The WBZ351 Curiosity Board does not use the other PKOB4 features, such as data gateway and PICKIT4 on-board virtual COM.

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

The voltage level translators are provided on signals between the PKoB4 and WBZ351PE Module for supporting target voltage from 1.9-3.6V.

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

In addition, the Curiosity Board supports external debuggers, such as MPLAB ICD4 by connecting to the program/debug connector (J36).

For more details, refer to the High-Performance Ultra-Low Power 2.4 GHz Wireless MCUs and Modules with 32-bit ARM® Cortex®-M4F, Secure Boot, Touch and 2 Msps 12-bit ADC Data Sheet (DS70005541).

Table 3-4. Resistor Position for Debugger Selection
On-Board PKOB4External Debugger

R53 mounted

R53 not mounted

R62 mounted

R62 not mounted

The program/debug connector (J36) follows the standard ARM SWD 10 pinout (see Figure 2-1). Connect the MPLAB ICD4 to the debug header using the debugger adapter board (AC102015). For more details, refer to the www.microchip.com/AC102015.

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

1

VCC

WBZ351, 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

WBZ351 Reset NMCLR pin