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.
Table 3-2. Memory Settings
Setting Description
Note: The options available will vary depending on the device and too selected. The following may not show every possible option.
Allow select memories and ranges Select either “Allow (tool) to Select Memories” or “Manually select memories and ranges.”
Configuration Memory When selected, this setting allows the tool to program the configuration memory.
Auxiliary Memory When selected, this setting allows the tool to program the auxiliary memory.
Flash Data When selected, this setting allows the tool to program the Flash data.
EEPROM When selected, this setting allows the tool to program the EEPROM.
ID When selected, this setting allows the tool to program the User IDs.
Boot Flash When selected, this setting allows the tool to program the Boot Flash.
Program Memory When selected, this setting allows the tool to program the program memory.
Program Memory Range(s)(hex) The address range in Hex of the program space that will be programmed.
Preserve Program Memory When selected, this setting allows the tool to preserve the program memory.

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.

Note: The MPLAB PM3 programmer does not support the Preserve Memory options in the environment .pm3 files.
Preserve Program Memory Range(s)(hex) The address range in Hex of the program space that will be preserved.
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.
Reset Returns addresses to default settings.

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.