Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

Professional, Creditable, Successful DGUS Quick Start V1.0.

DGUS QUICK START


V1.0.0 Feb 2013

AMP DISPLAY INC. 1 www.ampdisplay.com


Professional, Creditable, Successful DGUS Quick Start V1.0.0

Contents
1. Introduction ................................................................................................................................. 3
2. What’s in the Sample Kit?......................................................................................................... 4
2.1 DGUS LCM ....................................................................................................................... 4
2.2 Peripherals ........................................................................................................................ 4
2.3 Download DGUS Materials ............................................................................................ 5
2.3.1 Software: ................................................................................................................ 5
2.3.2 Documents: ........................................................................................................... 5
3 DGUS Quick Start ....................................................................................................................... 6
3.1 Hardware Requirements ................................................................................................. 6
3.2 Connections ...................................................................................................................... 6
3.2.1 Connect PC and DGUS LCM ............................................................................. 6
3.2.2 Connect DGUS LCM and PC by Phoenix Connector ..................................... 7
3.3 Power................................................................................................................................. 7
3.4 Run-time Environment and USB Driver........................................................................ 7
3.4.1 Run-time Environment ......................................................................................... 7
3.4.2 USB Driver............................................................................................................. 7
3.5 Install DGUS_SDK......................................................................................................... 11
3.6 Start a New Project ........................................................................................................ 11
3.7 Development Steps ....................................................................................................... 13
3.8 Firmware Upgrade ......................................................................................................... 15
3.9 Check Firmware Version: ............................................................................................. 15
4 FAQ ............................................................................................................................................. 17
4.1 Display Abnormally ........................................................................................................ 17
4.2 Touch screen Calibration .............................................................................................. 17
4.3 Name Rules of Images and Font Files ....................................................................... 17
4.4 How to do with Icon Files? ........................................................................................... 18
4.5 Rotation 180°Display ..................................................................................................... 18
4.6 SD Card Format ............................................................................................................. 18
5 Maintenance and Service ........................................................................................................ 19
5.1 Maintenance ................................................................................................................... 19
5.2 Service............................................................................................................................. 19

AMP DISPLAY INC. 2 www.ampdisplay.com


Professional, Creditable, Successful DGUS Quick Start V1.0.0

1. Introduction
DGUS (DWIN Graphical User System) is a brand-new GUI software platform based on
the proprietary DWIN K600+ kernel, which was developed by DWIN Technology. With
the DWIN system, GUI designs and developments for communicating with the user’s host
can be achieved by utilizing the DGUS_SDK, DWIN Toolbox, which specializes in easy
visual interface and easy-use operation. DGUS eliminates complicated programming
tasks and lessens product development time.

Framework of DGUS System

AMP DISPLAY INC. 3 www.ampdisplay.com


Professional, Creditable, Successful DGUS Quick Start V1.0.0

2. What’s it in the Sample Kit?

2.1 DWIN DGUS LCM

2.2 Peripherals
Connection cables, connector, downloading board, SD card

AMP DISPLAY INC. 4 www.ampdisplay.com


Professional, Creditable, Successful DGUS Quick Start V1.0.0

2.3 Download DGUS Materials


2.3.1 Software:
DGUS Software V3.4: software to create interface configuration files. (Refer to DGUS
Software User Guide)
Link:http://www.ampdisplay.com/documents/pdf/03_DGUS_SDK%20Software%20V3.4.zip
DWIN Toolbox: software to create icon files, ASCII font, and convert images.
Link:http://www.ampdisplay.com/documents/pdf/Tool%20Box%20(June%202012).rar
DWIN_OS Builder: programming software to develop DWIN OS platform.

2.3.2 Documents:
A. DGUS Quick Start: for customer who first use DWIN LCM.
B. DGUS Software User Guide_V3.4: DGUS Software V3.4 operation introduction.
Link: http://www.ampdisplay.com/documents/pdf/DGUS%20User%20Guide%20V3.4.pdf
C. DGUS Development Guide: showing how to develop products with DGUS LCM.
(This is the most important documentation when you program codes. Also, refer to DGUS
Command Illustration)
Link:http://www.ampdisplay.com/documents/pdf/06_DGUS%20Development%20Guide_
V3.2.1.pdf
DGUS Command Illustration: Illustrate DGUS commands to communicate with
customer’s host.
Link:http://www.ampdisplay.com/documents/pdf/06_DGUS%20Command%20Illustration.
pdf
DWIN OS_v1.0: DWIN OS programming guide

SD card interface to download instructions: First time, you can try to download few
images to the DWIN module via SD card.
Link:http://www.ampdisplay.com/documents/pdf/08_SD%20card%20interface%20and%2
0application%20notes.pdf

AMP DISPLAY INC. 5 www.ampdisplay.com


Professional, Creditable, Successful DGUS Quick Start V1.0.0

3 DGUS Quick Start

3.1 Hardware Requirements


You must have a PC to run DGUS_SDK and DWIN Toolbox and other developing
software. To run the software, .Net Framework 2.0 is needed.

