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.

<br />

<br />

<br />

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.2 Flash memory programming mode<br />

To rewrite the contents of the flash memory, set the <strong>RL78</strong>/<strong>D1A</strong> in the flash memory programming mode. To enter the<br />

mode, set as follows.<br />

<br />

Communication from the dedicated flash memory programmer is performed to automatically switch to the flash<br />

memory programming mode.<br />

<br />

Set the TOOL0 pin to the low level, and then cancel the reset. Keep the TOOL0 pin at the low level from the reset<br />

ends to 1 ms + software processing end, and then use UART communication to send the data “00H” from the external<br />

device. Finish UART communication within 100 ms after the reset ends.<br />

RESET<br />

TOOL0<br />

Figure 28-8. Setting of Flash Memory Programming Mode<br />

<br />

tSU<br />

tHD +<br />

soft proessing<br />

R01UH0317EJ0004 Rev. 0.04 1172<br />

Feb. 22, 2013<br />

tSUINIT<br />

<br />

00H reception<br />

(TOOLRxD, TOOLTxD mode)<br />

The low level is input to the TOOL0 pin.<br />

The pins reset ends (POR and LVD reset must end before the pin reset ends.).<br />

The TOOL0 pin is set to the high level.<br />

Setting of the flash memory programming mode by UART reception and complete the baud<br />

rate setting.<br />

Remark tSUINIT: The segment shows that it is necessary to finish specifying the initial communication settings within 100<br />

ms from when the resets end.<br />

tSU: How long from when the TOOL0 pin is placed at the low level until a pin reset ends<br />

tHD: How long to keep the TOOL0 pin at the low level from when the external and internal resets end (except<br />

soft processing time)

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

Saved successfully!

Ooh no, something went wrong!