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 4 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.
Device | Generic Start Address |
---|---|
Midrange MCUs | 0x2100 |
Enhanced Midrange MCUs | 0x1E000 |
PIC18F MCUs | 0xF00000 |
PIC24 MCUs, dsPIC DSCs | 0x7FFE00 |
This display format shows data in the following columns:
Icons are located on the left side of the window.
Icon | Icon Text | Function |
---|---|---|
![]() |
Refresh by Read Device Memory | Same function as the Debug toolbar “Read Device Memory” icon - uploads device memory to the MPLAB X IDE. |
![]() |
Find | Specify a string to find in the window. Select to match whole word or case. |
![]() |
Find Next | Find next instance of string from Find. |
![]() |
Find Previous | Find previous instance of string from Find. |
![]() |
Go To | Go to specified line number or address. |
Right click in the memory window data area set to pop up the menu as in shown below.
Item | Description* |
---|---|
Hex Display Width | Hex
Format Only Set the hexadecimal display width. (Options depend on the device selected). |
Fill Memory | Fill memory
from Start Address to End Address with the value in Data. Specify other options in the Fill Memory dialog. |
Go To | Go to the address/function specified using the Go To dialog. |
Find | Find text specified using the Find dialog. |
Output To File | Write the displayed window contents to a text file using the Output to File dialog. |
Import Table | Import tabular data from a file into a Memory window using the Import Table dialog. |
Export Table | Export tabular data from a Memory window into a file using the Export Table dialog. |
Print 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 Columns | Adjust the columns automatically. |