HD6433045 HITACHI [Hitachi Semiconductor], HD6433045 Datasheet - Page 610

no-image

HD6433045

Manufacturer Part Number
HD6433045
Description
Hitachi Single-Chip Microcomputer
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433045A58F
Manufacturer:
PWRT
Quantity:
4 172
Part Number:
HD6433045SA27F
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD6433045SA28FV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6433045SA37FV
Manufacturer:
RENESAS
Quantity:
1 000
Sample Program for Erasing Multiple Blocks: This program uses the following registers.
R0, R6: Specifies blocks to be erased (set as explained below)
R1H:
R1L:
ER2:
ER3:
ER4:
ER5:
E0, E1: Timing loop counter
E6:
Arbitrary blocks can be erased by setting bits in R6.
A bit map of R6 and an example setting for erasing specific blocks are shown next.
Example: to erase blocks LB2, SB7, and SB0
R6 is set as follows:
MOV.W
MOV.W
The values of #a, #c, #d, #e, #f, #g, and #h in the program depend on the clock frequency. They
can be calculated as indicated in tables 18-14 and 18-15.
For #RAMSTR in the program, substitute the starting destination address in RAM, to be used
when this program is moved from flash memory into RAM.
Bit
R6
Bit
R6
Setting
Prewrite-verify fail counter
Used to test bits 0 to 15 of R0
Specifies address where address used in prewrite and erase-verify is stored
Stores address used in prewrite and erase-verify
Stores address used in prewrite and erase-verify
Sets appropriate registers
Erase-verify fail counter
LB7 LB6
LB7 LB6
15
15
0
#0481,
R6,
14
14
0
LB5
LB5
Corresponds to EBR1
Corresponds to EBR1
13
13
0
R6
@EBR1
LB4 LB3 LB2
LB4 LB3 LB2
12
12
0
11
11
0
10
10
1
LB1
LB1
9
9
0
601
LB0 SB7 SB6 SB5 SB4 SB3 SB2 SB1 SB0
LB0 SB7 SB6 SB5 SB4 SB3 SB2 SB1 SB0
8
8
0
7
7
1
6
6
0
Corresponds to EBR2
Corresponds to EBR2
5
5
0
4
4
0
3
3
0
2
2
0
1
1
0
0
0
1

Related parts for HD6433045