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
Open the project properties by doing a right-click on the project and selecting "Options"
Now, go to the "Debugger" section and change the debugger driver to CMSIS DAP. Press the OK button
To build the application, click the "Make" button, highlighted in red below
The build will complete without errors
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.
Run an Example Application
Connect the development platform to your PC via USB cable to'MCU-Link' port
Click the "Download and Debug" button to download the application to the target
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
Thehello_worldapplication is now running on the MCU.