MPLAB-IPE-Users-Guide-DS50002227_unlocked
MPLAB-IPE-Users-Guide-DS50002227_unlocked
User's Guide
MPLAB IPE User's Guide
Important:
All documentation becomes dated, and Development Tools manuals are no exception.
Our tools and documentation are constantly evolving to meet customer needs, so some
actual dialogs and/or tool descriptions may differ from those in this document. Please
refer to our website (www.microchip.com/) to obtain the latest version of the PDF
document.
Documents are identified with a DS number located on the bottom of each page. The
DS format is DS<DocumentNumber><Version>, where <DocumentNumber> is an 8-digit
number and <Version> is an uppercase letter.
For the most up-to-date information, find help for your tool at
onlinedocs.microchip.com/.
Table of Contents
Notice to Development Tools Customers..........................................................................................................................1
1. Introduction................................................................................................................................................................... 4
1.1. Conventions Used in This Guide...................................................................................................................... 4
1.2. Recommended Reading.................................................................................................................................... 4
3. General Setup................................................................................................................................................................ 9
3.1. Launching the MPLAB IPE Application.............................................................................................................9
3.2. Setting Up the Programmer............................................................................................................................. 9
3.3. Advanced Mode Login..................................................................................................................................... 11
3.4. Advanced Mode Settings................................................................................................................................ 13
5. Revision History........................................................................................................................................................... 40
5.1. Revision A (December 2013)...........................................................................................................................40
5.2. Revision B (August 2015).................................................................................................................................40
5.3. Revision C (March 2017)..................................................................................................................................40
5.4. Revision D (June 2018).....................................................................................................................................40
5.5. Revision E (April 2020)..................................................................................................................................... 40
5.6. Revision F (December 2021)........................................................................................................................... 41
5.7. Revision G (November 2022).......................................................................................................................... 41
5.8. Revision H (April 2023).................................................................................................................................... 41
5.9. Revision I (February 2025).............................................................................................................................. 41
6. Support......................................................................................................................................................................... 42
6.1. Warranty Registration..................................................................................................................................... 42
6.2. Personalized Notification Service.................................................................................................................. 42
Customer Support.............................................................................................................................................................. 43
Legal Notice......................................................................................................................................................................... 44
Trademarks......................................................................................................................................................................... 45
1. Introduction
®
This chapter contains general information that will be useful to know before using the MPLAB
Integrated Programming Environment (IPE) installed. This document is compatible with the version
of the IPE installed with MPLAB X IDE v6.0 or greater.
Please read this first! This document contains important information about operational issues that
should be considered when using the MPLAB IPE with your target design.
MPLAB X IDE Online Help
This is an essential document to be used with any Microchip hardware tool.
This is an extensive help file for the MPLAB X IDE. It includes an overview of embedded systems,
installation requirements, tutorials, details on creating new projects, setting build properties,
debugging code, setting configuration bits, setting breakpoints, programming a device, etc. This help
file is generally more up-to-date than the printable PDF of the user’s guide (DS50002027) available
as a free download at www.microchip.com/mplabx/.
Release Notes for MPLAB IPE
For the latest information on using the MPLAB IPE, read the notes under “Release Notes and
Support Documentation” on the MPLAB X IDE Start Page. The release notes contain updated
information and known issues that may not be included in this guide.
MPLAB IPE Online Help File
A comprehensive help file for the MPLAB IPE is included with MPLAB X IDE. This help file may be
more up-to-date than the printed documentation.
Processor Extension Pak and Header Specification (DS50001292)
This booklet describes how to install and use headers. Headers are used to better debug selected
devices, without the loss of pins or resources. See also the PEP and Header online Help file.
Transition Socket Specification (DS51194)
Consult this document for information on transition sockets available for use with headers.
SQTP File Format Specification (DS50002539)
This document shows how a Serial Quick Turn Programming (SQTPSM) file is produced and used by
®
MPLAB IPE Integrated Programming Environment. Engineers can use this information to generate
their own SQTP file.
Once you’ve installed the software, the IPE application can be accessed through the MPLAB IPE icon
on your desktop or startup menu.
• Advanced Mode – a feature-rich GUI interface in which you can view and change the settings for
programming operations, and set up a production user interface for use on the manufacturing
floor. To enable Advanced Mode, see Setting Up the Programmer.
3. General Setup
®
Getting started with the MPLAB IPE is discussed in this chapter.
2. Click Apply to configure the IPE to the current device (for example, Target Memory Views,
checksum).
3. Connect the development tool to the PC and attach the appropriate target board, device and
power. Refer to the tool’s online help for additional instructions and information on connecting
to target boards, etc.
4. Use the Tool drop-down menu to select the tool you want to use. If more than one development
tool is connected to the PC, select the one you wish to use.
5. Click the Connect button (next to the Tool name) to establish a connection between the IPE and
the tool.
6. When the tool is connected, any messages or errors related to this tool will be displayed in the
Output window (refer to the following figure).
7. After the tool is successfully connected, proceed to the next chapter to program the device with
the IPE.
If you forget the new password, click on Forgot Password under the Log in button. The Forgot
Password dialog opens where you can answer the security question used when you changed the
default password (microchip) to a new one. Once you enter the answer, click Submit and it
displays your password.
3.4.1 Operate
After validating the password to log in to the Advanced Mode, the dialog opens in the Operate view.
This display is similar to the main display, with the addition of option buttons located along the left
side of the window. The dialog shows the device and tool that has been selected (see Section 2.3
“Setting Up the Programmer”).
3.4.2 Power
The Power option is available only when a tool is connected. From the Advanced Mode dialog, click
Power to display the available settings. Depending on the tool and the device, only the options
available for that combination display.
Power options will vary for different device families and the tool selected. All of the settings and
parameters are similar to MPLAB X IDE.
...........continued
Setting Description
Programming Method Select either “Apply Vdd before Vpp” or “Apply Vpp before Vdd.”
Reset to defaults Returns voltages to their default settings.
3.4.3 Memory
From the Advanced Mode dialog, click Memory to display the available settings for the device
and tool you selected. You can control the memory address and other parameters related to a
programming operation. Some of the options in this window are also available on the main screen,
for viewing and to provide easy access to these settings.
Memory options will vary for different device families and the tool selected. All of the settings and
parameters are similar to MPLAB X IDE.
Note: The memory settings for the MPLAB PM3 Programmer may be different in versions of MPLAB
IPE prior to v3.60.
Preserve Program Memory The address range in Hex of the program space that will be preserved.
Range(s)(hex)
Preserve ID Memory When selected, the ID memory will not be programmed with any new data that is present in
the ID memory. Only available if device has user ID memory.
Note: PIC32M devices do not support preserving user ID or Boot memory.
The MPLAB PM3 programmer does not support the Preserve Memory options in the
environment .pm3 files.
If you wish to use any of the Preserve Memory options, first ensure that your code is not code-
protected. For memory to be preserved, the programmer reads the section it needs to save,
performs a bulk erase of the device, reprograms the device and then rewrites the area that is
preserved with what was saved. Therefore, this area cannot be code protected.
PIC32M devices do not support preserving User ID or Boot Memory.
3.4.4 Environment
Environments allow you to save settings, so that all of the same settings can be reloaded in another
programming session. Environments are supported, under all tools, as either .pen files or .pm3 files.
Note: MPLAB PM3 programmer does not support the Preserve Memory options in the
environment .pm3 files.
From the Advanced Mode dialog, click Environment to display the available settings.
SQTP File Browse or enter the SQTP file name used in the environment.
Save to PM3 Card Saves the environment file to a MPLAB PM3 SD card destination. See ADD LINK TO REFERENCE SECTION
Save Firmware into PM3 SD Card for additional information on saving multiple operating system
firmware to the SD card.
Save to PC Saves the environment file to a destination on the PC.
Copy Opens the Copy Environment dialog to select source and destination for copying the environment.
Browse Environments Tab
Browse on: Select either PC or MPLAB PM3 Card.
PC When the PC is selected, it opens the PM3 Environment file selection browser for you to select an
environment to load into the MPLAB PM3.
MPLAB PM3 Card When this option is selected, it opens the PM3 Card browser for you to select an environment from the
files on the PM3 Card. In the browser, you can:
View the properties of the PM3 SD Card.
Format the PM3 SD card.
Select an environment to load into the MPLAB PM3; the information displays in the Environment Settings
window.
Select an environment to delete from the PM3 Card.
Select an environment to view information; information displays in the Environment Settings window.
Environment Displays information related to the selected environment file such as Name, Path and Environment
Information Description. From here, you can select to clear the information or load the environment into the MPLAB
PM3.
3.4.5 SQTP
SQTP (serial quick turn programming) is used to program a unique serial number into each device.
This number can be used as an entry code, password or ID number. From the Advanced Mode
dialog, click SQTP to display the available settings.
Note: The programmers and tools currently do not support SQTP with serial memory devices.
Therefore, the function to import the SQTP file will not be available.
If using SQTP with MPLAB PM3, see “Using SQTP with MPLAB PM3” below for additional information.
If using PIC32 devices, see “Using SQTP with PIC32 Devices” below for information on the import
methods. For information about how the SQTP files are produced, refer to the SQTP File Format
Specification (DS50002539).
Pseudo-Random Select this option to generate a pseudo-random set of non-repeating numbers based on
Seed Value (Hex): the Hex value you enter into the Seed Value field.
Also enter the start address, number of bytes and number of parts in the corresponding
fields.
Sequential Select this option to generate sequential numbers based on the starting value specified
Start Value (Hex): and incrementing each number by the amount specified.
Increment (Dec): Also enter the start address, number of bytes and number of parts in the corresponding
fields.
Configuration:
Start Address (Hex) Enter the starting address (in Hex) for the serial number.
Number of Bytes (Dec) Enter the size of the serial number (in decimal).
Make sure a large enough serial number is specified for the number of parts planned to
program using this file.
Number of parts (Dec) Enter the number of parts to be programmed using this file.
Location:
Program Memory Select this option to load the SQTP number in program memory.
EEPROM Select this option to load the SQTP number in EEPROM.
Auxiliary Memory Select this option to load the SQTP number in auxiliary memory.
User OTP Memory Select this option to load the SQTP number in One-Time Program memory.
User ID Memory Select this option to load the SQTP number in user ID memory.
Boot Memory Select this option to load the SQTP number in boot memory.
Flash Data Select this option to load the SQTP number in Flash memory.
Access Method:
RETLW Select this option to use a series of RETLW (Return Literal W) instructions with the serial
number bytes as the literal data.
Raw Data Select this option to use the raw data.
Format for PSV If the Raw Data option is selected, selecting Format for PSV formats SQTP data to make it
compatible with PSV (Program Space Visibility).
Programming Options:
Disable operations of SQTP Select this option to cease programming if there are no more SQTP values available.
values are exhausted
Display the next SQTP sequence Select this option to display the information in the output window.
in the output window
Generate Click Generate to create the SQTP (.num) file.
For PIC32 devices only, starting with MPLAB IPE v3.15, a dialog box, similar to the one below,
is provided to choose either 32-bit byte order (12345678) or 16-bit byte order (56781234) when
loading an SQTP file.
3.4.6 Production
From the Advanced Mode dialog, click Production to display the available settings.
The Production Settings dialog enables authorized personnel to select the options that are available
during production programming. The options that are selected in the Production Settings (see table
below) determine which commands will be available under the main IPE menu bar’s File, View, and
Settings menus when in Production Mode.
Select the appropriate settings for your production programming project by checking or unchecking
the settings. Selecting a check box in the Production Settings dialog causes a check mark to display
in front of that option under the Settings menu on the main IPE menu bar.
A check mark indicates that an option has been set in the Advanced Mode. If the item is available
and has a check mark, then the production specialist can control this item by toggling it on or off.
Allow Import Hex file Enables a production specialist to import Hex files.
If checked, this option displays under the File>Import menu.
Note: If using a Hex file in the IPE and the file is modified using Notepad, MPLAB X IDE, etc.,
outside of the IPE, a message displays: “File modified. The loaded hex file has been modified
externally. Would you like to reload hex file?”
Auto reset program stats Automatically resets the program statistics counter.
counter
Allow Import Multiple Hex This setting enables a production specialist to import multiple Hex files.
files If checked, this option displays under the File>Import menu.
Allow Import Environment This setting enables a production specialist to import environments.
If checked, this option displays under the File>Import menu.
Allow Import SQTP file This setting enables a production specialist to import SQTP files.
If checked, this option displays under the File>Import menu.
Limit the Program Count to If selected, this option limits the pass, fail, and total counts to the value that is entered into
the associated field.
This actually halts further programming operations from occurring.
To clear the counts on the main window, click Reset Counters.
...........continued
Setting Description
Allow “Verify Device ID before This setting activates this option in the Settings menu and enables a production specialist to
Program” under Settings control this option.
menu (Applicable only for This setting is valid only for tools that are capable of performing this function, for example,
PM3) MPLAB PM3.
Allow “Auto Download If selected, this option displays in the Settings menu and can be controlled by a production
Firmware” under Settings specialist.
menu If it is not selected, the IPE automatically downloads the latest firmware for the tool, if
needed.
Allow “Erase All before If selected, this option displays in the Settings menu and can be controlled by a production
Program” under Settings specialist.
menu (Applicable only for If it is not selected, the production specialist cannot control this option from the Settings
PM3 and Gen4) menu.
Note: This option will only be enabled under the Settings menu if the PM3 is connected. For
all other tools, this setting is set to true by default and cannot be changed.
Allow “PM3 Communication” If selected, this option is enabled and can be controlled by a production specialist.
under Settings menu If using the MPLAB PM3 programmer COM port (RS-232), you must select this option in
order to set the appropriate COM port.
Remove Read button from If this option is selected, the Read button is removed from the main window.
main window
Audible notification on If selected, this option generates a sound when programming completes successfully.
successful program
completion
Allow memory editing and Enables memory editing and filling of Execution Memory, Configuration Bits, User ID
filling Memory or Device ID Memory.
If enabled, this option is accessed in Production Mode from the
Window>Target Memory Views option.
Display EEPROM checksum in If selected, the EEPROM checksum is displayed in the output window. “EEPROM checksum”
the output window is the checksum of the EEPROM memory in the MCUs (PIC18F1220 for example) and not the
memory from the exclusive memory devices such as 11AA/LCxxx, 24AA/LC/FCxxx.
Display imported hex file If selected, the non-code protected checksum is displayed in the Results area.
checksum with CP=OFF A checksum is a calculated value (see the device programming specification for calculation)
that should match the value of the programmed device when performing a read of the
device. If selected, the CP=OFF checksum setting displays the checksum of the hex file
with the code protection bit disabled. This allows for a meaningful checksum value for hex
images with enabled code protection bits.
3.4.7 Settings
From the Advanced Mode dialog, click Settings to display the available options. If you are connected
to a Microchip tool there are additional options.
Reset device before or after Select this check box to reset the device before or after programming.
programming
Diagnostics
Logging Level Set the message logging level.
OFF: No logging.
SEVERE: Log severe (error) messages only.
WARNING: Log warning messages only.
INFO: Log informational messages only.
CONFIG: Log configuration information only.
FINE: Log some module-to-module communication.
FINER: Log more module-to-module communication.
FINEST: Log all module-to-module communication.
...........continued
Settings Description
Segments to Program Available only for devices with CodeGuard, for example, dsPIC33FJ12GP202.
Select the segments to program:
Full Chip Programming
Boot, Secure and General Segments
Secure and General Segments
General Segment Only
SQTP
Disable operations if SQTP Selecting the check box prohibits further programming if all SQTP values from the
values are exhausted specified .num file have been exhausted.
Display the next SQTP Select this check box to display the next SQTP sequence in the output window.
sequence in the output
window
Programming Method
This option allows you to choose the Test mode entry method for devices. This feature is supported by the tools which can
power the target (except for PM3).This setting refers to the order in which the Vpp and Vdd voltages will be applied when
programming/reading the target device.
Apply Vpp before Vdd This is the default setting.
(Recommended)
Apply Vdd before Vpp Caution is recommended when using this setting as it may have adverse side effects. This
option is available only when powering the device from the debug tool.
Tool Options
PGC Configuration Select either none, pull up or pull down. The default is pull down.
PGD resistor value (Kohms) Type in a resistor value from 0-50.The default value is 4.7 Kohms.
PGC resistor value (Kohms) Type in a resistor value from 0-50.The default value is 4.7 Kohms.
LED Brightness setting Select the level of brightness from 1 (darkest) to 10 (brightest); the default is 5.
PGD Configuration Select either none, pull up or pull down. The default is pull down.
Program Speed Select either Low, Normal or High. The default is Normal.
Program calibration memory Select if you want to program calibration memory.
Program Options
Erase All Before Program Select this check box to erase all before programming.
Programmer-To-Go
Image Name The default is “<your project name>_ptg,” but you can edit the name. This will be the folder
name on the microSDHC card that contains the appropriate files for Programmer-To-Go.
Send image to tool The check box is selected by default. With the box checked, the PTG image is created and
then sent to the microSDHC card in the connected MPLAB PICkit 4/5.
Program Device The check box is selected by default. When the check box selected, the device connected to
the MPLAB PICkit 4/5 is programmed.
Note: If both the Send image to tool and Program Device check boxes are unchecked, see
the MPLAB PICkit 4 In-Circuit Debugger User’s Guide topic on “Setting Up PTG Mode Without a
Memory Card.”
...........continued
Settings Description
Browse PTG Image This option will open a window with a set of options listed related to PTG image.
Once the Browse PTG Image option is selected, the follow options will display:
1. Delete Image: User selected PTG images from checkbox are selected for deletion of
image on SDCard.
2. Refresh Image: SDCard PTG images and its stats are refreshed.
3. Set Active Image: Selected image will be set as active.
4. Reset Stats: Selected image stats will be reset to 0.
5. Title Names:
a. Image Name: PTG image name
b. Total Count: Total number of programming count
c. Pass Count: Passed number of programming count
6. Active Image: Displays the current active image name.
7. Checkbox: Multiple PTG images ca be selected for deletion (refer to 1).
8. Selects the image as active (refer to 3).
9. Close: Closes the PTG window.
10. Select All: Check marked as select all for the deletion of images on the SDCard.
...........continued
Settings Description
Note: Refer to this image for a visual on what selecting all for the deletion of images will look like on the screen.
Bluetooth Settings
Buetooth Setting Select the Bluetooth mode either On or Off. The default is Do not change.
ATSAML11E14A
ATSAML11E15A
ATSAML11E16A
PIC32CM2532LE00048
PIC32CM2532LE00064
PIC32CM2532LE00100
PIC32CM5164LE00048
PIC32CM5164LE00064
PIC32CM5164LE00100
PIC32CM2532LS00048
PIC32CM2532LS00064
PIC32CM2532LS00100
PIC32CM5164LS00048
PIC32CM5164LS00064
PIC32CM5164LS00100
PIC32CM5164LS60048
PIC32CM5164LS60064
PIC32CM5164LS60100
3.4.8 Logout
After the settings are selected, click Logout to save your settings, exit the Advanced Mode, and
return to the main window.
...........continued
Item Description
Family Filters devices by family or recently used.
Device Specifies the device; click Apply to select.
Tool Specifies the tool; click Connect or Disconnect as appropriate.
Results:
CP=OFF Checksum This field displays only if enabled in Advanced Mode.
Displays the imported hex checksum as if code protect is off for the device with current memory
contents; value can be copied using CTRL+C.
Checksum Checksum value for the device with current memory contents; value can be copied using CTRL+C.
Pass Count Details the number of programming operations that passed.
Fail Count Details the number of programming operations that failed.
Total Count The total number of programming operations.
Command Buttons:
Program Programs the device.
Erase Erases the device.
Read Reads the device.
Verify Performs a verify operation on the device.
Blank Check Checks whether the device is blank.
Other:
Hex File The Hex file location, Browse to locate the file.
SQTP The SQTP file location, Browse to locate the file.
Output Tab Display of output data.
Right-click in the Output window to access additional options.
Tool Tab Display of specific tool data, for example, PM3, ICD 4, PICkit 4.
4.2.1 File>Export
The Export menu item allows you to export data from IPE to storage media. By default, these
commands are not available in Production Mode. However, in Advanced Mode, an authorized user
can change the default states of this feature for the Production Mode.
®
File>Export>Hex – this command allows you to export all the memory contents into Intel Hex file
format.
4.2.2 File>Import
The Import menu item allows you to import various files into the IPE. By default, these commands
are not available in Production Mode. However, in Advanced Mode, an authorized user can change
the default states of this feature for the Production Mode.
• File>Import>Environment – select to import (load) the environment (*.pen or .pm3 file).
• File>Import>Hex – select to import a hexadecimal file (*.hex).
Note: If using a Hex file in the IPE and the file is modified using
Notepad, MPLAB X IDE, etc., outside the IPE, the following message displays:
4.2.3 File>Exit
This command closes the IPE application.
Verify Device ID Before This command is only appropriate when using devices that have device IDs.
Program
Erase All Before Program This command is used to control whether or not the contents of the device will be erased before
it is programmed.
It is not applicable to One-Time-Programmable (OTP). When the “Erase All Before Program”
command is enabled (check box is selected), the device will be erased before it is programmed.
If it is disabled (unchecked), the device will not be erased before it is programmed.
Auto Download This command is available only for legacy tools (MPLAB ICD 3, PICkit 3 and PM3). If this command
Firmware* is selected, the application verifies that the firmware is the latest available; and if needed,
downloads the newer firmware automatically.
...........continued
Setting Description
Manual Download This command is available only for legacy tools (MPLAB ICD 3, PICkit 3 and PM3) and enables
Firmware* manual download of firmware. The Firmware Browser dialog opens and locates directory
containing the latest PM3.jar firmware file. Click on the Firmware File, then click OK to download
the firmware.
Save Firmware into SD This command downloads the operating system firmware into an SD Card that has been inserted
Card into the connected MPLAB PM3 programmer. See Section 3.3.2 “Save Firmware into PM3 SD
Card”.
Hold in Reset This command prevents the code from running after programming.
Release from Reset This command removes the Reset and allows the code to run.
PM3 Communication This command is only used with the MPLAB PM3 programmer.
This command opens the PM3 Communication Setting dialog. Use this dialog to set
communications for COM or USB ports. See Section 3.3.3 “PM3 Communication Setting Dialog”
for more information.
*The download of firmware will not occur until the connect/disconnect button is clicked or a
programming operation is performed.
After each device actions operation, the respective message is displayed as shown in the following
table.
Device Actions Description
Set DAL 0 DAL is now 0.
Note: Once the DAL 0 is applied,the device is protected and restrict programming and debug access to
Secure and Non-Secure resources in the system.
...........continued
Device Actions Description
Chip Erase_All CE2 Chip Erase Done. DAL is now 2.
Note: The DAL is combined with three key-protected ChipErase commands and the DAL value is set
accordingly.
4.5.2 Packs
The Packs feature allows the user to install or uninstall the respective DFP and Tool Packs from the
Pack Manager window.
...........continued
Option Description
Update Connection Type Click to update changes.
Selectable Network Tools
Disable All Network Tool Discovery/Access Select the checkbox to disable.
Active Discovered Network Tools Lists the discovered tools. Click Rescan to update the list.
Name - type in the field, then click Update Name.
Use Type and Serial Number for Name checkbox - select to
use instead of entering a name.
Found at IP Address - enter address
User Specified Network Tools Lists the tools. Click New to add or select a tool and click
Remove to delete.
Use Type and Serial Number for Name checkbox - select to
use instead of entering a name.
Found at IP Address - enter address. Click Renew once
entered.
4.5.4 Plugins
The Tools menu provides access to Plugins. Select Plugins to display the Plugins Manager. For
details, see the topic: Manage Plug-ins found in microchipdeveloper.com/mplabx:plugins. If MPLAB
X IDE is installed, see the MPLAB X IDE Help file, Additional Tasks, Add PlugIn Tools.
Only use this utility to restore hardware tool boot firmware to its factory
state. Use only if your hardware tool no longer functions on any machine.
The hardware tool may need to be forced into recovery boot mode (reprogrammed) in rare
situations; for example, if any of the following occurs when the tool is connected to the computer:
• If the tool has no LED lit.
• If the procedure described in Hardware Tool Emergency Firmware Boot Recovery Utility was not
successful.
YOU MUST USE MPLAB X IDE V4.15 OR GREATER TO USED THE EMERGENCY RECOVERY UTILITY.
Carefully follow the instructions found in MPLAB X IDE under the main menu options Debug >
Hardware Tool Emergency Boot Firmware Recovery.
If the MPLAB X IDE or MPLAB IPE cannot communicate with the debugger, the debugger may need
to be forced into bootload mode (download new firmware). Some possible reasons could be the
following:
• If steps 1-5 in did not correct the debugger issue.
• If the MPLAB X IDE Output window shows an asterisk (*) next to the Application version number,
the debugger’s firmware is not the newest.
This can occur if the Project Properties Firmware options has the “Use Latest Firmware” box
unchecked and there is a new firmware version available with the MPLAB X IDE version.
In this case, check the “Use Latest Firmware” box and click the Refresh Debug Tool Status Icon
in the MPLAB X IDE dashboard display. If there is still an asterisk next to the Application
version number, or the debugger issue is not resolved, proceed to the following steps for
bootload mode.
Perform the following steps to force the debugger into bootload mode:
1. Disconnect the Micro-B USB cable from the debugger.
2. Press down on the MPLAB PICkit 4 logo and hold while plugging in the Micro-B USB cable.
The light strip flashes purple. Continue pressing the logo until the light strip stops flashing and
changes to steady on purple. You are now in bootload mode.
3. Try to reestablish communication with the MPLAB X IDE or MPLAB IPE. If successful, the latest
firmware is downloaded. When complete, the LED is steady on blue and the debugger is ready
for operation.
Enable the fuse bits configuration and set the size from the Option field.
5. Revision History
5.1 Revision A (December 2013)
Initial release of this document.
• Replaced screen for Select Applications Dialog in the “Software Installation Requirements”
section.
• Removed the “Feature Matrix” section.
• Added a new heading for “Multiple Instances of IPE” in Launching the MPLAB IPE Application
section.
• Replaced screen for Advanced Mode Login and added screen for Change Password and Forgot
Password dialogs.
• Updated Production Settings table.
• Updated Special Settings table, added information for tool and device packs and other options
including Programmer-To-Go, JTAG, etc. Also removed PM3 program speed option and screen.
6. Support
Please refer to the items discussed here for support issues.
• Warranty Registration
• Personalized Notification Service
Customer Support
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Embedded Solutions Engineer (ESE)
• Technical Support
Customers should contact their distributor, representative or ESE for support. Local sales offices are
also available to help customers. A listing of sales offices and locations is included in this document.
Technical support is available through the website at: www.microchip.com/support
Examples:
• PIC16LF18313- I/P Industrial temperature, PDIP package
• PIC16F18313- E/SS Extended temperature, SSOP package
Notes:
1. Tape and Reel identifier only appears in the catalog part number description. This identifier is
used for ordering purposes and is not printed on the device package. Check with your Microchip
Sales Office for package availability with the Tape and Reel option.
2. Small form-factor packaging options may be available. Please check www.microchip.com/
packaging for small-form factor package availability, or contact your local Sales Office.
Legal Notice
This publication and the information herein may be used only with Microchip products, including
to design, test, and integrate Microchip products with your application. Use of this information
in any other manner violates these terms. Information regarding device applications 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. Contact your local Microchip sales office for
additional support or, obtain additional support at www.microchip.com/en-us/support/design-help/
client-support-services.
THIS INFORMATION IS PROVIDED BY MICROCHIP "AS IS". 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 ANY IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR
PURPOSE, OR WARRANTIES RELATED TO ITS CONDITION, QUALITY, OR PERFORMANCE.
IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL, OR
CONSEQUENTIAL LOSS, DAMAGE, COST, OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE
INFORMATION OR ITS USE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE
POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW,
MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO THE INFORMATION OR
ITS USE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO
MICROCHIP FOR THE INFORMATION.
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 unless otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, Adaptec, AVR, AVR logo, AVR Freaks, BesTime,
BitCloud, CryptoMemory, CryptoRF, dsPIC, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer,
LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST,
MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer,
QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer,
Tachyon, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip
Technology Incorporated in the U.S.A. and other countries.
AgileSwitch, APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, Flashtec,
Hyper Speed Control, HyperLight Load, Libero, motorBench, mTouch, Powermite 3, Precision Edge,
ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet- Wire, SmartFusion, SyncWorld, Temux, TimeCesium,
TimeHub, TimePictra, TimeProvider, TrueTime, and ZL are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut,
Augmented Switching, BlueSky, BodyCom, Clockstudio, CodeGuard, CryptoAuthentication,
CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic
Average Matching, DAM, ECAN, Espresso T1S, EtherGREEN, GridTime, IdealBridge, In-Circuit Serial
Programming, ICSP, INICnet, Intelligent Paralleling, IntelliMOS, Inter-Chip Connectivity, JitterBlocker,
Knob-on-Display, KoD, maxCrypto, maxView, memBrain, Mindi, MiWi, MPASM, MPF, MPLAB Certified
logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net,
PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, RTAX, RTG4, SAM-
ICE, Serial Quad I/O, simpleMAP, SimpliPHY, SmartBuffer, SmartHLS, SMART-I.S., storClad, SQI,
SuperSwitcher, SuperSwitcher II, Switchtec, SynchroPHY, Total Endurance, Trusted Time, TSHARC,
USBCheck, VariSense, VectorBlox, VeriPHY, ViewSpan, WiperLock, XpressConnect, and ZENA are
trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.
The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered
trademarks of Microchip Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary
of Microchip Technology Inc., in other countries.
All other trademarks mentioned herein are property of their respective companies.
© 2025, Microchip Technology Incorporated and its subsidiaries. All Rights Reserved.
ISBN: 979-8-3371-0647-2
AMBA, Arm, Arm7, Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, Cordio, CoreLink, CoreSight, Cortex,
DesignStart, DynamIQ, Jazelle, Keil, Mali, Mbed, Mbed Enabled, NEON, POP, RealView, SecurCore,
Socrates, Thumb, TrustZone, ULINK, ULINK2, ULINK-ME, ULINK-PLUS, ULINKpro, µVision, Versatile
are trademarks or registered trademarks of Arm Limited (or its subsidiaries) in the US and/or
elsewhere.