Skip to main content
Renesas Electronics America - Knowledgebase

Is it possible to use E1/E20 emulator to download into flash memory?

Latest Updated:03/27/2015


Is it possible to use the E1 or E20 emulator to download programs and data to the flash memory connected to the external bus of the RX microcontroller during debugging?


It is possible.

If the flash memory is compatible with the JEDEC or CUI commands and can be programmed by a single power supply, programs and data can be downloaded by wiring the user system so that the microcontroller can write data to external flash memory. However, this method is limited to debugging and cannot be used for programming at mass production.

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



  1. Design a user system allowing external flash memory to be programmed.
  2. Input the information on the flash memory in use and the information for connection to the user system (address, bus width, etc.) to the external flash definition editor (EFE) and generate a USD file.
    Note: For information on the external flash definition editor, refer to the datasheet from here.
  3. Register the generated USD file to the High-performance Embedded Workshop or CubeSuite+.
  4. Create a batch file (enables the external bus, enables the chip select pin, sets the number of wait states, etc.) that sets up the bus controller so that the microcontroller can access external flash memory.
    If the error message of "Maker ID or device ID for the external flash ROM is not corresponding. " is displayed at download, recheck the settings because it is highly possible that the created batch file is the cause.
    We also recommend adding the statement for selecting the high-speed CPU clock to the batch file because downloading may take an excessively long time or end abnormally if the low-speed CPU clock (low-speed on-chip oscillator) is selected.
  5. Register the batch file generated at step 4 to the High-performance Embedded Workshop or CubeSuite+ as the batch file to be executed before downloading programs and data.
  6. Using a normal download procedure, download a program including the data to be written to external flash memory.

Note that functions for downloading programs and data, performing single-step, and using an on-chip break in external flash memory can be used but functions that result in rewriting the contents of flash memory (rewriting flash memory in the Memory window or using a software break) cannot be used.

Suitable Products
RX Family
CS+ (formerly CubeSuite+)
High-performance Embedded Workshop
E1 [R0E000010KCE00]
E20 [R0E000200KCT00]
External Flash Definition Editor