User`s guide
MPLAB
®
IDE User’s Guide
DS51519B-page 166 © 2006 Microchip Technology Inc.
13.8 EXPORT HEX FILE DIALOG
The Export Hex File dialog is available from File>Export.
Use Export to save program memory, a section of program memory, EEPROM
memory, Configuration bits or user ID to a .hex file. There are two formats allowed.
The INHX32 format should be used for most purposes. The INHX8S format saves the
memory area as two files: one for the even bytes and one for the odd bytes. This is
useful where program memory is stored in pairs of external 8-bit wide memory chips.
To export a hex file:
1. Click on the File Format tab. Select the Hex file format.
2. Click on the Memory Areas tab. Select which memory areas to export and, if
applicable, their range.
3. Click OK.
4. In the Save As dialog, enter the name and directory location of the file and click
Save.
13.9 EXTERNAL MEMORY SETTING DIALOG
Some PICmicro MCU and dsPIC DSC devices support extended program memory
through the use of off-chip or external memory. These devices have modes you may
select, such as Extended Microcontroller (some on-chip and some off-chip program
memory) and Microprocessor (all off-chip program memory).
To enable external memory use in a debug tool, a device that supports this feature must
be selected (Configure>Select Device
). Then you may select Configure>External
Memory. This will open the External Memory Setting dialog.
• Use External Memory – Enable/disable external memory use
• Address Range – The Start address is always set at the end of internal memory.
Enter the End address for external memory
Once enabled, the external program memory will appear in the program memory
window.
Click OK to save your changes and close the dialog. Click Cancel to close the dialog
without saving your changes.