Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

Can E1 or E20 emulator be used to download data to flash memory?

Latest Updated:09/22/2014

Question:

Can we use the E1 or E20 emulator to download data to flash memory connected to the external bus of a V850 microcontroller while debugging is in progress?

Answer:

Downloading is possible by making a connection on the user system so that data can be written by the microcontroller to external flash memory.
Note, however, that this method is only usable for debugging and cannot be used for writing data in mass production.

Outline of procedure for downloading to flash memory connected to the external bus

  1. Design a user system in which data can be written to external flash memory.

  2. Obtain the external flash memory information file (*.fbd) which is to be used when downloading data to external flash memory.
    Download the external flash memory information file from here. Please contact us if the desired external flash memory information file (*.fbd) does not exist.

  3. Map the target flash memory in the [Memory mappings] category of the [Debug Tool Settings] tabbed page on the Property panel. Then specify the memory type of the target memory area.

  4. Set up the external bus. Change the peripheral I/O register settings to select the external bus so that the target device can access flash memory. Though the peripheral I/O register settings can be changed from the IOR panel, you will need to set up individual registers. For this reason, we recommend the use of hook transaction. By selecting the [Before download] property in the [Hook Transaction Settings] tabbed page on the Property panel, the hook process can change the register settings all at once before download.

  5. Register the flash memory information. In the [External Flash Memory Download] category of the [Debug Tool Settings] tabbed page on the Property panel, register the external flash memory information file (*.fbd) or set the start address, data bit width, etc.

  6. Following the normal download procedure, download a program including the data to be written to external flash memory.


  7.  

Note that facilities for downloading data to external flash memory, performing stepped execution, and generating an on-chip break are usable but facilities that require rewriting of flash memory (rewriting of flash memory from a memory window and generating a software break) cannot be used. The following notes are also applied.

  • When sector protection is set for external flash memory, data cannot be erased or changed.
  • When using a device with the facility to disable erasure or writing when the power is turned on or off, erasure or writing cannot be performed because the device-specific command to release lock is not supported.
  • Access (read, erasure, or write) cannot be made because device-specific commands for making access to special sectors, such as the secured silicon sector area which can permanently hold data like ESN (electric serial number) that can be randomly assigned are not supported.
Suitable Products
V850 Family
CS+ (formerly CubeSuite+)
High-performance Embedded Workshop
E1 [R0E000010KCE00]
E20 [R0E000200KCT00]
External Flash Definition Editor