Working With Hardware Tools

The new MPLAB® Xpress supported hardware tools currently are:

Preparing the Project and Tool

To prepare to program your code using a hardware tool:

  1. Ensure your project builds without errors.
  2. If using MPLAB Snap or MPLAB PICkit 4, ensure the debugger is connected to a target.
  3. 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:

  1. Click on the Project Properties DashboardIcon_ProjProp.png icon on the Dashboard.
  2. Click on your hardware tool under Debug Tool. Text and a link will appear below.
  3. Click on the here link.
Figure 1

You will now see the Manage USB Bridge window. Follow the instructions on the dialog to install the USB Bridge.

Figure 2

The running USB Bridge Tool application will appear as in Figure 3.

Figure 3

Connecting to the USB Bridge Tool

For tips on connecting and debugging, click on the Hardware Debug Tips HardwareDebugTips_Icon.png icon on the toolbar.

To connect to the USB Bridge Tool, click on the Connect to USB Bridge ConnectToUSBBridge_Icon.png icon.

You can see that the tool is connected in the USB Bridge Tool application.

Figure 4

Open the Project Properties dialog again to see that the specific debug tool is available.

Figure 5

Programming and Running Your Application

Select the MPLAB Xpress Make and Program Device ProgramDevice_Icon.png icon.
© 2021 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.