
On-chip
Flash
memory
Flash
MCU(HMS39C7092)
156
Figure
12.3
Boot
Mode
Execution
Procedure
When
boot
mode
is
initiated,
the
HMS39C7092
measures
the
low
period
of
the
asynchronous
communication
data
transmitted
continuously
from
the
host.
The
UART
transmit/receive
format
should
be
set
as
8-bit
data,
1
stop
bit,
no
parity.
To
ensure
correct
UART
operation,
the
hostís
transfer
bit
rate
should
be
set
to
38400
bps,
and
the
operating
frequency
for
this
process
should
be
33.86MHz.
Set
Mode
pins
to
mode6,7
Reset-Start
UCLK0
Setting
(CLKDR=0Bh)
&
UCLK0
Start
(CLKCR=01h)
Set
UART0
to
8-bit/1-Stop/NoParity
(LCR0=03h)
1.Set
the
mode
pins
to
an
on-chip
flash
memory
enable
mode
&
programming
control
program
should
be
prepared
beforehand
(mode
6,7)
2.Start
the
HMS39C7092
with
a
reset.
3.Set
UART0
input
clock(UCLK0)
to
3.07818MHz
from
Source
Clock
(33.86MHz),
and
start
UCLK0
4.Set
Divisor
Latch
Mode
(LCR0
=80h),
and
set
Divisor
Latch
to
38400bps
(DLL0=05h,
DLM0
=00h)
5.
Set
UART0
to
8-bit/1-Stop/NoParity
(LCR0=03h)
6.Wait
for
Receiver
Data
Ready
(LSR0==1)
7.Get
1byte
from
Receiver
Buffer
Register(RBR)
8.Store
the
user
program,
which
is
from
RBR,
to
SRAM
and
increase
SRAM
Address
pointer
by
1
9.If
not
finished
writing to
4Kbyte
SRAM,
return
to
6.
10.Branch
to
SRAM
Start
address
and
execute
user
program
(flash
memory
programming
control
program)
1
2
3
4
5
6
Set
Baud
Rate
to
38400bps
(LCR0=80h,DLL0=05h
,DLM0=00h)
Get
1-byte
from
RxBuffer
Store
to
SRAM
Increase
SRAM
ptr
RxSize
=
4096?
Branch
to
Start
of
SRAM
Yes
RXRdy(LSR0=1)?
No
Yes
No
7
8
9
10
Summary of Contents for HMS39C7092
Page 1: ...HMS39C7092 32Bit Embedded Flash MCU User s Manual Version 1 2...
Page 11: ...Flash MCU HMS39C7092 11...
Page 12: ...Flash MCU HMS39C7092 12...
Page 13: ...Flash MCU HMS39C7092 Introduction 13 Chapter 1 Introduction...
Page 27: ...Flash MCU HMS39C7092 ARM7TDMI Core 27 Chapter 2 ARM7TDMI Core...
Page 40: ...BUS Controller Flash MCU HMS39C7092 40...
Page 41: ...Flash MCU HMS39C7092 BUS Controller 41 Chapter 3 BUS Controller...
Page 59: ...Flash MCU HMS39C7092 MCU controller 59 Chapter 4 MCU Controller...
Page 67: ...Flash MCU HMS39C7092 Power Management Unit 67 Chapter 5 Power Management Unit...
Page 77: ...Flash MCU HMS39C7092 Interrupt controller 77 Chapter 6 The Interrupt Controller...
Page 85: ...Flash MCU HMS39C7092 Watchdog Timer 85 Chapter 7 Watchdog Timer...
Page 98: ...Watchdog Timer Flash MCU HMS39C7092 98...
Page 99: ...Flash MCU HMS39C7092 General Purpose Timer 99 Chapter 8 The General Purpose Timer...
Page 118: ...General Purpose Timer Flash MCU HMS39C7092 118...
Page 119: ...Flash MCU HMS39C7092 UART 119 Chapter 9 UART Universal Asynchronous Receiver Transmitter...
Page 137: ...Flash MCU HMS39C7092 GPIO 137 Chapter 10 GPIO General Purpose Input Output...
Page 142: ...GPIO Flash MCU HMS39C7092 142...
Page 143: ...Flash MCU HMS39C7092 On Chip SRAM 143 Chapter 11 On Chip SRAM...
Page 145: ...Flash MCU HMS39C7092 On chip Flash memory 145 Chapter 12 On chip Flash Memory...
Page 173: ...Flash MCU HMS39C7092 A D Converter 173 Chapter 13 A D Converter...
Page 185: ...Flash MCU HMS39C7092 Electrical Characteristics 185...
Page 186: ...Electrical Characteristics Flash MCU HMS39C7092 186 Chapter 14 Electrical Characteristics...
Page 195: ...Flash MCU HMS39C7092 Electrical Characteristics 195...
Page 196: ...Electrical Characteristics Flash MCU HMS39C7092 196...
Page 197: ...A 1 Flash MCU HMS39C7092 197 A 1 Package Dimension...