HS7705KCI02H Renesas Electronics America, HS7705KCI02H Datasheet - Page 115

no-image

HS7705KCI02H

Manufacturer Part Number
HS7705KCI02H
Description
ON CHIP DEBUG EMULATOR W/TRACE
Manufacturer
Renesas Electronics America
Datasheets

Specifications of HS7705KCI02H

Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
3.22 Download Function to the Flash Memory Area
Note: The write/erase module must be prepared by users.
Table 3.6 Module Interface
Module Name
Write module
Erase module
Note: The (L) means the longword size.
Note: Write module:
The E10A emulator enables downloading to the flash memory area. This function requires a
program for writing 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.
Describe all the write/erase modules with the assembly language.
Guarantee all the general/control register values before and after calling the write/erase
module.
Return the write/erase module to the calling source after processing.
Interface with write/erase module and E10A emulator firmware
The write/erase module is branched from the E10A emulator firmware. To branch from
the E10A emulator firmware to the write/erase module or to return from the write/erase
module to the E10A emulator firmware, the following conditions must be observed:
The module interface must be as follows to pass correctly the information that is required
for flash memory accessing.
The write data for the access size is set to the R6 register. When the access size is
word or byte, 0 is set to the upper bit of the R6 register.
R4(L): Write address
R7(L): Verify option
0 = no verify,
1 = verify
R5(L): Access size
0x4220 = byte,
0x5720 = word,
0x4C20 = longword
R6(L): Write data
0x4220 = byte,
0x5720 = word,
0x4C20 = longword
Argument
R4(L): Access size
Return Value
R0(L): End code
Normal end = 0,
Abnormal end = other than 0,
Verify error = BT
None
89

Related parts for HS7705KCI02H