You can watch the video or follow the below step-by-step guide to set up your S32K14WEVB-Q064 Evaluation Board:
S32K14WEVB-Q064 performs better when using S32 Design Studio for the S32 Platform.
Note: Check the S32 Design Studio page for the latest version.
Run the S32 Design Studio, Go to menu -> Help -> S32DS Extension and Updates. Install S32K1xx development package and continue in installation either with SDK or with RTD drivers.
S32K14EVB-Q064 evaluation board performs better when using the FreeMASTER tool for run-time debugging. You can also download and install the FreeMASTER Communication Driver (source code already included in the example project).
Jumper | Configuration | Description |
---|---|---|
J10 |
2-3 | MCU Voltage [5V] |
J15 |
CLOSED | MCU Current Measurement Pins |
J104 |
1-2 | RESET Push Button [Bypass to MCU] |
J107 |
2-3 | Power Source [USB] |
J108 |
CLOSED | LIN Mode [Master] |
Connect the S32K14WEVB-Q064 board to the PC using the micro USB cable.
Note: Allow the PC to automatically configure the USB drivers if needed.
Open S32DS and from the menu, go to File > New > S32DS Project from Example
Select for example ADC project either from SDK or from RTD
The SDK project might be built directly via “Build button”
While RTD project needs to generate the configuration. Double-click on mex file to open Configuration Tool and click on the Update Code button for configuration files generation.
Note: You may use the buttons on top-right conner for change the perspective back to C/C++ view.
Once you finish your code/configuration modification, click on built button.
In the S32 Design Studio menu click Run > Debug Configuration and select the appropriate predefined debug configuration and click on Debug to start loading built code into MCU.
Note: The picture shows the debug configurations for both SDK and RTD ADC examples for your reference.
The S32DS will switch into debug perspective and you may use the debug buttons/keys to walk through the example code.
OpenSDA is an open-standard serial and debug adapter. It bridges serial and debug communications between a USB host and an embedded target processor. OpenSDA software includes a flash-resident USB mass-storage device (MSD) bootloader and a collection of OpenSDA applications.
The S32K14WEVB-Q064 comes with the MSD Flash Programmer OpenSDA Application preinstalled.
Follow these instructions to run the OpenSDA Bootloader and update or change the installed OpenSDA Application.
Enter OpenSDA Bootloader Mode | Load an OpenSDA Application |
---|---|
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 Note: Follow the “Load an OpenSDA Application” instructions to update the MSD Flash Programmer on your S32K14WEVB-Q064 to the latest version |
You are now running the latest version of the MSD Flash Programmer. Use this same procedure to load other OpenSDA Applications. |
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 S32K1 MCU. It emulates a FAT16 file system, appearing as a removable drive in the host file system with a volume label of S32K14WEVB-Q064. Raw binary and Motorola S-record files that are copied to the drive are programmed directly into the flash of the S32K1 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 | Using the Virtual Serial Port |
---|---|
The new application should now be running on the S32K14WEVB-Q064. 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 |
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 |
Connect with other engineers and get expert advice on designing with the S32K14WEVB-Q064 on one of our community sites.