Realtek Ameba-ZII DEV User Manual page 17

Table of Contents

Advertisement

2.3.2.1.4 Compilation
1) Open SDK/project/realtek_amebaz2_v0_example/EWARM-RELEASE/Project_tz.eww.
2) Confirm 'application_ns' and 'application_s' are in Work Space.
3) Right click 'application_s' and click "Rebuild All" to compile 'application_s' first. If 'application_s' is compiled
successfully, it will generate a file named 'application_s_import_lib.o' and the file will be put in "lib" folder of
'application_ns', shown in Figure 2-10.
4) Make sure 'application_s' is compiled successfully and the file 'application_s_import_lib.o' has been put under "lib" in
'application_ns'.
5) Right click 'application_ns' and click "Rebuild All" to build 'application_ns'.
6) Make sure the 'application_ns' is compiled successfully.
2.3.2.1.5 Generating image binary
After compile, the images partition.bin, bootloader.bin, firmware_tz.bin and flash_tz.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_tz.bin is application image;
4) flash_tz.bin links partition.bin, bootloader.bin and firmware_tz.bin. Users need to choose flash_tz.bin when
downloading the image to board by PG Tool.
2.3.2.1.6 Download
After a successfully compilation and 'flash_tz.bin' is generated without error, user can either
1) Directly download the image binary on to demo board from IAR IDE (as below)
Application Note
Figure 2-10 application_s compile result
All information provided in this document is subject to legal disclaimers.
17
Ameba-ZII Application Note
© REALTEK 2018. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Ameba-ZII DEV and is the answer not in the manual?

Table of Contents