1. Introduction This document provides a guideline on operating and configuring Castles VEGA3000 terminal. The scope of this document includes setting up the terminal, basic operation, application life cycle, and some advance features. Confidential • All Right Reserved. Castles Technology Co., Ltd.
2.1. Parts of the Terminal Front 1. LCD Display (Color TFT) 4. Magnetic Stripe Reader 2. Keypad 5. Contactless Card Landing 3. Smart Card Reader Zone 6. Paper Roll Handle Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 7...
Page 8
Rear 7. Battery Cover 8. Charger Base Connector 9. SAM Slots 10. Micro SD Card Slot 11. Battery Connector 12. GSM SIM Card Slots 13. Rechargeable Battery Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 8...
Page 9
Side 14. USB Port (Type C) Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 9...
Note: The battery must be installed. Otherwise, the printer function might not work normally. CAUTION RISK OF EXPLOSION IF BATTERY IS REPLACED BY AN INCORRECT TYPE. DISPOSE OF USED BATTERIES ACCORDING TO THE INSTRUCTIONS Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 10...
Gold contact at upper side of card and facing down. SAM 2 & 4: Gold contact at upper side of card and facing up. Step 3: Reverse the operation of step 1 to install the battery cover. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 11...
Step 1: Pull up paper 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...
Gold contact at upper side of card and facing down. SIM 2: Gold contact at upper side of card and facing up. Step 3: Reverse the operation of step 1 to install the battery cover. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 13...
Step 2: Insert Micro SD memory card. Micro SD: Gold contact at lower side of card and facing down. Step 3: Reverse the operation of step 1 to install the battery cover. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 14...
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. 16...
Down: Next Page Press [3] button to enter Memory Status menu. Memory Status Menu MEMORY STATUS --FLASH Memory— Total: 130688KB Used : 96648KB --SDRAM Memory— Total: 65408KB Used : 32148KB Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 18...
PWR KEY OFF Enable (Y) or disable (N) Power key rebooting 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. 19...
Page 20
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. 21...
Page 21
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 23
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 24
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.PWD Manager 9.Share obj Mng Down: Next Page Press [7] button to power off terminal. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 27...
Press [1] button to view Font Management. Font Management 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. 30...
5.Plug-in Mng 6.Key Injection Up: Prev Page Press [3] button to view the hardware type of the terminal. HW TYPE Original HW-TYPE :MEGC HW-TYPE :MEGC Please Any Key. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 32...
Press [4] go to the Bluetooth setup menu. Bluetooth Setup 1.HandsetBT Setup 2.Cradle CH Setup Press [1] go to the Handset BT setup menu. Press [2] go to the Cradle CH setup menu. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 33...
ULD User Key Encryption Key (RSA) ULD User Signature Key (RSA) For VEGA3000, the RSA key length is 2048 bits. 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. 37...
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. 38...
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 provides 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. 41...
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. 43...
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. 44...
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. 45...
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. 47...
Page 46
Base USB CDC: X List SHR Lib: N Key MNG Mode: 0 Bat Threshld: X Null Cradle : X Debug Mode : N Debug Port : X 2: Next Page Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 48...
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. 49...
Page 48
Select DW Source o Press [2] button to select USB flash drive. o Press [3] button to select Micro SD card. Finally, terminal will process the file “vxupdate” folder. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 50...
4.4. Changing ULD User Key User may change their ULD User Key Set stored in Key Card. Castles Technology provided a tool named “Secure Key Generator” to perform this task. Run Secure Key Generator Insert Key Card and select smart card reader ...
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. 52...
Page 51
To view current key set hash value, go to “Option” and select key. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 53...
Page 52
Please generate the RSA key by yourself, the length 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. 54...
Page 53
Generate second RSA key set for Signature. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 55...
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. 56...
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. 57...
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. 58...
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. 59...
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. 60...
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. 61...
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. 62...
Page 61
Use the following buttons to adjust the font size to match with expected font size. Removecolum columnonrigh nonleft 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. 63...
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. 64...
Page 63
Remove comment “// Code for char “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. 65...
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. 66...
Page 65
Select [Font Manager] tab and tick the newly created font, and press [Generate] button to export to FNT file. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 67...
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. 68...
5.3. Using TrueType Font (TTF) TrueType Font (TTF) is supported in VEGA3000 terminal. You can download the TrueType font to terminal for displaying or printing. Following steps demonstrate how to use “Cooper Black” TrueType font. Copy the TTF file needed to an empty folder.
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. 71...
Specific Absorption Rate, or SAR. The SAR limit set by the FCC is 1.6W/kg. Tests for SAR are conducted using standard operating positions accepted by the FCC with the device transmitting at its highest certified power level in all tested frequency bands. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 71...
To reduce potential safety issues, only the AC adapter provided with the product, a replacement AC adapter provided by agency, or an AC adapter purchased as an accessory from agency should be used with the product. ~ END ~ Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 71...