1.1 Updating the OpenSDA Bootloader
Before flashing and debugging the target, please ensure that the OpenSDA Bootloader is the newest version, a guide on how to update the bootloader is found here: OpenSDA MIMXRT1050-EVK
1.2 Patch IAR Embedded Workbench
TouchGFX 4.9.0 for NXP IMX1050RT supports IAR Embedded Workbench version 7.8x and 8.11
Download and extract the file ewarm811-nxp-imxrt105x-patch.zip into your IAR Embedded Workbench installation typical:
|Version 7.8x||C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5|
|Version 8.11||C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0|
1.2 Install SDK
To use TouchGFX for NXP IMX1050RT, you need to install the SDK from NXP.
Use the MCUXpresso SDK – SDK builder to generate 2.3.0_EVK-MIMXRT1050 SDK.
Visit this link: https://mcuxpresso.nxp.com/en/welcome.
Select the SDK Builder and login when prompted, after logging in with a NXP account. Create a new account if you do not already have one.
Search by name for “EVK-MIMXRT1050” or find the configuration by browsing through Boards->i.MX->EVK-MIMRT1050. Click “Select Configuration” to confirm. Download the package by clicking the “Download Now” button.
In the left panel clik: Build MCUXpresso SDK.
Ensure that the following Middleware components are present in the SDK Details:
If these are not present clink the add software component, open the drop down menu and select the missing components.
After downloading the package, unpack it at C:\NXP\2.3.0_EVK-MIMXRT1050
2 Creating a new application for the EVK-MIMXRT1050 board
In TouchGFX Designer select “Change” on the “Application Template” card and switch to the tab named “NXP Semiconductors” to choose the “EVK-MINXRT1050 board”, hereafter press “Select” to confirm.
TouchGFX Designer defaults to a blank UI. If another UI template is desired, select “Change” on the “UI Template” card and choose a compatible UI template from the list. Click the “Create” button to start
developing the graphical user interface with the TouchGFX Designer for EVK-MIMXRT1050.
Compiling the project with IAR Embedded Workbench, click the “Browse Code” button in the bottom right
corner of the designer. This will open up a Windows File Explorer in the root directory of the created project.
2.1 IAR Embedded Workbench
The IAR project is located under “target/IAR
Open the project with IAR Embedded workbench to compile the application.
Change SDK installation path
If a different directory than C:\NXP\2.3.0_EVK-MIMXRT1050 is used, the NXP_SDK variable must be corrected accordingly. Change the NXP_SDK by opening the Configure Custom Argument Variables dialog in the Tools menu:
2.2 Keil uVision
The Keil uVision project is located under "target/mdk"
Open the project with uVision to compile and flash the application.
2.3 MCUXpresso IDE
The MCUXpresso apllication is located in a workspace under "target/MCUXpresso/application".
When opening the project, set the workspace folder to "target/MCUXpresso" and click OK, this will open the workspace containing the i.MX1050RT TouchGFX project.