Datasheet

Introduction to OpenSDA
The MSD Flash Programmer is a composite USB application that provides a virtual serial port and an easy and convenient way to
2of 2
The
MSD
Flash
Programmer
is
a
composite
USB
application
that
provides
a
virtual
serial
port
and
an
easy
and
convenient
way
to
program applications onto the Kinetis KL27 MCU. It emulates a FAT16 file system, appearing as a removable drive in the host file
system with a volume label of FRDM-KL27Z. Raw binary and Motorola S-record files that are copied to the drive are programmed
directly into the flash of the Kinetis KL27 MCU and executed automatically. The virtual serial port can be opened with standard serial
terminal applications.
Using the MSD Flash Programmer
Using
the
MSD
Flash
Programmer
1
2
2
3
Locate the Precompiled Examples folder in the
FRDM-KL27Z Quick Start Package.
Copy & paste or drag & drop one of the .srec files
Open the serial terminal emulation program of your
choice. Examples for Windows include Tera Term,
PuTTY, and HyperTerminal.
Program one of the “serial test” applications from the
2
3
4
The new application should now be running on the FRDM-
KL27Z. And you can program repeatedly without the need
to unplug and reattach the USB cable before
reprogramming
to the FRDM-KL27Z drive.
Precompiled Examples folder using the MSD
Flash Programmer.
Configure the terminal program. Most embedded
examples use 8 data bits, no parity bits, and one
stop bit (8-N-1). Match the baud rate to the selected
Using the Virtual Serial Port
5
reprogramming
.
Program rtc_func.srec example to replace the out-of-box
demo on your FRDM-KL27Z.
serial test application and open the port.
Press and release the Reset button (SW2) at
anytime to restart the example application. Resetting
the embedded application will not affect the
connection of the virtual serial port to the terminal
Using
the
Virtual
Serial
Port
1
Determine the symbolic name assigned to the
FRDM-KL27Z virtual serial port. In Windows open
Device Manager and look for the COM port named
“PEMicro/Freescale – CDC Serial Port”.
NOTE: Refer to the OpenSDA Users Guide for a
description of a known Windows issue when disconnecting
a virtual serial port while the COM port is in use.
program.
TM
External Use
7
NOTE: Flash programming with the MSD Flash Programmer is currently only supported on Windows operating systems.
However, the virtual serial port has been successfully tested on Windows, Linux and Mac operating systems.