The following steps will guide you through opening thehello_worldapplication. The instructions for compiling and debugging the Cortex M33 core are covered in the instructions below.
Build an Example Application
Please use IAR Embedded Workbench for Arm version 9.50.1 or above.
First, unzip the previously downloaded FRDM-MCXW71 SDK package
Open the desired example application workspace. Most example application workspace files can be located using the following path:
Select the desired build target from the drop-down. For this example, select the "hello_world - debug" target Sabina_Bruce_1-1767115322919.png
Open the project properties by doing a right-click on the project and selecting "Options" Sabina_Bruce_2-1767115378262.png
Now, go to the "Debugger" section and change the debugger driver to CMSIS DAP. Press the OK button Sabina_Bruce_3-1767115394492.png
To build the application, click the "Make" button, highlighted in red belowSabina_Bruce_4-1767115408772.png
The build will complete without errors Sabina_Bruce_5-1767115443376.png
Note: In case of building errors, make sure that the correct board is selected, right-click in Project → Options → General Options → Target → Device. Select the NXP MCU you are using and is supported by the IAR version you have installed.
Sabina_Bruce_6-1767115467787.png
Run an Example Application
Connect the development platform to your PC via USB cable to'MCU-Link' port Sabina_Bruce_7-1767115540901.png
Click the "Download and Debug" button to download the application to the target Sabina_Bruce_8-1767115562027.png
The application is then downloaded to the target and automatically runs to the main() function
Run the code by clicking the "Go" button to start the application Sabina_Bruce_9-1767115576348.png
Thehello_worldapplication is now running on the MCU.