
EXTERNAL USE
14
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 S32K142 MCU. It emulates a FAT file system, appearing as a removable drive in the host file system with
a volume label of EVB-S32K142. Raw binary and Motorola S-record files that are copied to the drive are programmed directly into the
flash of the KEA 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 EVB-S32K142 drive
The new application should now be running on the
S32K142 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 S32K142. the S32K142
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 EVB-S32K142
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.
Содержание S32K142
Страница 1: ...EXTERNAL USE REV3 APPLIES FOR S32K142 EVB SCH_29701 REV D C QUICK START GUDE S32K142 EVB...
Страница 9: ...EXTERNAL USE 8 S32K142 EVB OUT OF THE BOX...
Страница 13: ...EXTERNAL USE 12 INTRODUCTION TO OPENSDA...
Страница 16: ...EXTERNAL USE 15 INSTALLING S32DS...
Страница 17: ...EXTERNAL USE 16 Download S32DS Download S32DS from S32DS for ARM...
Страница 18: ...EXTERNAL USE 17 CREATE A NEW PROJECT IN S32 DESIGN STUDIO...
Страница 20: ...EXTERNAL USE 19 Create New Project Top Menu Selection File New Project...
Страница 22: ...EXTERNAL USE 21 Create New Project S32DS Project Select Debugger Support and Library Support Click Finish...
Страница 26: ...EXTERNAL USE 25 CREATE AN EXAMPLE FROM SDK...
Страница 31: ...EXTERNAL USE 30 DEBUG BASICS...
Страница 38: ...EXTERNAL USE 37 Debug Basics Reset Terminate Debug Session Reset program counter Terminate Ctl F2...
Страница 39: ...EXTERNAL USE 38 CREATE A P E DEBUG CONFIGURATION OPTIONAL...
Страница 40: ...EXTERNAL USE 39 New P E debug configuration Click in debug configurations...
Страница 43: ...EXTERNAL USE 42 USEFUL LINKS...
Страница 45: ......