Download Print this page

Download Function To The Flash Memory Area - Renesas HS0005KCU04HE User Manual

Multi-core emulator

Advertisement

Section 6 Tutorial
6.22

Download Function to the Flash Memory Area

The emulator enables downloading to the external flash memory area. This function requires a
program for programming the flash memory (hereinafter referred to as a write module), a program
for erasing the flash memory (hereinafter referred to as an erase module), and the RAM area for
downloading and executing these modules.
Notes: 1. The write and erase modules must be prepared by the user.
2. This function is not available depending on the MCU. For such an MCU, the [Loading
flash memory] page shown in figure 6.52 will not be displayed.
• Interface with write and erase modules and emulator firmware
The write and erase modules must be branched from the emulator firmware. To branch from
the emulator firmware to the write and erase modules, or to return from the write and erase
module to the emulator firmware, the following conditions must be observed:
⎯ Describe all the write and erase modules with the assembly language.
⎯ Save and return all the general register values and control register values before and after
calling the write or erase module.
⎯ Return the write or erase module to the calling source after processing.
⎯ The write and erase module must be a Motorola-type file.
The module interface must be as follows to pass correctly the information that is required
for flash memory accessing.
Rev. 1.00 Nov. 26, 2007 Page 200 of 230
REJ10J1766-0100

Advertisement

loading

This manual is also suitable for:

Superh e10a-usb