| Electronic Components Datasheet Search |
|
R8C2K Datasheet(PDF) 394 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R8C2K Datasheet(HTML) 394 Page - Renesas Technology Corp |
|
394 / 471 page ![]() R8C/2K Group, R8C/2L Group 20. Flash Memory Rev.1.10 Dec 21, 2007 Page 377 of 450 REJ09B0406-0110 • Program Command The program command writes data to the flash memory in 1-byte units. When 40h is written and then data is written to the write address, an auto-program operation (data program and verify) starts. The FMR00 bit in the FMR0 register can be used to determine whether auto-programming has completed. When suspend function disabled, the FMR00 bit is set to 0 during auto-programming and set to 1 when auto- programming completes. When suspend function enabled, the FMR44 bit is set to 1 during auto-programming and set to 0 when auto-programming completes. The FMR06 bit in the FMR0 register can be used to determine the result of auto-programming after it has been finished (refer to 20.4.2 Status Check Procedure). Do not write additions to the already programmed addresses. Also, when the FMR02 bit in the FMR0 register is set to 0 (rewrite disabled), or the FMR02 bit is set to 1 (rewrite enabled) and the FMR15 bit in the FMR1 register is set to 1 (rewrite disabled), program commands targeting block 0 are not acknowledged. Figure 20.11 shows the Program Command in EW0 Mode (When Suspend Function Disabled). Figure 20.12 shows the Program Command in EW0 Mode (When Suspend Function Enabled). In EW0 mode, the MCU enters read status register mode at the same time auto-programming starts and the status register can be read. In this case, the MCU remains in read status register mode until the next read array command is written. Figure 20.11 Program Command in EW0 Mode (When Suspend Function Disabled) Start Write the command code 40h to the write address Write data to the write address FMR00 = 1? Full status check Program completed No Yes |
|
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 |