04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 28 FLASH MEMORY<br />

28.5.4 Communication commands<br />

The <strong>RL78</strong>/<strong>D1A</strong> communicates with the dedicated flash memory programmer or external device by using commands.<br />

The signals sent from the flash memory programmer or external device to the <strong>RL78</strong>/<strong>D1A</strong> are called commands, and the<br />

signals sent from the <strong>RL78</strong>/<strong>D1A</strong> to the dedicated flash memory programmer or external device are called response.<br />

Figure 28-9. Communication Commands<br />

Dedicated flash<br />

memory programmer<br />

PG-FP5, FL-PR5 E1<br />

External device<br />

(such as microcontroller<br />

and ASIC)<br />

Command<br />

Response<br />

<strong>RL78</strong>/<strong>D1A</strong><br />

The flash memory control commands of the <strong>RL78</strong>/<strong>D1A</strong> are listed in the table below. All these commands are issued<br />

from the programmer or external device, and the <strong>RL78</strong>/<strong>D1A</strong> perform processing corresponding to the respective<br />

commands.<br />

Table 28-7. Flash Memory Control Commands<br />

Classification Command Name Function<br />

Verify Verify Compares the contents of a specified area of the flash memory with<br />

data transmitted from the programmer.<br />

Erase Block Erase Erases a specified area in the flash memory.<br />

Blank check Block Blank Check Checks if a specified block in the flash memory has been correctly<br />

erased.<br />

Write Programming Writes data to a specified area in the flash memory.<br />

Getting information<br />

Security<br />

Others<br />

Silicon Signature Gets the <strong>RL78</strong>/<strong>D1A</strong> information (such as the part number, flash<br />

memory , and firmware version configuration).<br />

Checksum Gets the checksum data for a specified area.<br />

Security Set Sets security information.<br />

Security Get Gets security information.<br />

Security Release Release setting of prohibition of writing.<br />

Reset Used to detect synchronization status of communication.<br />

Baud Rate Set Sets baud rate when UART communication mode is selected.<br />

The <strong>RL78</strong>/<strong>D1A</strong> returns a response for the command issued by the dedicated flash memory programmer or external<br />

device. The response names sent from the <strong>RL78</strong>/<strong>D1A</strong> are listed below.<br />

Table 28-8. Response Names<br />

Response Name Function<br />

ACK Acknowledges command/data.<br />

NAK Acknowledges illegal command/data.<br />

R01UH0317EJ0004 Rev. 0.04 1174<br />

Feb. 22, 2013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!