Electronic Components Datasheet Search
  English  ▼

X  

HD6433644R Datasheet(PDF) 155 Page - Renesas Technology Corp

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

HD6433644R Datasheet(HTML) 155 Page - Renesas Technology Corp

Back Button HD6433644R Datasheet HTML 151Page - Renesas Technology Corp HD6433644R Datasheet HTML 152Page - Renesas Technology Corp HD6433644R Datasheet HTML 153Page - Renesas Technology Corp HD6433644R Datasheet HTML 154Page - Renesas Technology Corp HD6433644R Datasheet HTML 155Page - Renesas Technology Corp HD6433644R Datasheet HTML 156Page - Renesas Technology Corp HD6433644R Datasheet HTML 157Page - Renesas Technology Corp HD6433644R Datasheet HTML 158Page - Renesas Technology Corp HD6433644R Datasheet HTML 159Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 155 / 549 page
background image
Section 6 ROM
Rev. 6.00 Sep 12, 2006 page 135 of 526
REJ09B0326-0600
Sample Program for Erasing One Block
This program uses the following registers:
R0:
Used for erase block specification. Also stores address used in prewrite and erase-verify.
R1H: Stores read data. Also used in dummy write.
R2:
Stores last address of block to be erased.
R3:
Stores address used in prewrite and erase-verify.
R4:
Used for prewrite, prewrite-verify, erase, and erase-verify loop counter value setting. Also
stores register set values.
R5:
Used for prewrite and erase loop counter value setting.
R6L: Used for prewrite-verify and erase-verify fail count.
The values of #a, #b, #c, #d, and #e in the program depend on the operating frequency. They
should be set as indicated in tables 6.11 and 6.12. Erase block register (EBR1, EBR2) settings
should be made as indicated in sections 6.5.2 and 6.5.3 in section 6.5, Flash Memory Register
Descriptions. For #BLKSTR and #BLKEND, the start address and end address corresponding to
the set erase block register should be set as indicated in table 6.7.
FLMCR:
.EQU
H'FF80
EBR1:
.EQU
H'FF82
EBR2:
.EQU
H'FF83
TCSRW:
.EQU
H'FFBE
TCW:
.EQU
H'FFBF
.ALIGN 2
MOV.B
#H'**,
R0H
;
MOV.B
R0H,
@EBR*:8
;
Set EBR*
; #
BLKSTR is start address of block to be erased
; #
BLKEND is last address of block to be erased
MOV.W
#BLKSTR, R0
;
Start address of block to be erased
MOV.W
#BLKEND, R2
;
Last address of block to be erased
ADDS
#1,
R2
;
Last address of block to be erased + 1
→ R2
;
Execute prewrite
MOV.W
R0,
R3
;
Start address of block to be erased



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