Datasheet

EXTERNAL USE
20
Introduction to OpenSDA: 2 of 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 into the S32K116 MCU. It emulates a FAT file system, appearing as a removable drive in the host file system with
a volume label of S32K116EVB. Raw binary and Motorola S-record files that are copied to the drive are programmed directly into the
flash of the S32K116 and executed automatically. The virtual serial port enumerates as a standard serial port device that can be opened
with standard serial terminal applications.
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.
Using the MSD Flash Programmer
1. Locate the .srec file of your project , file is under the
Debug folder of the S32DS project.
2. Copy & paste or drag & drop one of the .srec files to
the S32K116EVB drive
The new application should now be running on the
S32K116 EVB. Starting with v1.03 of the MSD Flash
Programmer, you can program repeatedly without the
need to unplug and reattach the USB cable before
reprogramming.
Drag one of the .srec code for the S32K116 EVB board
over USB to reprogram the preloaded code example to
another example.
Using the Virtual Serial Port
1. Determine the symbolic name assigned to the S32K116EVB
virtual serial port. In Windows open Device Manager and look
for the COM port named PEMicro/Freescale CDC Serial
Port”.
2. Open the serial terminal emulation program of your choice.
Examples for Windows include
Tera Term, PuTTY, and
HyperTerminal
3. Press and release the Reset button (SW5) 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.
4. It is possible to debug and communicate with the serial port
at the same time, no need to stop the debug.
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.