Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

H8/3021 Datasheet(PDF) 503 Page - Renesas Technology Corp

Part # H8/3021
Description  16-Bit Single-Chip Microcomputer
PDF  712 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

H8/3021 Datasheet(HTML) 503 Page - Renesas Technology Corp

Back Button H8/3021 Datasheet HTML 499Page - Renesas Technology Corp H8/3021 Datasheet HTML 500Page - Renesas Technology Corp H8/3021 Datasheet HTML 501Page - Renesas Technology Corp H8/3021 Datasheet HTML 502Page - Renesas Technology Corp H8/3021 Datasheet HTML 503Page - Renesas Technology Corp H8/3021 Datasheet HTML 504Page - Renesas Technology Corp H8/3021 Datasheet HTML 505Page - Renesas Technology Corp H8/3021 Datasheet HTML 506Page - Renesas Technology Corp H8/3021 Datasheet HTML 507Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 503 / 712 page
background image
15. ROM
Rev.2.00 Mar. 22, 2007 Page 479 of 684
REJ09B0352-0200
15.7.4
Erase Mode
To erase an individual flash memory block, follow the erase/erase-verify flowchart (single-block
erase) shown in figure 15.12.
To perform data or program erasure, make a 1-bit setting for the flash memory area to be erased in
erase block register 1 or 2 (EBR1, EBR2) at least (t
sswe) μs after setting the SWE bit to 1 in flash
memory control register 1 (FLMCR1). Next, set up the watchdog timer to prevent overerasing in
the event of program runaway, etc. Set a value greater than (t
se) ms + (tsesu + tce + tcesu) μs as the
WDT overflow period. After this, preparation for erase mode (erase setup) is carried out by setting
the ESU bit in FLMCR1, and after the elapse of (t
cesu) μs or more, the operating mode is switched
to erase mode by setting the E bit in FLMCR1. The time during which the E bit is set is the flash
memory erase time. Ensure that the erase time does not exceed (t
se) ms.
Note:
With flash memory erasing, preprogramming (setting all memory data in the memory to
be erased to all "0") is not necessary before starting the erase procedure.
15.7.5
Erase-Verify Mode
In erase-verify mode, data is read after memory has been erased to check whether it has been
correctly erased.
After the elapse of a the erase time, erase mode is exited (the E bit in FLMCR1 is cleared, then the
ESU bit is cleared at least (t
ce) μs later), the watchdog timer is cleared, and the operating mode is
switched to erase-verify mode by setting the EV bit in FLMCR. Before reading in erase-verify
mode, a dummy write of H'FF data should be made to the addresses to be read. The dummy write
should be executed after the elapse of (t
sev) μs or more. When the flash memory is read in this state
(verify data is read in 16-bit units), the data at the latched address is read. Wait at least (t
sevr) μs
after the dummy write before performing this read operation. If the read data has been erased (all
"1"), a dummy write is performed to the next address, and erase-verify is performed. If the read
data is unerased, set erase mode again and repeat the erase/erase-verify sequence in the same way.
However, ensure that the erase/erase-verify sequence is not repeated more than (N) times. When
verification is completed, exit erase-verify mode, and wait for at least (t
cev) μs. If erasure has been
completed on all the erase blocks, clear the SWE bit in FLMCR1. If there are any unerased blocks,
make a 1 bit setting for the flash memory area to be erased, and repeat the erase/erase-verify
sequence as before.
Leave a wait time of at least (t
cswe) μs after clearing SWE.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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