background image

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. 

Summary of Contents for Freedom FRDM-KE04Z

Page 1: ...latform FRDM KE04Z Contents Q ick Start Package O er ie Quick Start Package Overview Get to Know the FRDM KE04Z Getting Started Out of the Box Introduction to OpenSDA p Explore Further www freescale com FRDM KE04Z TM 1 Quick Start Guide for FRDM KE04Z Rev 1 0 ...

Page 2: ...upporting files for getting started with the FRDM KE04Z FRDM KE04Z User s Manual This document overview and detailed information for the FRDM KE04Z hardware Spreadsheet of pin connections for all MCU pins Includes pinout for FRDM KE04Z Pinouts Spreadsheet of pin connections for all MCU pins Includes pinout for the I O headers Arduino R3 compatibility chart and OpenSDA MCU pinout FRDM KE04Z Schemat...

Page 3: ...TM 3 Quick Start Guide for FRDM KE04Z ...

Page 4: ... MMA8451Q accelerometer Tri color LED Capacitive touch slider MMA8451Q accelerometer Tri color LED Flexible power supply options USB external source Easy access to MCU I O IrDA transmitter and receiver Form factor compatible with Arduino R3 pin layout New OpenSDA debug interface p g Mass storage device flash programming interface default no tool installation required to evaluate demo apps P E Debu...

Page 5: ...Application preinstalled It will appear as a removable storage drive with a volume label of FRDM KE04Z The MSD Flash Programmer also includes a USB virtual The pre installed demo running on the KE04Z MCU will cycle through several colors on the RGB LED After this completes tilt the board The color mix of the RGB LED will change based on the accelerometer data 3 The MSD Flash Programmer also includ...

Page 6: ...rsion of the installed Application This information can also be read as text directly from SDA_INFO HTML 2 Locate the OpenSDA Applications folder in the FRDM KE04Z Quick Start Package A removable drive should now be visible in the host file system with a volume label of BOOTLOADER You are now in OpenSDA Bootloader mode 4 Release the Reset button 3 Copy paste or drag drop the MSD Flash Programmer A...

Page 7: ...d 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...

Page 8: ...and OpenSDA it s time to explore the additional software and l b id il bl f l FRDM lab guides available on www freescale com FRDM KE04Z Select your next path from the links in the Jump Start Your Design section TM 8 Quick Start Guide for FRDM KE04Z ...

Page 9: ... time All operating parameters including Typicals must be validated for each customer application by customer s technical experts Freescale does not convey any license under its patent rights nor the rights of others Freescale sells products pursuant to standard terms and conditions of sale which can be found at the following address products pursuant to standard terms and conditions of sale which...

Reviews: