Setting Up a Programmer in MPLAB® IPE

Last modified by Microchip on 2023/11/10 11:02

Supported Tools

To program your device, make sure the programming tools are supported by MPLAB® Integrated Programming Environment (IPE). See the "MPLAB IPE Supported Programming Tools"page.

Back to Top

Selecting Device Family and Devices

After launching the MPLAB IPE icon from your computer desktop, click on the Family drop-down menu. You now can select the family of the device you wish to program.

Device selection, Family drop-down menu expanded

MPLAB IPE then automatically filters the devices associated with the 8-bit and MCP device families. In the accompanying figure, MCP19110 is highlighted in blue as the selected device.

Device Selection, MCP19110 device selected

By clicking on the Device drop-down menu, you can now select other PIC24 devices.

Device Selection, Device drop-down menu expanded

After you selected the device you wish to program, click Apply to configure the IPE to the current device.

Device selection, PIC16F690 device selected

Back to Top

Selecting the Tool

Use the Tool drop-down menu to select the tool you want to use. If more than one development tool is connected to your computer, select the one you wish to use, as shown in the accompanying figure.

Tool drop-down menu showing a PICkit 4 connected

Back to Top

Connecting the Tool

Click on the Connect button (next to the Tool name) to establish a connection between the IPE and the tool.

Connect button highlighted

MPLAB IPE scans tools in real time. If the IPE detects a tool that is connected to your computer, the Tool drop-down menu indicates the tool's serial number. The accompanying figure shows that PICkit™ 4 S.No: BUR213372723 is connected to the computer.

Image showing connected tool is PICkit 4 S.No: BUR213372723

Back to Top

Output Window

After the IPE is successfully connected to the tool, you'll see the output showing the target device is detected.

When the tool is connected, any messages or errors related to this tool will be displayed in the Output window as shown in the accompanying figure. After the tool is successfully connected, you are now able to program the device with the IPE. See the video tutorial on basic device programming using MPLAB IPE.

setting-up-programmer-output-mrt337758.png

Back to Top

Import an Existing HEX File

MPLAB IPE allows you to import an existing HEX file to the IPE. By default, the importing HEX file feature is enabled.

Launch MPLAB IPE. Click File which is located at the upper left of the IPE window.

Select Import > Hex, as shown in the accompanying figure.

Selecting File>Import>Hex to import a Hex file


File dialog box appears, navigate to the HEX file location
Select the HEX file and click Open.

Dialog box to browse for and select Hex file


The IPE then loads the HEX file to the IPE. In the output window, it shows:
"Loading hex file. Please wait…"

If the HEX file was imported successfully, the output window of the IPE will show a time stamp and "Hex file loaded successfully."

Output window shows Hex file loaded successfully

Back to Top