20.07.2015 Views

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

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.

Appendix Standard Serial I/O Mode (Flash Memory Version)Mitsubishi microcomputers<strong>M16C</strong> / <strong>62</strong> <strong>Group</strong>SINGLE-CHIP 16-BIT CMOS MICROCOMPUTERBlock Erase CommandThis command erases the data in the specified block. Execute the block erase command as explainedhere following.(1) Send the “2016” command code in the 1st byte of the transmission.(2) Send addresses A8 to A15 and A16 to A23 in the 2nd and 3rd bytes of the transmission respectively.(3) Send the verify command code “D016” in the 4th byte of the transmission. With the verify commandcode, the erase operation will start for the specified block in the flash memory. Write thehighest address of the specified block for addresses A16 to A23.When block erasing ends, the RTS1 (BUSY) signal changes from the “H” to the “L” level. After blockerase ends, the result of the block erase operation can be known by reading the status register. Formore information, see the section on the status register.Each block can be erase-protected with the lock bit. For more information, see the section on the dataprotection function.CLK1RxD1(<strong>M16C</strong> reception data)2016 A8 to A16 toA15 A23D016TxD1(<strong>M16C</strong> transmit data)RTS1(BUSY)Figure 1.31.7. Timing for block erasing259

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

Saved successfully!

Ooh no, something went wrong!