NXP i.MXRT500

From SEGGER Wiki
Revision as of 14:32, 15 June 2020 by Erik (talk | contribs)
Jump to: navigation, search

This article covers the NXP i.MXRT500 MCU family devices.

QSPI support

The RT500 does not come with internal flash but with external flash connected to the FlexSPI bus, only. The external FlexSPI controller allows to connect several different flash types like QSPI, HyperFlash and Octaflash. Furthermore, the external flash can be connected to different pin / ports of the FlexSPI controller which makes a auto-detection very difficult thus a out-of-the-box solution which works for all setups is kind of impossible. For that reason, the J-Link software supports the evaluation board setup, only. Other setups may work but without any warranty or guarantee from SEGGER. If you are working with a different setup and looking for support for this setup, please get in touch with SEGGER.

Supported QSPI setup

  • J-Link Software: >= V6.81c
  • Hardware: NXP X-MIMXRT595-EVK (RevC1)
  • Flash: MX25UW51345GXDI00 (octaflash) connected to FlexSPI port A
Signal Name GPIO name IO function
FLEXSPI0_SCLK PIO1_18 FLEXSPI0_SCLK
RESET_OSPI_MEM PIO1_19 FLEXSPI0_SS0_B
FLEXSPI0_DATA0 PIO1_20 FLEXSPI0_DATA0
FLEXSPI0_DATA1 PIO1_21 FLEXSPI0_DATA1
FLEXSPI0_DATA2 PIO1_22 FLEXSPI0_DATA2
FLEXSPI0_DATA3 PIO1_23 FLEXSPI0_DATA3
FLEXSPI0_DATA4 PIO1_24 FLEXSPI0_DATA4
FLEXSPI0_DATA5 PIO1_25 FLEXSPI0_DATA5
FLEXSPI0_DATA6 PIO1_26 FLEXSPI0_DATA6
FLEXSPI0_DATA7 PIO1_27 FLEXSPI0_DATA7
FLEXSPI0_DQS PIO1_28 FLEXSPI0_DQS
FLEXSPI0_SCLK_N PIO1_29 FLEXSPI0_SS1_N
nRESET_QSPI PIO4_05 PIO4_05

NOTE: The BOOT ROM of the RT600 seems to activate the octa mode under some circumstances. In order to bring the flash into a proper / known state, the J-Link flashloader resets the QSPI flash using the nRESET pin of the flash which is connected to PIO2_12 on the evaluation board.

Example Application

The application toggles 3 LEDs (blue, red and green) on the MIMXRT685-EVK evaluation board. The application is linked into the external flash. It includes a valid boot header so it also runs stand-alone.

SETUP