Importing 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 below.



File dialog box appears, navigate to the HEX file location (in the example below, the MPLAB®X project HEX file): _GettingStarted.X.production.hex is located at C:/MTT/TLS0101/_GettingStarted.X/dist/PIC24FJ128GA010/production. Select the HEX file, click Open.



The IPE then loads the HEX file to the IPE, in the output window, it shows
"Loading hex file. Please wait…"
"Loading code from C:\MTT\TLS0101\_GettingStarted.X\dist\PIC24FJ128GA010\production\_GettingStarted.X.production.hex…"

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


Device Selection Before Importing HEX File:
Before importing the HEX file, make sure the device which corresponds to the HEX file is selected. In the above example, the device is PIC24FJ128GA010. If a different device is selected, as in the figure below where device 11AA010 was selected, a memory address warning will occur when the IPE trys to import the HEX file.


Disabling Import HEX File Feature:
Because importing HEX file is enabled by default, to disable it you must first login to Advanced Mode. Click Production Mode option button located on the left side of the IPE window. Check off Allow Import Hex file. Click Log out to return to the Production Mode. See figure below:


20th Annual
Microchip MASTERs Conference 2016
Register now - Deadline: July 29

JW Marriott Desert Ridge Resort-Phoenix, AZ

© 2016 Microchip Technology, Inc.
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.