Revision History Version Date Descriptions May 27, 2014 Initial creation. Jan 14, 2015 Add FCC Warning Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 2...
1. Introduction This document provides a guideline on operating and configuringCastles VEGA3000 terminal. The scope of this document includesetting up the terminal, basic operation, application life cycle, and some advance features. 1.1. Type of Terminal VEGA3000 terminal is portable type can be battery operated.
Page 6
To start up the terminal needs to press “Power Button” key after the adapter connected. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 6...
Page 9
26. Com port 1 22. Base LED 27. Modem - Line Port 23. Power Connector 28. Ethernet Port 24. Com port 3 29. Micro USB Port 25. Com port 2 Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 9...
Step 2: Insert SAM card into desire slot. SAM 1 & 2: Gold contact at lower side of card and facing right. SAM 3 & 4: Gold contact at lower side of card and facing left. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 11...
Step 1 Step 1: Pulluppaper roll box handle. Step 2: Gentle open paper roll cover. Step 3: Insert paper roll as direction showed. Paper specification Width: 57mm Outside diameter: 40mm Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 12...
Step 1: Remove battery cover / back cover Step 2: Open SIM socket and insert GSM SIM card into desire slot. SIM 1 & 2: Gold contact at upper side of card and facing down. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 13...
4.ULD KEY HASH 5.Test Utility 5.HW Detect 6.Factory Reset 7.Power Off 8.FK PWD Change 9.Share objMng Down: Next Page Up:Prev Page Press [.] button to page 2. 3.2. Download AP Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 16...
Page 17
Press [1] button to select source as RS232 or USB connection and enter ULD download mode. Press [2] button to select source as USB disk. Press [3] button to select source as SD card. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 17...
Down: Next Page Press [3] button to enter Memory Status menu. Memory Status Menu MEMORY STATUS --FLASH Memory-- Total: 31616KB Used : 22640KB --SDRAM Memory-- Total: 31872KB Used : 10908KB Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 19...
GDB connection channel. ETHER IP/PORT GDB Ethernet connection setting. RTC Time Zone Set Time Zone of Real Time Clock. NTP Enable Enable (Y) or disable (N) Network Time Protocol. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 20...
Page 21
Press [Power] or [.]button to select setting. Press [OK] button to change the setting value. Press [] button to toggle Y N Y. Press [2] button to next page. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 21...
Page 22
Press [OK] button to change the setting value. Press [] button to toggle Y N Y. Press [1] button to previous page. Press [2] button to next page. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 22...
Press [4] and [OK] button to diagnose smart card module. Press [5] and [OK] button to diagnose backlight. Press [6] and [OK] button to diagnose magnetic stripe reader. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 23...
Page 24
Press [X] button to exit. Power Saving Test Menu Power Saving Test 1. Standby Mode 2. Sleep Mode Press [1] button to Standby Mode. Press [2] button to Sleep Mode. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 24...
Page 25
Press [5] button to diagnose USB. Press [6] button to diagnose modem. Press [7] button to diagnose GPRS. Press [8] button to diagnose all, from item 1 to 7. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 25...
1.Download AP 2.System Info 3.Memory Status 4.Sys Settings 5.Test Utility 6.Factory Reset 7.Power Off 8.FK PWD Change 9.Share objMng Down: Next Page Press [7] button to power off terminal. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 27...
FunKey Password New Password: **** Confirm Password **** Enter new password. Enter new password again to confirm. FunKey Password New Password: **** Confirm Password **** PWD Changed OK Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 28...
1.Connect Server 2.SetConfig 3.DelConfig Press [1] button to connect to TMS server. Press [2] button to set TMS configuration. Press [3] button to delete TMS configuration. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 30...
Press [2] button to view Font Management. FontManagment Font Mng 1.FNT File 2.TTF File Press [1] button to view FNT Font list. Press [2] button to view TTF Font list. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 31...
2.Clean All Press [1] get the Debug Log from the memory of terminal to SD card. Press [2] clean all the Debug Log from the SD card. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 32...
4.ULD KEY HASH 5.HW Detect Up:Prev Page Press [5] button to view the hardware type of the termianl. HW TYPE Qriginal HW-TYPE :MEGC HW-TYPE :MEGC Please Any Key. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 34...
ULD User Key Encryption Key (RSA) ULD User Signature Key (RSA) For VEGA3000, the RSA key length is 2048bits. 4.1.1. ULD Manufacturer Key The system consists of several kernel modules. These kernel modules are provided by the Manufacturer, and released in CAP format file with encryption and signing via ULD Manufacturer Keys.
Page 36
CAPs without the user permission. ULD Manufacturer Keys Unsigned Kernel Kernel Module CAP Generator CAPs ULD User Keys Unsigned Kernel Signed Kernel CAPs CAP Signing Tool CAPs Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 36...
ULD User Keys, they have to use their original ULD User Keys with the new ULD User Keys to generate a KEY CAP. Original ULD Manufacturer/User Keys New ULD User KEY CAP Key CAP Generator Manufacturer/User Keys Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 37...
Castles will release new version of kernel module in “unsigned” form. This files required to sign with ULD User Key before it can load to terminal. Castles Technology provideds a tool named “CAP Signing Tool” to perform this task. The CAP Signing Tool is located at: C:\Program Files\Castles\VEGA3000\tools\Signing Tool ...
Page 39
Enter Key Card PIN CAP Signing Tool is ready, press “Select MCI File” button to browse the file. Output file will be located in “signed” folder. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 39...
Share files System setting Key CAP (Manufacturer ULD Key Set) Castles Technology provided a tool named “CAP Generator” to perform this task. The CAP Generator is located at: C:\Program Files\Castles\VEGA3000\tools\CAPG (KeyCard) Run CAP Generator Confidential • All Right Reserved.
Page 41
Insert Key Card and select smart card reader Enter Key Card PIN Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 41...
Page 42
CAP Generator is ready, select the correct Type from the list. Press “Step 1: Select AP Executable File” to select file to sign. This is valid for all the files to sign. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 42...
Page 43
Note: If user would like to load multiple set of signed file, create a new file with extension of “mmci”. Then put the mmci file contents with the list of mci file. MultiApp.mmci Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 43...
Download by user application Download by Castles TMS User Loader is a tool provided by Castles Technology. It’s the formal way to download file to terminal. User may implement their own ways of updating application or files using CTOS API provided, CTOS_UpdateFromMMCI().
Page 45
Press [0] button in Program Manager (PM) Press [1] button to select “1. Download AP“ Press [1] button again to select download via RS232 or USB Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 45...
Page 46
SET USB Host: N Base USB CDC: X List SHR Lib: N Key MNG Mode: 0 Bat Threshld: X Null Cradle : X Debug Mode Debug Port 2: Next Page Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 46...
Note: If user would like to load multiple application, create a new file with extension of “mmci”. Then put the mmci file contents with the list of mci file. MultiApp.mmci Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 47...
Page 48
Select DW Source o Press [2] button to select USB flash drive. o Press [3] button to select MicroSD card. Finally, terminal will process the file “vxupdate” folder. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 48...
Technology provided a tool named “Secure Key Generator” to perform this task. Run Secure Key Generator Insert Key Card and select smart card reader Enter Key Card PIN, default PIN is “1234”. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 49...
Page 50
To change Key Card PIN, press “Update PIN” button. If not, please skip this steps. Enter new PIN, enter new PIN again to confirm, then press [Enter] button to change PIN in Key Card. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 50...
Page 51
To view current key set hash value, goto “Option” and select key. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 51...
Page 52
Please generate the RSA key by yourself,thelength of the RSA key set should be 2048 (bits). Copy RSA key components to RSA Key for Kenc in Secure Key Generator. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 52...
Page 53
Generate second RSA key set for Signature. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 53...
Page 54
You will need this if you need to create duplicate Key Card. To generate the key CAP for the newly generated user key set, press [Make Key CAP File] button. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 54...
Page 55
The output file will be located in the Secure Key Generator folder. SecureKeyGenerator key.mci key.cap To update the newly generated key set to Key Card, press [Save to Card] button to write the key set to Key Card. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 55...
5. Font Management 5.1. Loading New Font Run FontManager.exe Located at C:\Program Files\Castles\Font Manager Select font to download Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 56...
Page 57
Press [Setting] button to configure terminal type. Select VEGA5000, press [Save] button to save and return font manager. Press [Generate] to create the font file. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 57...
Page 58
Font.FNT Sign the file using CAP Generator, the type must set to “11 – Linux Font”. Lastly, download the signed file (CAP file) to terminal using Loader. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 58...
Zone 0x80 ~ 0xFF – Free to use, you may use for symbols. Following steps demonstrate how to create a 12x24 font. Run GLCD Font Creator Select [File] [New Font] [Import An Existing System Font] Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 59...
Page 60
You may need to repeat this steps few times to find the best fit font size. Set the import range from 0 to 127. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 60...
Page 61
Use the following buttons to adjust the font size to match with expected font size. Removecolum nonleft columnonrigh Add column Removecolumn on left onright Add row on Remove row on bottom Add row Remove on bottom row on top Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 61...
Page 62
After adjust font size, select [File] [Export for MicroElektronika]. Select output format as [mikroC]. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 62...
Page 63
“ from offset 0x00 to 0x1F. Remove empty line if found. Then click [Save] button to save to file. Remove Remove Remove Remove Run Font Manager Tool. Click [Setting] button Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 63...
Page 64
Enter the file name, font id, and select the size. Click [Create] button, and select the C file previously created using GLCD Font Generator. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 64...
Page 65
Select [Font Manager] tab and tick the newly createdfont, and press [Generate] button to export to FNT file. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 65...
Page 66
In terminal application, add following code to display message using the newly created font. CTOS_LanguageConfig(0xA000,d_FONT_12x24,0,d_FALSE); CTOS_LanguageLCDSelectASCII(0xA000); CTOS_LCDTPrintXY(1, 1, "ABCDEFGH"); Or print message using the newly created font. CTOS_LanguagePrinterSelectASCII(0xA000); CTOS_PrinterPutString("ABCDEFGH"); Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 66...
Set type to [11 – Linux Font], press [Step 1] button select the TTF file. Then press [Step 2] to generate CAP file. Download the font CAP file to terminal. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 67...
Page 68
CTOS_LCDTTFSelect("COOPBL.TTF", 0); CTOS_LCDFontSelectMode(d_FONT_TTF_MODE); CTOS_LCDTSelectFontSize(0x203C); // 32x60 CTOS_LCDTClearDisplay(); CTOS_LCDTPrintXY(1, 1, "Hello World"); Or print message using the newly added font. CTOS_PrinterTTFSelect("COOPBL.TTF", 0); CTOS_PrinterFontSelectMode(d_FONT_TTF_MODE); CTOS_LanguagePrinterFontSize(0x203C, 0, 0); // 32x60 CTOS_PrinterPutString("Hello World"); Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 68...
This equipment should be installed and operated with a minimum distance of 20 centimeters between the radiator and your body. ~ END ~ Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 70...