3.2 Connections

3.2.1 Connect PC and DGUS LCM

1) Connecting DGUS LCM to PC via DB9 serial port by 8Pin cable.

2) Connecting DGUS LCM to PC by HDL661 and 8Pin cable.

3) Connecting DGUS LCM to PC by HDL662 and 10Pin cable.

AMP DISPLAY INC. 6 www.ampdisplay.com


Professional, Creditable, Successful DGUS Quick Start V1.0.0

3.2.2 Connect DGUS LCM and PC by Phoenix Connector

3.3 Power
As shown in the product specification, please supply the power in right range.

3.4 Run-time Environment and USB Driver

3.4.1 Run-time Environment

.Net Framework 2.0 is needed and you can download it on our website. Please notice
your OS Type and choose the right Type of package.
Link: http://www.ampdisplay.com/documents/pdf/NetFx64.exe (For 32bit PC OS)
http://www.ampdisplay.com/documents/pdf/dotnetfx.exe (For 64bit PC OS)

3.4.2 USB Driver

Install USB driver to make sure you can debug the communication between DGUS LCM
and PC via HDL661, HDL662 and HDL663.

AMP DISPLAY INC. 7 www.ampdisplay.com


Professional, Creditable, Successful DGUS Quick Start V1.0.0

Steps to install XR21V1410 driver (for HDL662):


1) Download the driver file and unzip it.
Link:http://www.ampdisplay.com/documents/pdf/XR21x141x-XP2KVista7-DriversOnly-Ve
rs1.8.0.0.zip

2) Computer Right button Manage

3) Device Manager Ports Update Driver Software

AMP DISPLAY INC. 8 www.ampdisplay.com


Professional, Creditable, Successful DGUS Quick Start V1.0.0

4) Select the second method.

5) Browse Select the path of driver file and click the right OS Type.

6) Click ‘Next’ and complete the installation.

AMP DISPLAY INC. 9 www.ampdisplay.com


Professional, Creditable, Successful DGUS Quick Start V1.0.0

Steps to install CP210x driver (for HDL661 and HDL663):


Download the driver file and click ‘Next’ to install.
Link:http://www.ampdisplay.com/documents/pdf/CP210x_VCP_Win_XP_S2K3_Vista_7.e
xe

AMP DISPLAY INC. 10


www.ampdisplay.com
Professional, Creditable, Successful DGUS Quick Start V1.0.0

3.5 Install DGUS_SDK


Unzip DGUS_SDK_V34.rar, and click DGUS ToolV3.4.exe to run it.
(.net Framework 2.0 is required to run the software. Refer to Chapter 2.3)

3.6 Start a New Project


DGUS_SDK is for generating configuration files. The files should be placed into
<DWIN_SET> folder in SD card then downloaded into DWIN DGUS LCM.
User may use any third-party Serial Connection Debugging Programs (e.g.: SSCOM32) to
debug the communication between DGUS LCMs and PCs.

Basic operation Description Illustration

Click “New” to create


Project starts.
a new project.

Please notice those


pictures are only for
Add / Delete
designing. SD card is
pictures.
necessary for images
downloading.
Make sure that the SD card is formatted to
FAT32, and the images are formatted to
24 bit BMP with numbering sequence from zero
(for example: 00.bmp, 01.bmp, 02.bmp, etc.)

AMP DISPLAY INC. 11


www.ampdisplay.com
Professional, Creditable, Successful DGUS Quick Start V1.0.0

Parameter
Add touch adjustment of button
buttons. could be achieved by
operation in the right.

Parameter
adjustment of button
Add variables.
could be achieved by
operation in the right.

Click “Create Config.”


Save the settings and the bin file will be
into bin file. created in
DWIN_SET folder.

Click “System
Setting” to adjust
System Settings.
baud rate, frame
header etc.

AMP DISPLAY INC. 12


www.ampdisplay.com
Professional, Creditable, Successful DGUS Quick Start V1.0.0

3.7 Development Steps


Step 1: Planning of Variables
Basic principles of planning:
VP should be arranged in continuous addresses for convenience to write and read.
Overlap of VP and SP addresses should be avoided.

Step 2: Interface Design


Pictures, icons and fonts are generated by image processing software.
Color palette should be 65K color (16-bit) to ensure the accordance of design and final
effect.

AMP DISPLAY INC. 13


www.ampdisplay.com
Professional, Creditable, Successful DGUS Quick Start V1.0.0

Step 3: Configuration of User Interface


Config. file for the touch logic and variable display are generated by DGUS_SDK.

Step 4: Debugging & Modification


Testing and revising the interface by viewing effects on DGUS LCM. (Step 2 - 3)
Connect serial port of DGUS LCM and user’s MCU, debugging.

AMP DISPLAY INC. 14


www.ampdisplay.com
Professional, Creditable, Successful DGUS Quick Start V1.0.0

Step5: Confirm & Filing


