| Electronic Components Datasheet Search |
|
R8C2K Datasheet(PDF) 402 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C2K Datasheet(HTML) 402 Page - Renesas Technology Corp |
|
402 / 471 page ![]() R8C/2K Group, R8C/2L Group 20. Flash Memory Rev.1.10 Dec 21, 2007 Page 385 of 450 REJ09B0406-0110 20.4.4.1 Software Commands There are four types of software commands: • Read array • Clear status register • Program • Block erase Do not execute read status register command in EW1 mode. Figure 20.18 shows the Software Command Status Transition Diagram in EW1 Mode. Figure 20.18 Software Command Status Transition Diagram in EW1 Mode • Read Array Command The read array command reads the flash memory. When FFh is written to an address in the user ROM area, the MCU enters read array mode. In this mode, the contents of the specified address can be read. Read array mode continues until other commands are written. The MCU enters this mode after a reset is deasserted. • Clear Status Register Command The clear status register command sets the status register to 0. When 50h is written to an address in the user ROM area, bits FMR07 and FMR06 in the FMR0 register and bits SR5 and SR4 in the status register are set to 00b. Read array mode (FMR46 = 1 Reading enabled) Program Block erase Erase suspend Clear status register Program suspend FMR42 = 0 (Restart) Auto-erasure completed Write 1 to the FMR01 bit immediately after writing 0, and write 1 to the FMR11 bit immediately after writing 0. FMR01 = 0 Read array mode (FMR46 = 1 Reading enabled) No command required Reading only available Auto-programming completed 50h (Clear status register command) FMR41 = 0 (Restart) Interrupt (FMR41 = 1) 20h (Block erase command) Interrupt (FMR42 = 1) 40h (Program command) Write data (Programming starts) FFh (Read array command) D0h (Block erasure starts) CPU stops Auto-erase (FMR46 = 0 Reading disabled) Auto-program (FMR46 = 0 Reading disabled) Clear ends CPU rewrite mode (EW1 mode) Reset CPU rewrite disabled |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |