P89V51RD2 view memory

Started by Annibal Abreu, September 28, 2004, 05:23:41 PM

Previous topic - Next topic

Annibal Abreu

Hi.

Flash Magic 2.07  for P89V51RD2

1) doesn't allow you erase only bytes used by HEX file.
It erase all memory !

If you have code in lower 64Kbytes and you try to load another code in the upper side. FlashMagic erase the code in the lower side.

2) you can't select memory size to see. It loads the flash memory and it doesn't stop the mouse of "flashing". It seems to try to load all the time, without stop.

Andy Ayre

Flash Magic erases all the blocks used by the hex file. For this device there is only one flash block, so the whole memory is erased.

If you want to erase only some of the Flash pages, choose Erase Flash Pages from the ISP menu. You can also set up a batch file to repeatedly erase the same set of Flash Pages if you wish.

The view memory feature views memory one block at a time. Because there is only one block, the whole memory is viewed. It is read it in chunks and displayed in chunks, so while it is reading in you should still be able to scroll down to the section you are interested in. You can close the window at any time.

Embedded Systems Academy, Inc.
support at esacademy dot com

Jesus Calvino-Fraga

It is true that there is just one big user block of 64k, but it is split in 512 sectors that can be erased individually.  An option to erase only the flash sectors used by the hex file wouldn't be that hard to add to FlashMagic.  The drawback is that erasing each sector takes aproximatelly 20 milliseconds, which adds up to 10 seconds if the whole flash were to be erased this way.

Jesus


Andy Ayre

Thanks for the suggestion. We'll add it to our list for inclusion in a future version.

Embedded Systems Academy, Inc.
support at esacademy dot com