2. Get the Software
2.1 Installing Software for MIMXRT685-EVK
2.2 Jump Start Your Design with the MCUXpresso SDK
The MCUXpresso software development kit (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 MIMXRT685-EVK.
Unzip the SDK into a directory path that does not contain any spaces.
Want to learn about SDK.
Get MCUXpresso SDK
You can also use the online
to create a custom SDK package for the MIMXRT685-EVK using the SDK builder.
2.3 Install Your Toolchain
NXP offers a complimentary toolchain called MCUXpresso IDE.
Get MCUXpresso IDE
Want to use a different toolchain?
No problem! The MCUXpresso SDK includes support for other tools such as
IAR, Keil and command-line GCC.
2.4 MCUXpresso Config Tools
The MCUXpresso Config Tool is an integrated suite of configuration tools that guides users in creating new MCUXpresso SDK projects, and also provides pin and clock tools to generate initialization C code for custom board support. It is already fully integrated as a part of MCUXpressoIDE, but you can also download it as a separate tool if you are using a different.
Get MCUXpresso Config Tools
Drivers for the debugger and virtual COM port also need to be installed. They are part of the LPCScrypt package, which can be downloaded below. The LPC-Link2 circuit firmware will also need to be updated to use the J-Link interface, which is described in the tutorial below.
LPCScrypt is a command-line based, fast flash, EEPROM, OTP and security programming tool for LPC microcontrollers. It is the recommended tool to program the latest CMSIS-DAP and J-Link firmware.
- Download the LPCScrypt tool using the button below, choose your platform (Windows, MAC OC X, Linux). After the download, run the installer. During the installation the DFU and VCOM drivers will be automatically installed for all platforms.
Configure To update the LPC-Link2 debug circuit firmware, unplug the USB cable on
J5 and then put on the DFULink jumper.
In the MIMXRT685-EVK,
JP1 is the LPCXpresso DFU jumper.
JP1 using the jumper.
- Reconnect the board to your host computer over the debug link USB connector J5
- Launch LPCScrypt by double-clicking on the “Boot LPCScrypt” file in the LPCScrypt install C:\ProgramData\Microsoft\Windows\Start Menu\Programs\LPCScrypt.
- In that command shell, run the program JLINK script to install the JLink debug firmware:
- Verify once you select on firmware (in this case J-Link), LPCScrypt will show something like below in the console.
- Ready once programming is complete, disconnect the board from the host. Remove the DFULink jumper, then reconnect the board to the host computer. You should see that the probe enumerates on the host’s USB system.
2.6 Serial Terminal
Many of the MCUXpresso SDK example applications output data over the MCU UART. Install and configure your preferred terminal software to 115200 baud rate, 8 data bits, no parity and 1 stop bit. To determine the port number of the MIMXRT685-EVK’s 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: MCUXpresso IDE Terminal Tutorial, Tera Term Tutorial, PuTTY Tutorial.
You will need to download the necessary J-Link drivers in order to debug the HiFi4 DSP. Follow the next tutorial to see how to download and install this software.
- Download J-Link software
Enter the SEGGER download page.
- Expand “J-Link Software and Documentation Pack” section
- Select the software that matches your OS and download the newest version
Accept terms and download the software
- Execute the .exe file you just downloaded by doing double-click. Follow the setup instructions until the J-Link installation is complete
- You're ready to go
2.8 Install Xtensa Xplorer IDE and Tools
To code and debug the DSP on the MIMXRT685-EVK, you will need to download Cadence Tensilica Xplorer. This is the only available development IDE for the DSP core of MIMXRT600.
Cadence® Tensilica® Xplorer is a complete development environment that helps users create application code for high-performance Tensilica®
processors. Xplorer is the interface to powerful software development tools such as the XCC compiler, assembler, linker, debugger, code profiler and full set of GUI tools.
Xplorer (including both GUI and command line environment.) Is the only available development IDE for the DSP core of MIMXRT600.
Create a profile: This is needed to download the Tensilica Tools. Go to the download page and login. If this is the first time to access, please register first
You will receive an email confirmation with the activation link from “Tensilica tools”. Click the activation link to complete the registration.
Install Xtensa Xplorer IDE once registered, please login and you will see available materials. Note that there may be multiple version numbers available and it is recommended to use the latest version currently available. The steps are the exact same for all versions except for slight name differences
- Download and install “Xtensa Xplorer IDE” for your operating system.
- Download the “DSP Configuration” for your operating system. Make sure to select the NEWLIB version. This file will be used later.
- Download a License Key to generate the correct license file, you should first identify the appropriate MAC for the computer you plan to run Xtensa tools on. Open a Command Prompt and type:
Reload and return to the Tensilica download page/
and click on “Get a License Key for RT600 SDK”.
Type your MAC address without ‘-’ or ‘:’ symbols.
- Install License Key once the license has been generated and downloaded, open Xplorer IDE and select on menu Help -> Xplorer License Keys -> License Options -> Install Software Keys. Select the license key file and click ‘Finish’.
- Install RT600 DSP Build Configuration: The build configuration can be installed into the IDE using the ‘System Overview’ panel, which is located on the lower left corner by default. If this panel is not visible, it can be toggled using menu item Window -> Show View -> System Overview.
Search the configuration you downloaded at Step 2.
- Install Xtensa On Chip Debugger Deamon: The Xtensa On Chip Debugger Deamon (xt-ocd), is a powerful gdb-based debugging tool. It is not installed by default with the Xplorer IDE. A self-extracting executable installer is included with the IDE. It is located at:
At this moment xt-ocd supports J-Link and Arm RVI/DSTREAM probes over Serial Wire Debug (SWD) for RT600. Xt-ocd installs support for J-Link probes but does not install the required J-Link drivers, which must be installed separately. The RT600 requires J-Link software version 6.46 or newer.
“ln -s <jlink-install-dir>libjlinkarm.so.6 <xocd-install-dir>/modules/libjlinkarm.so.6”
Identify the Jlink serial number of your LPC-Link2. Run JLINK commander to check the serial number. It is located at:
“C:\Program Files (x86)\SEGGER\JLink”
Every EVK/LPC-Link2 will have different Jlink S/N.
- Edit topology file: xt-ocd is configured with an XML input file named "topology.xml". This file is located in the Xtensa OCD installation directory at:
C:\Program Files (x86)\Tensilica\Xtensa OCD Daemon 14.01
You will need to modify this file for your debugger hardware. Using J-link as example, please use this
topology.xml file to replace the original file. Or copy one of the examples below.
Please note that you need to replace ‘usbser’ section with your own Jlink serial number (9-digit number obtained on the previous step).
Below is another topology.xml example if using Arm RealView ICE (RVI) and DSTREAM debug probes:”