ReadMe.txt for the NXP (Freescale) iMXRT1052 start project.

This project was built for SEGGER Embedded Studio V4.16a.

Supported hardware:
===================
The sample project for the iMXRT1052 is prepared to run on
an NXP MIMXRT1050-EVK(B) board. Using different target hardware
may require modifications.

Configurations:
===============
- Debug_RAM:
  This configuration is prepared for download into internal
  RAM using J-Link. An embOS debug and profiling library
  is used.
  To use SEGGER SystemView with this configuration,
  configure SystemView for MCIMXRT1052 as target device and
  SWD at 2000 kHz as target interface.

- Release_RAM:
  This configuration is prepared for download into internal
  RAM using JLink. An embOS release library is used.

- Debug_Hyper_Flash:
  This configuration is prepared for download into external
  Hyper Flash using J-Link. An embOS debug and profiling library
  is used.
  To use SEGGER SystemView with this configuration,
  configure SystemView for MCIMXRT1052 as target device and
  SWD at 2000 kHz as target interface.

- Release_Hyper_Flash:
  This configuration is prepared for download into external
  Hyper Flash using JLink. An embOS release library is used.

- Debug_QSPI_Flash:
  This configuration is prepared for download into external
  QSPI Flash using J-Link. An embOS debug and profiling library
  is used.
  To use SEGGER SystemView with this configuration,
  configure SystemView for MCIMXRT1052 as target device and
  SWD at 2000 kHz as target interface.

- Release_QSPI_Flash:
  This configuration is prepared for download into external
  QSPI Flash using JLink. An embOS release library is used.

Note:
=====
This project uses an embOS library without the workaround for
the ARM erratum 837070. If you have a device with the ARM core
revision r0p0 or r0p1 please use the according embOS library
with the workaround.
Please have a look in the core/compiler specific embOS manual
for more details.

Make sure that the newest version of the SEGGER J-Link software
is installed. Also, in order to boot from flash, some configurations
have to be done:

== Hyper Flash
Set the SW7 DIP switch to:

8       5
|-------|
| |x|x| |
|-------|
|x| | |x|
|-------|
1       4

Open the JLinkDevices.xml in the installation directory of the SEGGER J-Link
software and search for the <Device> entry for the MCIMXRT1052. The FlashBankInfo
tag contains a Loader attribute which specifies an elf file. Change this
attribute to Loader="Devices/NXP/iMXRT105x/NXP_iMXRT105x_HyperFlash.elf"
and save the JLinkDevice.xml. Now the J-Link uses the Hyper Flash RAMCode
instead of the QSPI Flash RAMCode for the flash download.

== QSPI Flash
Set the SW7 DIP switch to:

8       5
|-------|
| | |x| |
|-------|
|x|x| |x|
|-------|
1       4

Open the JLinkDevices.xml in the installation directory of the SEGGER J-Link
software and search for the <Device> entry for the MCIMXRT1052. The FlashBankInfo
tag contains a Loader attribute which specifies an elf file. Change this
attribute to Loader="Devices/NXP/iMXRT105x/NXP_iMXRT105x_QSPI.elf"
and save the JLinkDevice.xml. Now the J-Link uses the QSPI Flash RAMCode
instead of the Hyper Flash RAMCode for the flash download.

Note: Several hardware modifications need to be done on the evaluation board
to enable QSPI programming. For further information regarding this, please
refer to NXP's board user manual.