i.MXRT600

From SEGGER Wiki
Revision as of 17:42, 26 February 2020 by Erik (talk | contribs)
Jump to: navigation, search

QSPI support

The RT600 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.62d
  • Hardware: NXP X-MIMXRT685-EVK
  • Flash: MX25UM51345GXDI00 (octaflash) connected to FlexSPI port B
Signal Name GPIO name IO function
QSPI_B_CS0 PIO2_19 FLEXSPI0B_SS0_N
QSPI_B_SCK PIO1_29 FLEXSPI0B_SCLK
QSPI_B_DATA0 PIO1_11 FLEXSPI0B_DATA0
QSPI_B_DATA1 PIO1_12 FLEXSPI0B_DATA1
QSPI_B_DATA2 PIO1_13 FLEXSPI0B_DATA2
QSPI_B_DATA3 PIO1_14 FLEXSPI0B_DATA3
QSPI_B_DATA4 PIO2_17 FLEXSPI0B_DATA4
QSPI_B_DATA5 PIO2_18 FLEXSPI0B_DATA5
QSPI_B_DATA6 PIO2_22 FLEXSPI0B_DATA6
QSPI_B_DATA7 PIO2_23 FLEXSPI0B_DATA7
nRESET_QSPI PIO2_12 PIO2_12

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