Ameba-ZII Application Note
Application Note All information provided in this document is subject to legal disclaimers. © REALTEK 2018. All rights reserved.
5
Table of Contents
COPYRIGHT ......................................................................................................................................................... 2
DISCLAIMER ........................................................................................................................................................ 2
TRADEMARKS ..................................................................................................................................................... 3
USING THIS DOCUMENT .................................................................................................................................... 3
Revision History ................................................................................................................................................. 4
Table of Contents ............................................................................................................................................... 5
List of Figures ..................................................................................................................................................... 7
List of Table ........................................................................................................................................................ 8
1 Demo Board User Guide ............................................................................................................................ 9
1.1 PCB Layout Overview .......................................................................................................................... 9
1.2 Pin Mux Alternate Functions ............................................................................................................. 10
1.2.1 Pin Mux Table ............................................................................................................................ 10
1.2.2 Pin-Out Reference ...................................................................................................................... 11
2 SDK Build Environment Setup .................................................................................................................. 12
2.1 Debugger Settings ............................................................................................................................. 12
2.1.1 J-Link Debugger .......................................................................................................................... 12
2.2 Log UART Settings ............................................................................................................................. 14
2.2.1 EVB v2.0 ..................................................................................................................................... 14
2.3 IAR Environment Setup ..................................................................................................................... 15
2.3.1 Install and Setup IAR IDE in Windows ........................................................................................ 15
2.3.2 IAR Project Introduction ............................................................................................................ 15
2.4 GCC Environment on Windows (Using Cygwin) ................................................................................ 19
2.4.1 Install Cygwin ............................................................................................................................. 19
2.4.2 Building the Non-Trust Zone Project ......................................................................................... 19
2.5 GCC Environment on Ubuntu/Linux .................................................................................................. 20
2.5.1 Verify Device Connections ......................................................................................................... 20
2.5.2 Compile and Generate Binaries ................................................................................................. 20
2.5.3 Download and Flash Binaries ..................................................................................................... 20
3 Image Tool ................................................................................................................................................ 21
3.1 Introduction ....................................................................................................................................... 21
3.2 Environment Setup ............................................................................................................................ 23