background image

TM

External Use      

11

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 program applications into the KV31F MCU. It emulates a FAT16 file system, appearing as a removable drive in the 
host file system with a volume label of FRDM-KV31F. Raw binary and Motorola S-record files that are copied to the drive are 
programmed directly into the flash of the KL27 and executed automatically. The virtual serial port can be opened with 
standard serial terminal applications. 

Using the MSD Flash Programmer 

Using the Virtual Serial Port 

1

2

1

2

3

4

5

2 of 2

The new application should now be running on the FRDM-
KV31F.  And you can program repeatedly without the need 
to unplug and reattach the USB cable before 
reprogramming.

Program rtc_func.srec example to replace the out-of-box 
demo on your FRDM-KV31F.

Locate the 

Precompiled Examples

folder in the 

FRDM-KV31F Quick Start Package. 

Copy & paste or drag & drop one of the 

.srec

files 

to the 

FRDM-KV31F

drive. 

Determine the symbolic name assigned to the 
FRDM-KV31F virtual serial port. In Windows 

open 

Device Manager

and look for the COM port named 

“PEMicro/Freescale – CDC Serial Port”.

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 

Precompiled Examples

folder using the MSD 

Flash Programmer.    

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. 

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. 

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.  

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. 

Содержание FRDM-KV31F

Страница 1: ...External Use Quick Start Guide for the Freescale Freedom Motor Control Development Platform FRDM KV31F...

Страница 2: ...now the FRDM KV31F Get to Know the FRDM MC LVPMSM and FRDM MC LVBLDC Getting Started Out of the Box Running Out of the Box Demo KV31F with MC LVBLDC Running KV31F with MC LVPMSM Shield Demo Software I...

Страница 3: ...mpiled Demo Code Folder binary record images of demo projects for use with the MSD Flash Programmer FRDM KV31F User s Manual Folder Overview and detailed information for the FRDM KV31F and FRDM MC LVP...

Страница 4: ...er OPENSDAv2 1 Debug micro USB Reset Button J2 I O Header J1 I O Header Accelerometer Magnetometer SW2 SW3 RGB LED Thermistor KV31F SWD Debug OPENSDAv2 1 SWD Debug J3 I O Header J4 I O Header Optional...

Страница 5: ...31F and FRDM MC LVPMSM Features MKV31F512VLL12 MCU with FPU 120MHz 512KB Flash 64KB SRAM 100 LQFP Motor Control I O accelerometer Magnetometer FXOS8700CQ Tri color LED Flexible power supply options US...

Страница 6: ...FRDM MC LVPMSM and FRDM MC LVBLDC Motor Output J2 I O Header J1 I O Header J3 I O Header J4 I O Header Sensor Input 48V DC Motor Power Input J2 I O Header J1 I O Header J3 I O Header J4 I O Header Mot...

Страница 7: ...Wait for the PC to enumerate drivers Note the serial port number UART Test Open PuTTY or TeraTerm connect to Serial Port identified above set for 115200 baud Hit Reset SW1 and Observe output Accelerom...

Страница 8: ...r three phase wires into the screw terminals on the board Plug in a USB cable not included from a USB host to the OpenSDA micro USB connector Plug in a 12V DC power supply to the DC Power jack Press R...

Страница 9: ...included from a USB host to the OpenSDA micro USB connector Program new project Drag and Drop or Copy CTRL C and Paste CTRL V file from FRDM KV31F_QSP Pre Compiled Demo Code PMSM_Sensorless_FOC bin to...

Страница 10: ...ools Install the IDE toolchain IAR Embedded Workbench for ARM v7 20 or later 30 day free evaluation license at iar com Freescale Install the mbedWinSerial_16466 exe Windows USB Driver Install the free...

Страница 11: ...BOOTLOADER drive A web browser will open the OpenSDA homepage containing the name and version of the installed Application This information can also be read as text directly from SDA_INFO HTML Locate...

Страница 12: ...e srec files to the FRDM KV31F drive Determine the symbolic name assigned to the FRDM KV31F virtual serial port In Windows open Device Manager and look for the COM port named PEMicro Freescale CDC Ser...

Страница 13: ...Now that you are familiar with the FRDM KV31F and OpenSDA it s time to explore the additional software and lab guides available on www freescale com FRDM KV31F Select your next path from the links in...

Страница 14: ...ts and or specifications can and do vary in different applications and actual performance may vary over time All operating parameters including Typicals must be validated for each customer application...

Страница 15: ...TM 2014 Freescale Semiconductor Inc External Use www Freescale Kinetis com...

Страница 16: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Freescale Semiconductor FRDM KV31F...

Отзывы: