The MSD Flash Programmer is a composite USB application that provides a virtual serial port and an easy and convenient
g
p
pp
p
p
y
way to program applications into the KE04Z MCU. It emulates a FAT16 file system, appearing as a removable drive in the
host file system with a volume label of
FRDM-KE04Z
. Raw binary and Motorola S-record files that are copied to the drive
are programmed directly into the flash of the KE04Z and executed automatically. The virtual serial port enumerates as a
standard serial port device that can be opened with standard serial terminal applications.
Using the MSD Flash Programmer
1
Locate the
Precompiled Examples
folder in the
FRDM-KE04Z Quick Start Package.
2
Copy & paste or drag & drop one of the
.srec
files
2
Open the serial terminal emulation program of your
choice. Examples for Windows include
Tera Term
,
PuTTY
, and
HyperTerminal
.
3
Program one of the “serial test” applications from the
Precompiled Examples
folder using the MSD
The new application should now be running on the FRDM-
KE04Z. Starting with the MSD Flash Programmer, you can
program repeatedly without the need to unplug and
reattach the USB cable before reprogramming
2
to the
FRDM-KE04Z
drive.
Precompiled Examples
folder using the MSD
Flash Programmer.
4
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
serial test application and open the port
reattach the USB cable before reprogramming.
Program Lab_demo_frdm.srec example to replace the out-
of-box demo on your FRDM-KE04Z.
Using the Virtual Serial Port
serial test application and open the port.
5
Press and release the Reset button (SW1) at
anytime to restart the example application. Resetting
the embedded application will not affect the
connection of the virtual serial port to the terminal
program.
1
Determine the symbolic name assigned to the
FRDM-KE04Z virtual serial port. In Windows open
Device Manager and look for the COM port named
“PEMicro/Freescale – CDC Serial Port”.
g
NOTE:
Refer to the
OpenSDA User’s Guide
for a
description of a known Windows issue when disconnecting
a virtual serial port while the COM port is in use.
program.
TM
7
Quick Start Guide for FRDM-KE04Z
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.