![](https://csdnimg.cn/release/download_crawler_static/89541853/bg1.jpg)
AmebaZ Image Tool User Guide
This document introduces how to use Image Tool to encrypt, generate and download Images.
Version 1.0
![](https://csdnimg.cn/release/download_crawler_static/89541853/bg2.jpg)
AmebaZ Image Tool User Guide 1v0
2/14
Table of Contents
1. INTRODUCTION ........................................................................................................................................ 3
2. ENVIRONMENT SETUP ............................................................................................................................ 4
2.1. HARDWARE SETUP .................................................................................................................................. 4
2.2. SOFTWARE SETUP .................................................................................................................................... 4
3. IMAGE DOWNLOAD ................................................................................................................................. 5
3.1. IMAGE DOWNLOAD ................................................................................................................................. 5
3.2. SINGLE IMAGE MODE .............................................................................................................................. 6
3.3. FLASH ERASE .......................................................................................................................................... 8
4. IMAGE GENERATION .............................................................................................................................. 9
4.1. IMAGE ALL GENERATION ........................................................................................................................ 9
4.1.1. System Data ................................................................................................................................. 10
4.2. CLOUD OTA IMAGE GENERATION ......................................................................................................... 12
5. ENCRYPTION............................................................................................................................................ 13
![](https://csdnimg.cn/release/download_crawler_static/89541853/bg3.jpg)
AmebaZ Image Tool User Guide 1v0
3/14
1. Introduction
This document introduces how to use Image Tool to encrypt, generate and download Images.
As show in the following figure, Image Tool has three tabpages:
Download: used as image download server to transmit images to AmebaZ through UART
Generate: concat separate images and generate a final image
Encrypt: encrypt images which are used for firmware protection
Figure 1- 1 Image Tool UI
![](https://csdnimg.cn/release/download_crawler_static/89541853/bg4.jpg)
AmebaZ Image Tool User Guide 1v0
4/14
2. Environment Setup
2.1. Hardware Setup
AmebaZ
Micro USB cable
UART<-USB
Figure 2- 1 Hardware Setup
2.2. Software Setup
Environment Requirements: EX. WinXP, Win 7 Above Microsoft .NET Framework 3.5
ImageTool.exe Location: project\tools\AmebaZ\Image Tool\ImageTool.exe
![](https://csdnimg.cn/release/download_crawler_static/89541853/bg5.jpg)
AmebaZ Image Tool User Guide 1v0
5/14
3. Image Download
3.1. Image Download
Assuming that the Image Tool on PC is Server, which sends images files to AmebaZ(Client) through UART.
Client or Server, whichever starts first will be ok.
Steps to start client are as following, which will get AmebaZ into UART_DOWNLOAD mode.
(1) For QFN32, pins marked with “1” on the figure should be connected by jumper cap.
For QFN48 & QFN68, pins marked with “2” should be connected by jumper cap.
(2) Push the Image Download Button and keep it pressed
(3) Power on the board or press the Reset Button. Now AmebaZ get into UART DOWNLOAD mode
(4) Finally Release the Image Download Button. Now the client is ready for receiving data.
USB->UART
Image
Download
Button
LOGUART: GPIOA_16 & GPIOA_17
LOGUART: GPIOA_29 & GPIOA_30
1
2
Reset Button
Figure 3- 1 AmebaZ DEV
Steps to start Server are as following:
(1) Select serial port and transmission baudrate. The default baudrate is 1.5Mbps.Then open serial port
(2) Select the images to be transferred and input addresses. The address which starts with 0x08 is for flash,
and 0x10 for RAM
(3) Click Download button to start. Now the server is ready to send data.
When the client and server are both ready, data transmission begins.
The progress bar will show the transmit progress of each image. You can also get the message of operation
successful or errors occur from log window.