| Electronic Components Datasheet Search |
|
32182 Datasheet(PDF) 143 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
32182 Datasheet(HTML) 143 Page - Renesas Technology Corp |
|
143 / 755 page ![]() 6 6-8 INTERNAL MEMORY 32182 Group User’s Manual (Rev.1.0) 6.4 Registers Associated with the Internal Flash Memory 6.4.4 Flash Control Registers Flash Control Register 1 (FCNT1) <Address: H’0080 01E2> 123456 b7 b0 FEMMOD FENTRY 0 0 0 0 0 0 0 0 <After reset: H’00> b Bit Name Function R W 0–2 No function assigned. Fix to "0". 00 3 FENTRY 0: Normal read R W Flash E/W enable mode entry bit 1: Program/erase enable 4–6 No function assigned. Fix to "0". 00 7 FEMMOD 0: Normal mode R W Virtual flash emulation mode bit 1: Virtual flash emulation mode Flash Control Register 1 (FCNT1) consists of the following two bits to control the internal flash memory. (1) FENTRY (Flash Mode Entry) bit (Bit 3) The FENTRY bit controls entry to flash E/W enable mode. Flash E/W enable mode can only be entered when FENTRY = "1". To set the FENTRY bit to "1", write "0" and then "1" to the FENTRY bit in succession while the FP pin = "high". To clear the FENTRY bit, check to see that the FSTAT1 register FSTAT bit = "1" (ready) and then write "0" to the FENTRY bit. Note that the following operations cannot be performed while programming or erasing the internal flash memory (FSTAT1 register FSTAT bit = "0" (busy)). If one of these operations is attempted, the FENTRY bit is cleared to "0" in hardware. 1) Writing "0" to the FENTRY bit 2) Entering a low-level signal to the FP pin 3) Entering a low-level signal to the RESET# pin When running a program resident in the internal flash memory while the FENTRY bit = "0", the EI vector entry is located at the address H’0000 0080 of the internal flash memory. When running the flash write/erase program in the RAM while the FENTRY bit = "1", the EI vector entry is located at the address H’0080 4000 of the RAM, allowing the flash programming/erase operation to be controlled using interrupts. Table 6.4.1 Changes of the EI Vector Entry by FENTRY FENTRY EI Vector Entry Address 0 Internal flash memory area H'0000 0080 1 Internal RAM area H'0080 4000 (2) FEMMOD (Virtual Flash Emulation Mode) bit (Bit 7) The FEMMOD bit controls entry to virtual flash emulation mode. Virtual flash emulation mode is entered by setting the FEMMOD bit to "1" while the FENTRY bit = "0". (For details, see Section 6.6, “Virtual Flash Emulation Function.”) |
|
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 |