NXP FRDM-IMX93W

From SEGGER Knowledge Base
Jump to navigation Jump to search

This article describes specifics for the NXP FRDM-IMX93W evaluation board.

NXP FRDM-IMX93W board.jpg

Overview

On NXP FRDM-IMX93W evaluation board, access to the debug subsystem remains disabled until the device completes the initial boot process from a boot medium, such as an SD card. The SD-card image, used in this guide contains U-Boot SPL loader, which performs the required device initialization, including DDR setup and activation of the additional processor cores. The executable images for the individual cores are replaced with small infinite-loop programs. After initialization, each core enters a controlled idle loop without running an application. At this point, JTAG access is available, and a debugger can connect to the required core, load an application into internal RAM or DDR, configure the execution context, and start debugging. This boot flow is used only for demonstration purposes and should not be considered as a development guide.

Preparing for J-Link

  • Make sure you have a microSD card. If no microSD card is included in the board package, use a compatible one with the following recommended specifications: SDHC, 4 GB (the device's SD controller may not support memory cards lower than SDHC.).
  • Write the following boot image: imx93_flash_a0.bin with an offset of 32KB from start to the microSD card, as described here: Creating a bootable SD Card.
  • Make sure the board is powered off and insert the prepared microSD card into the card slot of the board.
  • Enable booting from the microSD card by setting the switches on the board as follows:
Switch State
SW1-1 ON
SW1-2 ON
SW1-3 OFF
SW1-4 OFF
  • Connect the J-Link to this pins:
J-Link Pin Connector Pin Name
VTref P14 1 VCC
GND P14 4 GND
TMS/SWDIO P14 3 SWDIO
TCK/SWCLK P14 2 SWCLK
  • Power the board via USB Type-C Power connector (P1).
  • Verify the Connection with e.g. J-Link Commander. The output should look as follows:
  • Cortex-M33 connection:

NXP FRDM-IMX93W M33 connect.png

  • Cortex-A55 connection:

NXP FRDM-IMX93W A55 connect.png

Example Project

The following example project was created with the SEGGER Embedded Studio project wizard and runs out-of-the-box on the NXP FRDM-IMX93W.
It is a simple Hello World sample linked into the internal flash.

SETUP

  • Embedded Studio: V8.28a
  • Hardware: NXP FRDM-IMX93W

Cortex-A55

Cortex-M33

Tracing on NXP iMX93

This section describes how to get started with trace on the NXP iMX93 MCUs. This section assumes that there is already a basic knowledge about trace in general (what is trace, what different implementations of trace are there, etc.). If this is not the case, we recommend to read Trace chapter in the J-Link User Manual (UM08001).

Note:

Some of the examples are shipped with a compiled .JLinkScriptfile (extension .pex), should you need the original source, please get in touch with SEGGER directly via our support system: https://www.segger.com/ticket/.

To create your own .JLinkScriptfile you can use the following guide as reference: How_to_configure_JLinkScript_files_to_enable_tracing

Minimum requirements

In order to use trace on the NXP iMX93 MCU devices, the following minimum requirements have to be met:

  • J-Link software version V9.60 or later
  • Ozone V3.40j or later (if streaming trace and / or the sample project from below shall be used)
  • J-Link Plus V12 or later for buffer (on-chip) trace

To rebuild the project our IDE Embedded Studio can be used. The recommended version to rebuild the projects is V8.28. But the examples are all prebuild and work out-of-the box with Ozone, so rebuilding is not necessary.

Trace examples

Trace examples (buffer trace) for NXP iMX93 device can be found here: Tracing on NXP iMX93

Note:
If additional examples/configurations are required, please get in touch with SEGGER directly via our support system: https://www.segger.com/ticket/.