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.
- 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
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.
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.
Pin Number of DBG Header | Pin Name | Description |
---|---|---|
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 |