User`s manual

RX600 & RX200 Series Simple Flash API for RX
R01AN0544EU0250 Rev.2.50 Page 14 of 33
March 4, 2014
3.2 Viewing Programmed/Erased Flash Memory in HEW
Use of the Memory window inside HEW or e
2
studio to view the flash memory contents after an erase or write will not
work under the default debugger settings. The reason for this is that the IDE will cache the flash memory contents when
the debug session starts and will not refresh the values after the program/erase command finishes. There is an option
when connecting though that specifies you are using CPU rewrite code and therefore to refresh the flash memory values.
This option will also inform the debugger to not cause ROM or data flash access violations when flash operations are
on-going. How to enable this feature is shown below.
In HEW:
This option is in the ‘Configuration Properties’ window that will come up when connecting to the E1, E20, or J-Link.
Depending on which version of the debugger software is installed, you may see different options. The screenshots
below show the different screens that may be presented. First switch to the ‘System’ tab. If using an earlier version of
the debugger software (as shown below on the left) then check the box next to ‘Debug the program using the CPU re-
write mode’. If using a newer version of the software then you will likely see the screenshot on the right. In this case
check the boxes next to the memory areas you will be programming or erasing. If programming or erasing both, then
check both boxes as shown below. Now when using the memory window the current flash memory values will be
displayed.