The new MPLAB® Xpress supported hardware tools currently are:
- MPLAB Snap in-circuit debugger/programmer
- MPLAB PICkit™ 4 in-circuit debugger/programmer
- Curiosity and Curiosity Nano boards
Preparing the Project and Tool
To prepare to program your code using a hardware tool:
- Ensure your project builds without errors.
- If using MPLAB Snap or MPLAB PICkit 4, ensure the debugger is connected to a target.
- Connect your hardware to the PC using a USB port.
Starting the USB Bridge Tool
MPLAB Xpress needs a program called USB Bridge to connect to your local USB port. This allows MPLAB Xpress to send a compiled HEX file to a supported hardware tool.
If this is the first time you have used a hardware tool with your project:
- Click on the Project Properties icon on the Dashboard.
- Click on your hardware tool under Debug Tool. Text and a link will appear below.
- Click on the here link.
You will now see the Manage USB Bridge window. Follow the instructions on the dialog to install the USB Bridge.
The running USB Bridge Tool application will appear as in Figure 3.
Connecting to the USB Bridge ToolFor tips on connecting and debugging, click on the Hardware Debug Tips icon on the toolbar.
To connect to the USB Bridge Tool, click on the Connect to USB Bridge icon.
You can see that the tool is connected in the USB Bridge Tool application.
Open the Project Properties dialog again to see that the specific debug tool is available.