View Full Version : EEPROM Dump Utility?

02-24-2010, 03:31 AM
Is there a utility program I can use to dump the memory from the EEPROM on my homework board?

Note that "Memory Map" just shows the program on your pc and not the actual memory from the homework board.

I am writing programs, which when run, modify the memory in the EEPROM. So I want to see what is going on with the EEPROM after my program has run.

Mike Green
02-24-2010, 03:51 AM
There is no utility to dump the EEPROM. In fact, the only way to dump the contents of the EEPROM is to include that function in your program or download a new program to the EEPROM (overwriting your program) that does it. It's usually more useful to have a specific program or program function that formats your data in a useful fashion.

A simple program to dump all of memory to the debug window of the Stamp Editor would be:

address var word
mydata var byte
for address = 0 to 2047
read address,mydata
debug hex3 address, " ", hex2 mydata,cr

Making it look pretty and more compact "is an exercise for the reader".

Phil Pilgrim (PhiPi)
02-24-2010, 03:52 AM
Here is a program that dumps "most" of EEPROM. It will overwrite part of the program that resides there, though. But, if all you're interested in is the lower-addressed data area, it might do what you want.


02-24-2010, 04:17 AM
I can see!

That works great. Thanks guys!

02-28-2010, 05:33 PM
Here are a couple of EEPROM dump programs I modified so they list the addresses in hex on each line to the left like theˇBasicˇStampˇeditor Memory Map.

One of the attached displays in HEX.

The other displays in ASCII characters, but onlyˇif the value is 32 decimal or higher. Below that value and it displays a ".".ˇ (Those are control characters and they will make the screen go haywire if displayed on the screen!)