14.15.7 EE Data Memory Window

The EEPROM window displays EEPROM data for any microcontroller device that has EEPROM data memory (e.g., PIC16F1829). Data/opcode hex information of the selected device is shown.

For the MPLAB X Simulator, when an EEPROM register value changes or the processor is halted, the data in the EEPROM window is updated.

For any Microchip hardware debug tool (e.g., MPLAB PICkit 5 in-circuit debugger), when an EEPROM register value changes or the processor is halted, the data in the EEPROM window is NOT updated; you must either do a Debug Read of device memory, if the device/header supports this, or you must exit from the debug session and then read the device data.

The start of EEPROM data memory needs to be specified for use with programmers. The table below shows some generic values, but please check the programming specification for your selected device to determine the correct address.

Table 14-34. Programmer – Data EEPROM Start Address
DeviceGeneric Start Address
Midrange MCUs0x2100
Enhanced Midrange MCUs0x1E000
PIC18F MCUs0xF00000
PIC24 MCUs, dsPIC DSCs0x7FFE00
Figure 14-38. EE Data Memory Window with Content

EE Data Memory Window Display

This display format shows data in the following columns:

  • Address – Hexadecimal address of the data in the next column.
  • Data Blocks – Hexadecimal data, shown in 1-, 2- or 4-byte blocks, selectable from the menu.
  • ASCII – ASCII representation of the corresponding line of data.

EE Data Memory Window Icons

Icons are located on the left side of the window.

Table 14-35. EE Data Memory Window Icons
IconIcon TextFunction
Refresh by Read Device MemorySame function as the Debug toolbar, Read Device Memory icon - uploads device memory to the MPLAB X IDE.
FindSpecify a string to find in the window. Select to match whole word or case.
Find NextFind next instance of string from Find.
Find PreviousFind previous instance of string from Find.
Go ToGo to specified line number or address.

EE Data Memory Window Menu

Right click in the memory window data area to pop up the menu as in shown below.

Table 14-36. EE Data Memory Window Context Menu
ItemDescription*
Hex Display WidthHex Format Only

Set the hexadecimal display width.

(Options depend on the device selected).

Fill MemoryFill memory from Start Address to End Address with the value in Data.

Specify other options in the Fill Memory dialog.

Go ToGo to the address/function specified using the Go To dialog.
FindFind text specified using the Find dialog.
Output To FileWrite the displayed window contents to a text file using the Output to File dialog.
Import TableImport tabular data from a file into a Memory window using the Import Table dialog.
Export TableExport tabular data from a Memory window into a file using the Export Table dialog.
PrintPrint the contents of this window using the Print dialog.
Note: If you have a large memory device, the number of pages printed can become very large. A suggestion is to print the window contents to a file (Print dialog, General tab, Print to File check box) and then select which pages from the file you need to print.
Adjust Table ColumnsAdjust the columns automatically.