The RL78 family MCU is being debugged using E1 or E20. Though downloading programs after making the setting (*) of flash ROM to be erased before download, the data flash area is not erased.
Is there a way to erase data flash memory before downloading programs?
* Select [Yes] for [Erase flash ROM before download] in the Property panel's [Download File Settings] tab of E1 or E20.
In the CubeSuite+, there is no method to erase the data flash area before downloading programs.
After programs have been downloaded, memory areas including the data flash area can be initialized collectively using the following procedure.
- After downloading programs, right-click in the Memory panel.
- Select [Fill...] from the context menu to display the Memory Initialize dialog box.
- Specify an address range of memory whose values need to be initialized in [Start address/symbol] and [End address/symbol], specify the initialization data to be written into memory in [Initialize data], and click the [OK] button.
Note that the RFP (Renesas Flash Programmer) can be used to erase all flash memory areas including the data flash area before downloading programs.
For details, refer to the Renesas Flash Programmer User's Manual.
|CS+ (formerly CubeSuite+)|
|Renesas Flash Programmer|