9.2.1 Memories to Program
Select the memories to be programmed into the target.
If “Erase All Before Program” is selected under Program Options, then all device memory will be erased before programming. To select only certain memories to program after erase, check the specific memory type. To preserve the value of memory of different types, check to preserve that memory type and check the specific memory type; checking “Preserve Memory” writes the current contents to a buffer before erase, and checking “Memory” writes the contents back into that memory after erase, where Memory is the type of memory, such as EEPROM.
Auto select memories and ranges | Allow ICE 4 to Select Memories – The emulator uses your
selected device and default settings to determine what to
program. Manually select memories and ranges – You select the type and range of memory to program (see below). |
Configuration Memory (always programmed in debug mode) | Check to program configuration memory in release mode. For dual partition devices, another selection for partition 2 will be available. |
Memory | Check to program Memory. Types of memory include: Instruction RAM, Flash Data, Data Flash, EEPROM, ID, Boot Flash, Auxiliary. |
Memory Range(s) (hex)* | The starting and ending hex address range in Memory. Types of memory include: Instruction RAM. |
Program Memory | Check to program the target program memory range specified below. |
Program Memory Range(s) (hex)* | The starting and ending hex address range in program memory for
programming, reading, or verification. Note: The address range does not
apply to the Erase function. The Erase function will erase all data
on the device. |
Preserve Program Memory | Check to not program the target program memory range specified
below. Ensure code is NOT code protected. |
Preserve Program Memory Range(s) (hex)* | The starting and ending hex address range in target program memory to
preserve when programming, reading, or verifying. This memory is read from the target and overlayed with existing MPLAB X IDE memory. |
Preserve Memory | Check to preserve Memory for reprogramming. Types of memory
include: Instruction RAM, Flash Data, Data Flash, EEPROM, ID, Boot
Flash, Auxiliary. Ensure code is NOT code protected. |
Preserve Memory Range(s) (hex)* | The starting and ending hex address range in target Memory to
preserve when programming, reading, or verifying. Types of memory
include: Instruction RAM, Flash Data, Data Flash, EEPROM, Boot Flash,
Auxiliary. This memory is read from the target and overlayed with existing MPLAB X IDE memory. Ensure code is NOT code protected. |
* If you receive a programming error due to an incorrect range, ensure the range does not exceed available/remaining device memory. |