www.cypress.com
Document No. 002-04388 Rev. *B
1
AN204388
Getting Started For FM4
S6E2DH (GAT-D)
Associated Part Family: S6E2DH Series
The purpose of this guide is to provide a brief introduction of the graphics resolution of S6E2DH designated by
Cypress.
Contents
Preface ..................................................................... 1
About This Guide ............................................. 1
Overview .................................................................. 1
Utilization of GAT-D Tool Step by Step .................... 2
Create a New Project ....................................... 3
Import Images .................................................. 4
Page Creation .................................................. 6
Flow Design Table Creation ........................... 17
Source Generation ......................................... 21
Add Generated Source to IAR project ........... 22
Download and Run after Build ....................... 24
Application of GAT-D .............................................. 26
Event Management ........................................ 26
User’s Source Code ....................................... 27
Display Simulation ......................................... 29
Sprite Special Effect ...................................... 30
Touch Panel Resolution ................................. 31
Source Generate Option ................................ 32
GAT-D API ............................................................. 34
Interface Description ...................................... 35
Join with Source ............................................ 37
Program.................................................................. 38
Debugging Mode ........................................... 38
Product Mode ................................................ 39
Sample Project Instruction...................................... 39
Construction .................................................. 39
Function Overview ......................................... 41
Document History ............................................................ 42
1
Preface
1.1
About This Guide
The purpose of this guide is to provide a brief introduction of the graphics resolution of S6E2DH designated by
Cypress. This guide explains:
1. How to work with Graphics Authoring Tool for S6E2DH (GAT-D).
2. Advanced application of GAT-D.
3. How to integrate the generated source and Graphics Driver to embedded software.
4. Program to internal Flash and external Flash.
5. Construction of sample.
Note:
This guide is described with example while using EWARM of IAR Systems AB. For other IDE please refer it
properly.
2
Overview
Follow figure shows the exact relationship of each component.