2.3
IAR Environment Setup
IAR IDE (integrated development environment) only supports Windows OS, this section is applicable for Windows OS only.
2.3.1
Install and Setup IAR IDE in Windows
IAR IDE provides the toolchain for Ameba-ZII. It allows users to write programs, compile and upload them to your board. Also, it
supports step-by-step debug function.
User can visit the official website of IAR Embedded Workbench and install the IDE by following its instructions.
Note: Please use IAR version 8.30 or above.
2.3.2
IAR Project Introduction
2.3.2.1 Ignore Secure Project
Currently users can use ignore secure mode. 'project_is' (ignore secure) is the project without TrustZone configuration. This
project is easier to develop and suit for first-time developer.
2.3.2.1.1 Compilation
1) Open SDK/project/realtek_amebaz2_v0_example/EWARM-RELEASE/Project_is.eww.
2) Confirm application_is in Work Space, right click application_is and choose "Rebuild All" to compile.
3) Make sure there is no error after compile.
2.3.2.1.2 Generating Image Binary
After compile, the images partition.bin, bootloader.bin, firmware_is.bin and flash_is.bin can be seen in the EWARM-
RELEASE\Debug\Exe.
1) partition.bin stores partition table, recording the address of Boot image and firmware image;
2) bootloader.bin is bootloader image;
3) firmware_is.bin is application image;
4) flash_is.bin links partition.bin, bootloader.bin and firmware_is.bin. Users need to choose flash_is.bin when
downloading the image to board by PG Tool.
Application Note
All information provided in this document is subject to legal disclaimers.
15
Ameba-ZII Application Note
© REALTEK 2018. All rights reserved.
Need help?
Do you have a question about the Ameba-ZII DEV and is the answer not in the manual?