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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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 />

Table 28-9. Relationship Between Enabling Security Function and Command<br />

(1) During on-board/off-board programming<br />

Valid Security<br />

Executed Command<br />

Block Erase Write<br />

Prohibition of block erase Blocks cannot be erased. Can be performed. Note<br />

Prohibition of writing Blocks can be erased. Cannot be performed.<br />

Prohibition of rewriting boot cluster 0 Boot cluster 0 cannot be erased. Boot cluster 0 cannot be written.<br />

Note Confirm that no data has been written to the write area. Because data cannot be erased after block erase is<br />

prohibited, do not write data if the data has not been erased.<br />

(2) During self programming<br />

Valid Security<br />

Prohibition of block erase<br />

Prohibition of writing<br />

Executed Command<br />

Block Erase Write<br />

Blocks can be erased. Can be performed.<br />

Prohibition of rewriting boot cluster 0 Boot cluster 0 cannot be erased. Boot cluster 0 cannot be written.<br />

Remark To prohibit writing and erasing during self-programming, use the flash sealed window function (see 28.7.2 for<br />

detail).<br />

(1) On-board/off-board programming<br />

Table 28-10. Setting Security in Each Programming Mode<br />

Security Security Setting How to Disable Security Setting<br />

Prohibition of block erase Set via GUI of dedicated flash memory Cannot be disabled after set.<br />

Prohibition of writing<br />

programmer, etc.<br />

Execute security release command<br />

Prohibition of rewriting boot cluster 0<br />

Cannot be disabled after set.<br />

Caution The security release command can be applied only when the security is not set as the block erase<br />

prohibition and the boot cluster 0 rewrite prohibition with code flash memory area and data flash<br />

memory area being blanks.<br />

(2) Self programming<br />

Security Security Setting How to Disable Security Setting<br />

Prohibition of block erase Set by using flash self programming Cannot be disabled after set.<br />

Prohibition of writing library.<br />

Execute security release command during<br />

on-board/off-board programming (cannot<br />

be disabled during self programming)<br />

Prohibition of rewriting boot cluster 0<br />

Cannot be disabled after set.<br />

R01UH0317EJ0004 Rev. 0.04 1177<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!