1
Plug It In2
Get Software3
Build, RunLet's take your MIMXRT1015-EVK for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions list below.
Something went wrong! Please try again.
Something went wrong! Please try again.
Your MIMXRT1015-EVK comes loaded with a "led blinky" demo that uses the onboard LED. When the board is powered, the Green LED should flash on and off.
Something went wrong! Please try again.
Note: Selecting Zephyr OS will direct you to the Zephyr OS developer website.
Something went wrong! Please try again.
The MCUXpresso SDK is complimentary and includes full source code under a permissive open-source license for all hardware abstraction and peripheral driver software.
Click below to download a pre-configured SDK release for the MIMXRT1015-EVK:
You can also use the online SDK Builder to create a custom SDK package for the MIMXRT1015-EVK using the SDK builder.
Something went wrong! Please try again.
NXP offers a complimentary toolchain called MCUXpresso IDE.
No problem! The MCUXpresso SDK includes support for other tools such as IAR , Keil , and command-line GCC .
Something went wrong! Please try again.
Many of the example applications output data over the MCU UART so you'll want to make sure that the driver for the board's virtual COM port is installed. Before you run the driver installer, you MUST have the board plugged into your PC.
With the serial port driver installed, run your favorite terminal application to view the serial output from the MCU's UART. Configure the terminal to 115200 baud rate, 8 data bits, no parity and 1 stop bit. To determine the port number of the MIMXRT1015-EVK virtual COM port, open the device manager and look under the "Ports" group.
Not sure how to use a terminal application? Try one of these tutorials: Tera Term Tutorial, PuTTY Tutorial.
Something went wrong! Please try again.
Something went wrong! Please try again.
The MCUXpresso SDK comes with a long list of example application code. To see what's available, browse to the SDK boards folder of your SDK installation and select your board, the MIMXRT1015-EVK (<sdk_install_directory>/boards/evkmimxrt1015</sdk_install_directory>
).
To learn more about specific example code, open the readme.txt file in an example's directory.
Something went wrong! Please try again.
If one or more of the demo applications or driver examples sounds interesting, you're probably wanting to know how you can build and debug yourself. The Getting Started with MCUXpresso SDK guide provides easy, step-by-step instructions on how to configure, build, and debug demos for all toolchains supported by the SDK.
Use the guide below to learn how to open, build and debug an example application using the IAR IDE.
The following steps will guide you through opening the hello_world example.
The following steps guide you through opening the hello_world example application. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.
If not already done, open the desired demo application workspace. Most example application workspace files can be located using the following path:
<install_dir>/boards/board_name/example_type>application_name/iar/application_name>/example_type/board_name/<install_dir>
Using the the hello_world demo as an example, the path is located in:
<install_dir>/boards/evkmimxrt1015/demo_apps/hello_world/iar/hello_world.eww<install_dir>
Select the desired build target from the drop-down
For this example, select the "hello_world - Debug" target.
To download and run the application, perform these steps:
Open the terminal application on the PC, such as PuTTY or TeraTerm, and connect to the debug COM port. Configure the terminal with these settings:
After the MDK tools are installed, Cortex® Microcontroller Software Interface Standard (CMSIS) device packs must be installed to fully support the device from a debug perspective. These packs include things such as memory map information, register definitions and flash programming algorithms. Follow these steps to install the IMXRT1015 CMSIS pack.
The following steps will guide you through opening the hello_world application. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.
If not already done, open the desired demo application workspace in:
<install_dir>/boards/board_nameexample_type/application_name/mdk/application_name/example_type/board_name/<install_dir>
The workspace file is named demo_nam.uvmpw, so for this specific example, the actual path is:/demo_nam
<install_dir>/boards/evkmimxrt1015/demo_apps/hello_world/mdk/hello_world.uvmpw/<install_dir>
To download and run the application, perform these steps:
Open the terminal application on the PC, such as PuTTY or TeraTerm, and connect to the debug serial port number. Configure the terminal with these settings:
This section contains the steps to install the necessary components required to build and run a KSDK demo application with the Arm GCC toolchain, as supported by the Kinetis SDK. There are many ways to use Arm GCC tools, but this example focuses on a Windows environment. Though not discussed here, GCC tools can also be used with both Linux OS and Mac OSX.
Download and run the installer from
GNU Arm Embedded Toolchain . This is the actual toolchain (i.e., compiler, linker, etc.). The GCC toolchain should correspond to the latest supported version, as described in the Kinetis SDK Release Notes
.
The Minimalist GNU for Windows (MinGW) development tools provide a set of tools that are not dependent on third-party C-Runtime DLLs (such as Cygwin). The build environment used by the KSDK does not use the MinGW build tools, but does leverage the base install of both MinGW and MSYS. MSYS provides a basic shell with a Unix-like interface and tools.
C:\MinGW
, however, you may install to any locationNote: The installation path cannot contain any spaces.
Add the appropriate item to the Windows operating system Path environment variable. It can be found under
Control Panel → System and Security → System → Advanced System Settings
in the "Environment Variables..." section. The path is:
mingw_<install_dir>\bin/mingw_<install_dir>
Assuming the default installation path, C:\MinGW
, an example is shown below. If the path is not set correctly, the toolchain does not work.
Note: If you have "C:\MinGW\msys\x.x\bin"
in your PATH variable (as required by KSDK 1.0.0), remove it to ensure that the new GCC build system works correctly.
Create a new system
environment variable and name it ArmGCC_DIR. The value of this variable should point to the Arm GCC Embedded tool chain installation path, which, for this example, is:
C:\Program Files (x86)\GNU Tools Arm Embedded\4.9 2015q3
Reference the installation folder of the GNU Arm GCC Embedded tools for the exact pathname of your installation.
Download CMake 3.0.x from CMake
Install CMake, ensuring that the option "Add CMake to system PATH" is selected when installing. It's up to the user to select whether it's installed into the PATH for all users or just the current user. In this example, the assumption is that it's installed for all users.
To build an example application, follow these steps.
Change the directory to the example application project directory, which has a path like this:
<install_dir>/boards/board_name /example_type/application_name/armgcc/application_name /example_type/board_name /<install_dir>
For this guide, the exact path is:
<install_dir>/boards/evkmimxrt1015/demo_apps/hello_world/armgcc/<install_dir>
This section describes steps to run a demo application using J-Link GDB Server application. To perform this exercise, two things must be done:
After the J-Link interface is configured and connected, follow these steps to download and run the demo applications:
Open the J-Link GDB Server application. Go to the SEGGER install folder, for example, C:\Program Files (x86)\SEGGER\JLink_V632f.
Open the command windows here, for Debug and Release targets, and use the command "JLinkGDBServer.exe". Note: for the sdram_debug and sdram_release targets, use the command "JLinkGDBServer.exescriptfile<install_dir> /boards/evkmimxrt1015/demo_apps/hello_world/evkmimxrt1015_sdram_init.jlinkscript <install_dir>/.
Change to the directory that contains the example application output. The output can be found in using one of these paths, depending on the build target selected:
<install_dir>/boards/board_name >/example_type >/application_name /armgcc/debug/application_name > /example_type /board_name /<install_dir>
<install_dir>/boards/board_name /example_type /application_name /armgcc/release/application_name /example_type /board_name /<install_dir>
For this example, the path is:
<install_dir> /boards/evkmimxrt1015/demo_apps/hello_world/armgcc/flexspi_nor_debug /<install_dir>
Run these commands:
"target remote localhost: 2331"
"monitor reset"
"monitor halt"
"load"
The hello_world application is now running and a banner is displayed on the terminal. If this is not true, check your terminal settings and connections.
Something went wrong! Please try again.
Tera Term is a very popular open source terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
PuTTY is a popular terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
Get Started with MIMXRT1015-EVK Development Platform - How to
Attach the USB Cable
Run the Out-of-Box Demo
Choose a Development Path
Jump Start Your Design with the MCUXpresso SDK!
Install Your Toolchain
PC Configuration