Config. files, fonts, icon files, pictures and other files can be stored in SD cards for filing
and mass production.
There is only one way to upgrade the data into DGUS LCM and export the data that is by
SD card. So for intellectual property of products, lock the SD port after downloading the
data.
Please remember the password or DGUS LCM will be locked
permanently.

3.8 Firmware Upgrade


Method 1: via SD card.
Upgrade your DGUS firmware by SD card is STRONGLY RECOMMENDED for V3.0 and
higher version. (Copy the DGUS_V*.BIN into DWIN_SET in root directory of SD card.)
Method 2: via serial port.
Refer to chapter 1.4 in DGUS Development Guide for more details.

3.9 Check Firmware Version:


A. Physically, connect DGUS LCM serial port and COM port on PC, and connect power
properly.
B. Open the SSCOM3.2 and make sure that "SendHEX" and "HexData" are ticked.
C. Then write command in data input column: "Frame_Header (2 Bytes) 03 81 00 01"
and press “SEND” button.
D. Your computer will receive a feedback message like "Frame_Header (2 Bytes) 03 81
00 XX". The number XX is the version number in BCD format. If it's 10, that means
V1.0, if 35, means V3.5.

AMP DISPLAY INC. 15


www.ampdisplay.com
Professional, Creditable, Successful DGUS Quick Start V1.0.0

AMP DISPLAY INC. 16


www.ampdisplay.com
Professional, Creditable, Successful DGUS Quick Start V1.0.0

4 FAQ

4.1 Display Abnormally


A. firmware upgrading failed; please do it again as the steps refer to chapter 3.8.
B. power supply is wrong (lower than minimum voltage, the LCM doesn’t work), refer to
product specification and supply the right power.
C. initial image is empty.
D. driver mode been changed to a wrong value, connect us to achieve the right value and
change it back.
E. wrong format of pictures, it should be 24-bit BMP.

4.2 Touch screen Calibration


Method 1: tap touch screen 20 times in 4 seconds in none-button area to activate
calibration mode.

 Quickly tap the touch screen more than 20 times in 4 seconds.


Note: do not click button area.
 Click until a long beep from the buzzer.
For the models without buzzer, user can time for 4 seconds or judge by if the
variables are refreshed.
 Click particular position on touch screen to calibrate.
 Calibration finished and back to the starting page.

Method 2 (for V4.5 and higher version): write “TP_CORRECT” in CONFIG.TXT in root
directory of SD card to activate calibration made once.

For V4.3 and higher version, touch screen calibration will be disabled when SD card is
disabled.

4.3 Name Rules of Images and Font Files


Pictures: picture ID + (optional) file name.BMP, e.g.: 00_starting page.BMP.
Font files: font ID + (optional) file name.BIN/DZK/HZK, e.g.: 0_DWIN_ASC.HZK;
32_ASCII_Arial.DZK. (HZK or DZK format both can be used.)
For more details, please refer to DGUS Development Guide. (page 7)

AMP DISPLAY INC. 17


www.ampdisplay.com
Professional, Creditable, Successful DGUS Quick Start V1.0.0

4.4 How to do with Icon Files?


Use the in DWIN_Toolbox to generate icons. Copy the icon files into the
folder DWIN_SET of the project, and then you can call the icons directly when running the
DGUS_SDK.

4.5 Rotation 180°Display


If user set the LCM 180°rotation, please calibrate the touch screen once after download.

4.6 SD Card Format


Format your SD card: if part of your data in SD card is not downloaded into LCM, please
format your SD card as the instruction below.

Step 1: open RUN function in Windows and run DOS using “command”.

Step 2: type command to format: “format/q g:/fs:fat32/a:4096”, and click <enter> to finish
formatting.

The letter in red is the disk number of SD card.

AMP DISPLAY INC. 18


www.ampdisplay.com
Professional, Creditable, Successful DGUS Quick Start V1.0.0

5 Maintenance and Service

5.1 Maintenance
As high-precision device, LCM should be operated carefully when in storage, transporting
and installing, avoiding strong pressure on the LCM and scratching by sharp objects.
LCD surface, CF and coatings, and touch panel are made of organic high polymer
material, use LCD cleaners to do cleaning, avoiding organic solvents, such as alcohol,
Alkali materials, chemicals contacting the LCM.

5.2 Service
The service extends only to the original purchaser.
After purchase our products, services shown below are offered to our clients, except
artificial damage.
Free repairing if your DGUS LCM breaks within 1 year is achieved.
We’ll maintain the product throughout its life.
If you need your product repaired but not satisfy the conditions above, the pee will be paid
at the next order.

The following shows the artificial damage.


LCD: scratch, crush, corroded by organic solvents.
Touch screen: scratch, crush, corroded by organic solvents, cable breaks.
LCM: burn out by reverse polarity, broken by force etc.

Technology support
You can contact us by emails or phones to get help when you get any questions with our
product. Also you can download DEMOs and other technology documents on our website
to help you developing your DGUS LCM.
Also please contact us for the latest firmware, other software, documents, and product
information and so on.

AMP DISPLAY INC. 19


www.ampdisplay.com

You might also like