HT45FH4M
Lithium Battery Backup Power ASSP MCU
Flash Program Memory
TheꢀProgramꢀMemoryꢀisꢀtheꢀlocationꢀwhereꢀtheꢀuserꢀcodeꢀorꢀprogramꢀisꢀstored.ꢀForꢀthisꢀdeviceꢀtheꢀ
ProgramꢀMemoryꢀisꢀFlashꢀtype,ꢀwhichꢀmeansꢀitꢀcanꢀbeꢀprogrammedꢀandꢀre-programmedꢀaꢀlargeꢀ
numberꢀofꢀtimes,ꢀallowingꢀtheꢀuserꢀtheꢀconvenienceꢀofꢀcodeꢀmodificationꢀonꢀtheꢀsameꢀdevice.ꢀ
Byꢀusingꢀtheꢀappropriateꢀprogrammingꢀtools,ꢀthisꢀFlashꢀdeviceꢀoffersꢀusersꢀtheꢀflexibilityꢀtoꢀ
convenientlyꢀdebugꢀandꢀdevelopꢀtheirꢀapplicationsꢀwhileꢀalsoꢀofferingꢀaꢀmeansꢀofꢀfieldꢀprogrammingꢀ
andꢀupdating.
Structure
TheꢀProgramꢀMemoryꢀhasꢀaꢀcapacityꢀofꢀ2K×16ꢀbits.ꢀTheꢀProgramꢀMemoryꢀisꢀaddressedꢀbyꢀtheꢀ
ProgramꢀCounterꢀandꢀalsoꢀcontainsꢀdata,ꢀtableꢀinformationꢀandꢀinterruptꢀentries.ꢀTableꢀdata,ꢀwhichꢀ
canꢀbeꢀsetupꢀinꢀanyꢀlocationꢀwithinꢀtheꢀProgramꢀMemory,ꢀisꢀaddressedꢀbyꢀaꢀseparateꢀtableꢀpointerꢀ
register.
Special Vectors
WithinꢀtheꢀProgramꢀMemory,ꢀcertainꢀlocationsꢀareꢀreservedꢀforꢀtheꢀresetꢀandꢀinterrupts.ꢀTheꢀlocationꢀ
000Hꢀisꢀreservedꢀforꢀuseꢀbyꢀtheꢀdeviceꢀresetꢀforꢀprogramꢀinitialisation.ꢀAfterꢀaꢀdeviceꢀresetꢀisꢀ
initiated,ꢀtheꢀprogramꢀwillꢀjumpꢀtoꢀthisꢀlocationꢀandꢀbeginꢀexecution.
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
2
2
2
0
4
8
H
H
H
I
i
n
t
s
i
t
a
a
o
i
l
n
i
V
c
e
o
t
r
O
e
v
r
V
o
t
l
g
a
e
P
o
r
e
t
t
c
o
i
n
I
t
n
r
e
u
r
t
p
O
e
v
r
C
u
r
r
n
e
t
P
o
r
e
t
t
c
o
i
n
I
t
n
r
e
u
r
t
p
C
H
E
t
x
r
e
a
n
l
I
n
r
u
t
r
t
e
p
0
e
t
c
r
V
o
0
4
8
H
H
H
M
l
u
t
F
i
n
u
_
t
c
o
i
n
I
n
r
u
t
r
t
e
p
0
e
t
c
r
V
o
M
l
u
t
F
i
n
u
_
t
c
o
i
n
I
n
r
u
u
t
r
t
e
p
1
e
t
c
r
V
o
M
l
t
F
i
n
u
_
t
c
o
i
n
I
n
r
u
t
r
t
e
p
2
V
c
e
o
t
r
C
H
A
D
/
I
n
r
u
r
t
t
p
V
e
c
e
o
t
r
0
4
8
H
H
H
T
m
i
e
B
a
e
s
0
n
I
e
t
r
r
p
u
t
V
e
t
c
r
o
T
m
i
e
B
a
e
s
1
n
I
e
t
r
r
p
u
t
V
e
t
c
r
o
E
t
x
m
e
l
a
n
I
e
t
r
r
p
u
t
1
V
e
t
c
r
o
1
6
b
i
s
t
7
F
F
H
Program Memory Structure
Rev. 1.10
17
�anꢀaꢁꢂ 1ꢃꢄ ꢅ01ꢆ