Download File ->>> https://blltly.com/2tAHGX
How to Use IAR Embedded Workbench for Arm 6.10
IAR Embedded Workbench for Arm is a complete development environment for Arm-based embedded applications. It provides a user-friendly IDE, a powerful compiler, a comprehensive debugger, and integrated code analysis tools. In this article, we will show you how to use IAR Embedded Workbench for Arm 6.10 to create, build, and debug a simple project.
Creating a Project
To create a new project in IAR Embedded Workbench for Arm 6.10, follow these steps:
Launch IAR Embedded Workbench for Arm 6.10 and select File > New > Workspace.
In the New Workspace dialog box, enter a name and location for your workspace and click OK.
In the New Project dialog box, select C/C++ Project and click OK.
In the Create New Project dialog box, enter a name and location for your project and click OK.
In the Select Device dialog box, choose your target device from the list of supported Arm cores and click OK.
In the Select Project Template dialog box, choose a template that matches your project type and click OK. For example, you can choose Blinking LED to create a project that toggles an LED on your board.
The project is created and added to your workspace. You can see the project files in the Workspace window.
Building a Project
To build your project in IAR Embedded Workbench for Arm 6.10, follow these steps:
Select your project in the Workspace window and click the Make button on the toolbar.
The project is compiled and linked using the IAR C/C++ Compiler and Linker. You can see the build output in the Build window.
If there are no errors or warnings, you can see the message "Build succeeded" in the status bar.
You can also view the code size report by clicking the Show Code Size Report button on the toolbar. This shows you how much memory your application uses.
Debugging a Project
To debug your project in IAR Embedded Workbench for Arm 6.10, follow these steps:
Select your project in the Workspace window and click the Download and Debug button on the toolbar.
The project is downloaded to your target device using the C-SPY Debugger and a debug probe of your choice. You can see the download progress in the C-SPY Output window.
If there are no errors, you can see the message "Download completed" in the status bar.
The debugger stops at the first line of your main function. You can see the source code in the Edit window, the disassembly code in the Dissassembly window, and the register values in the CPU Registers window.
You can use the debugger commands on the toolbar or menu to control the execution of your application. For example, you can use Step Over, Step Into, or Run to Cursor to execute one line or instruction at a time.
You can also set breakpoints, watch variables, view memory contents, and use other debugging features available in C-SPY Debugger.
To end the debugging session, click the Kill Session/Reset Target System/Exit Debug Mode/Disconnect from Target System/Exit C-SPY Debugger 061ffe29dd