Datasheet
Introduction to ROM
The Kinetis KL27 MCU
supports both boot modes: boot from ROM or boot from flash which can be determined by external boot pin
The
Kinetis
KL27
MCU
supports
both
boot
modes:
boot
from
ROM
,
or
boot
from
flash
,
which
can
be
determined
by
external
boot
pin
and/or programmable boot source control in flash FOPT register. In boot from ROM mode, ROM boot loader will be active, which is a
build-in firmware upgrade program in ROM, supporting USB,UART,I2C,SPI interfaces, and can be used as ISP and IAP. By default, itis
boot from ROM for blank devices, but for Freescale Freedom board, it is determined by external boot pin (NMI).
1
2
Enter ROM Boot Loader Mode
2
1
Unplug the USB cable if attached.
P dhldth NMIbtt (SW1)
Using ROM Boot Loader
Click here to download PC tools blhost.
Follow
KBLHOSTUG
(
Kinetis
blhost
User's
Guide) to
2
3
2
3
P
ress an
d
h
o
ld
th
e
NMI
b
u
tt
on
(SW1)
.
Plug in a USB cable (not included) between a USB
host and the OpenSDA USB connector (labeled
“OpenSDA”). .
Run “FlashEraseAllUnsecure” command to make
mass erase.
Follow
KBLHOSTUG
(
Kinetis
blhost
User's
Guide)
to
setup connection by UART interface.
4
4
Now, the Kinetis KL27 MCU has entered into ROM
bootloader mode. You can select using USB, or
UART, or I2C,or SPI interface to setup connection
with FRDM-KL27Z.
5
Locate the Quick Start Package to get .bin firmware
for upgrade.
Run “WriteMemory” command to program bin file to
flash by blhost tools, and then run “execute”
command
command
.
The new application should now be running on the FRDM-
KL27Z. And you repeatedly perform above step 3 to 5 to
program other firmware.
TM
External Use
8