| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
H8/3045 Datasheet(PDF) 634 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3045 Datasheet(HTML) 634 Page - Renesas Technology Corp |
|
634 / 905 page ![]() Section 19 Flash Memory (H8/3048F: Dual Power Supply (VPP = 12 V)) Rev. 7.00 Sep 21, 2005 page 610 of 878 REJ09B0259-0700 19.5.6 Erasing Flowchart and Sample Program Flowchart for Erasing One Block Start Write 0 data in all addresses to be erased (prewrite)*1 n = 1 Set erase block register (set bit of block to be erased to 1) Enable watchdog timer Wait initial value setting x = 6.25 ms *2 Select erase mode (E bit = 1 in FLMCR) Clear E bit Disable watchdog timer Set top address in block as verify address Select erase-verify mode (EV bit = 1) Wait (tVS1) µs Dummy write to verify address*3 (flash memory latches address) Verify (read memory)*4 Last address? Address + 1 → address Yes OK No No good No No Yes Yes Clear EV bit Clear erase block register (clear bit of erased block to 0) End of block erase Clear EV bit Erase error n ≥ N? n ≥ 5? Erase-verify ends Erasing ends n + 1 Double the erase time (x × 2 → x) → n Wait (z) µs V E PP Set bit ( bit = 1 in FLMCR) V E PP Clear bit V E PP Clear bit Wait (x) ms V E PP Wait (tVS2) µs Clear erase block register (clear bit of block to be erased to 0) Notes: 1. Program all addresses to be erased by following the prewrite flowchart. 2. Set the watchdog timer overflow interval to the value indicated in table 19.10. 3. For the erase-verify dummy write, write H'FF using a byte transfer instruction. 4. Read to verify data from the memory using a byte transfer instruction. 5. tVS1: 4 µs z: 5 to 10 µs tVS2: 2 µs N: 602 6. The erase time x is successively incremented by the initial set value × 2n–1 (n = 1, 2, 3, 4). An initial value of 6.25 ms or less should be set, and the time for one erasure should be 50 ms or less. *5 *5 *6 Figure 19.10 Erasing Flowchart |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |