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 MICROCOMPUTERSoftware CommandsTable 1.31.1 lists software commands. In the standard serial I/O mode, erase operations, programs andreading are controlled by transferring software commands via the RxD pin. Software commands areexplained here below.Table 1.31.1. Software commands (Standard serial I/O mode)Control command 2nd byte 3rd byte 4th byte 5th byte 6th byte1 Page read2 Page program3 Block erase4 Erase all unlocked blocks5 Read status register6 Clear status register7 Read lockbit status8 Lockbit program9 Lockbit enable10 Lockbit disable11 ID check function12 Download function13 Version data output function14 Boot area output functionFF 1641 1<strong>62</strong>0 16A7 1670 1650 1671 1677 167A 1675 16F5 16FA 16FB 16FC 16Address(middle)Address(middle)Address(middle)D0 16SRDoutputAddress(middle)Address(middle)Address(low)Size(low)VersiondataoutputAddress(middle)Address(high)Address(high)Address(high)SRD1outputAddress(high)Address(high)Address(middle)Size(high)VersiondataoutputAddress(high)DataoutputDataoutputDataoutputDataoutput to259thbyteData inputto 259thbyteTo ID7Versiondata outputto 9th byteDataoutput to259th byteWhen ID isnot verificateNotacceptableNotacceptableNotacceptableNotacceptableAcceptableNotacceptableNotacceptableNotacceptableNotacceptableNotacceptableAcceptableNotacceptableAcceptableNotacceptableNote1: Shading indicates transfer from flash memory microcomputer to peripheral unit. All other data is transferredfrom the peripheral unit to the flash memory microcomputer.Note2: SRD refers to status register data. SRD1 refers to status register 1 data.Note3: All commands can be accepted when the flash memory is totally blank.DatainputD0 16Lock bitdataoutputD0 16Address(high)ChecksumVersiondataoutputDataoutputDatainputID sizeDatainputVersiondataoutputDataoutputDatainputID1Torequirednumberof timesVersiondataoutputDataoutput256

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

Saved successfully!

Ooh no, something went wrong!