Introduction to MPLAB® X Programmers/Debuggers and Starter Kits

Overview

Programmers/debuggers are hardware devices connected to both the computer runningMPLAB® X IDE and the MCU on the target hardware. Programmer/debuggers provide the ability to either program or to program-and-debug an application.

dev-system.png

Programming

Programming involves placing application code built by MPLAB X IDE and anMPLAB XC compiler into the non-volatile program memory of the MCU. After the MCU has been programmed, the application will begin running each time the MCU exits reset.

Clicking on theMake and Program DeviceMain_Program_Target_Project.png button will cause MPLAB X IDE to build the current project and program it into the device.

Debugging

Debugging enables you to interactively control the operation of the MCU and observe the devices registers and data variables. A special debug version of the application code is first programmed into the MCU's program memory. The programmer/debugger then acts as a communication conduit between MLAB X and the MCU providing you the ability to control and monitor application performance.

Clicking on theDebug Main ProjectMain_Debug_Project.png button will cause MPLAB X IDE to build and program a debug version of the application into the MCU.

Hardware Devices

Microchip offers a series of devices which enable both programming and debugging.

programmer-debuggers.png

Microchip programmers/debuggers vary in price, MCU support, programming speed, and debug capabilities.

Connecting to a Programmer/Debugger

The programmer/debuggers connect to the host computer through USB. The connection to the target board is made through one of two industry-standard connectors.

icd-connections.png

Starter Kits

To reduce the cost of developing applications, or evaluating MCUs, Microchip offers a set of Starter Kits. Starter kits are target boards containing both the MCU and the programmer/debugger functions. By using a starter kit, you will not have to purchase a programmer/debugger.

starter-kit.png

Although boards with embedded programmer/debuggers are commonly referred to by the generic name "starter kits", they may each have their own product brand names such as Curiosity, Xplained, or Express boards,