Castles Technology VEGA5000S User Manual

Castles Technology VEGA5000S User Manual

Eft-pos terminal

Advertisement

CASTLES TECHNOLOGY
VEGA5000S EFT-POS Terminal
Book 2
User Manual
Confidential
Version1.1
May 2014
Castles Technology Co., Ltd.
2F, No. 205, Sec. 3, Beixin Rd., XindianDistrict,
New Taipei City 23143, Taiwan R.O.C.
http://www.castech.com.tw

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VEGA5000S and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Castles Technology VEGA5000S

  • Page 1 CASTLES TECHNOLOGY VEGA5000S EFT-POS Terminal Book 2 User Manual Confidential Version1.1 May 2014 Castles Technology Co., Ltd. 2F, No. 205, Sec. 3, Beixin Rd., XindianDistrict, New Taipei City 23143, Taiwan R.O.C. http://www.castech.com.tw...
  • Page 2 Castles Technology Co., Ltd. All trademarks mentioned are proprietary of their respective owners.
  • Page 3: Revision History

    Revision History Version Date Descriptions Nov 18, 2012 Initial creation. 1.01 May 12, 2014 Add the terminal starting up description May 12, 2014 Add the description of GDB via USB Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 3...
  • Page 4: Table Of Contents

    4.2.1. Signing Kernel Module ................34 4.2.2. Signing User Files .................. 36 4.3. File Loading ....................... 40 4.3.1. Download by User Loader ..............40 4.3.2. Download by Removable Media ............. 43 Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 4...
  • Page 5 Custom Font ...................... 56 5.3. Using TrueType Font (TTF) ................64 Advance Features ...................... 66 6.1. VEGA5000S GNU Project Debugger (GDB) ............66 6.1.1. About GDB ..................... 66 6.1.2. SetupGDB ....................67 6.1.3. Start Debugging ..................68 Operation Notes ......................72 7.1.
  • Page 6: Introduction

    1.1. Type of Terminal There are two types of VEGA5000S terminal, portable and countertop. The major different is portable type can be battery operated. Portable type is designed as two pieces of hardware, handset and base unit.
  • Page 7 To start up the terminal,portable type needs to press “F1” key butcountertop typewill auto start when the power connector is connected with adapter. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 7...
  • Page 8: Hardware Setup (Portable)

    2. Hardware Setup (Portable) 2.1. Parts of the Terminal Front (Portable and Countertop) VEGA5000S 1. LCD Display 9. Smart Card Reader ColorTFT : VEGA5000S 10. LED 2. ProgrambleFunction Keys Left : Green F1 : Power keyfor PT Middle : Orange only.(Press 3s)
  • Page 9 14. Recharable Battery Cover 15. Battery Cover Lock 16. Base Connector 17. SAM Slots 18. Micro SD Card Slot 19. GSM SIM Card Slots 20. RTC Battery 21. Battery Connector Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 9...
  • Page 10 Side VEGA5000S Portable 22. Power Connector 23. USB Port Base (Portable) 24. Base Connector 29. Com port 3 25. Base LED 30. Modem - Line Port 31. Modem – Tel Port 26. Power Connector 27. Com port 1 32. Ethernet Port 28.
  • Page 11: Inserting The Battery

    Step 2 Step 3 Step 1 Step 1: Unlock Battery cover Step 2: Remove battery cover Step 3: Insert battery into compament, battery contact point must align with battery connector. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 11...
  • Page 12: Inserting The Sam Card

    SAM 1 & 2 & 3: Gold contact at upper side of card and facing down. SAM 4 : Gold contact at upper side of card and facing up. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 12...
  • Page 13: Inserting The Paper Roll

    Step 1: Push 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. 13...
  • Page 14: Inserting The Gsm Sim Card

    SIM 1 & 2: Gold contact at upper side of card and facing down. Countertop SIM 1 & 2: Gold contact at lower side of card and facing down. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 14...
  • Page 15: Inserting The Memory Card

    Step 2: Insert Micro SD memory card. Portable Micro SD : Gold contact at lower side of card and facing right. Countertop Micro SD : Gold contact at upper side of card and facing up. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 15...
  • Page 16: Basic Operation

    1.FK PWD Change 2.System Info 2.Share objMng 3.Memory Status 3.Castles TMS 4.Sys Settings 4.ULD KEY HASH 5.Test Utility 6.Factory Reset 7.Power Off  Press [] button to page 2. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 16...
  • Page 17: Download Ap

    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...
  • Page 18: System Info

    CLVW : V0076 Page 7 Page 8 SYSTEM INFO SYSTEM INFO HWMVer --- HWMVer --- CRDL/ETHE: V3004 HUSBID:0CA6A050 CLM-MP : V0015 CUSBID:N/A APVer --Factory S/N--- ULDPM : V0043 0000010600035717 Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 18...
  • Page 19: Memory Status

    7.Power Off  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...
  • Page 20: System Settings

    Enable (Y) or disable (N) console debug mode. Debug Port Serial port for console debug. Mobil AutoON <TBC> GDB Mode Enable (Y) or disable (N) GDB mode. [VEGA5000S only] GDB Timeout GDB connection timeout. [VEGA5000S only] GDB Channel GDB connection channel. [VEGA5000S only] ETHER IP/PORT GDB Ethernet connection setting.
  • Page 21 Press [OK] button to change the setting value.  Press [] button to toggle Y  N  Y.  Press [F2] button to previous page.  Press [F3] button to next page. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 21...
  • Page 22  Press [] button to toggle Y  N  Y.  Press [F2] button to previous page.  Press [F3] button to next page. Page 4 (VEGA5000S only) SYS SETTINGS GDB Mode GDB Timeout: 60s GDB Channel ETHER IP/PORT 192.120.100.222...
  • Page 23: Test Utility

    Press [F2] button to enter Communication Test Menu.  Press [F3] button to power off.  Press [] button to next page. Note: Default password for changing RTC is 8418. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 23...
  • 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, item 1 to 7. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 24...
  • Page 25: Factory Reset

    Factory Reset Menu Factory Reset OK to reset ?  Press [OK] button to perform factory reset. Factory Reset Password : ****  Enter factory reset password.Default password: 8418 Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 25...
  • Page 26: Power Off

    Power off terminal. System Menu System Menu 1.Download AP 2.System Info 3.Memory Status 4.Sys Settings 5.Test Utility 6.Factory Reset 7.Power Off  Press [7] button to power off terminal. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 26...
  • Page 27: Function Key Password Change

    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. 27...
  • Page 28: Share Object Management

    Press [2] button to enter Share Object Management menu. Share Object Management Menu Share objMng 1.Share LIB 2.Share File  Press [1] button to view shared library.  Press [2] button to view shared file. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 28...
  • Page 29: Ctos Tms

    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. 29...
  • Page 30: Uld Key Hash

    1.FK PWD Change 2.Share objMng 3.Castles TMS 4.ULD KEY HASH  Press [4] button to view hash value. USER ENC KEY 9572BC621C1D5406 0856D00BCC207000 D3320077 USER SIGN KEY A927768EA7DD7B9E 7E3F395C10726B6F 43B35C5A Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 30...
  • Page 31: Secure File Loading

    ULD User Key Encryption Key (RSA)  ULD User Signature Key (RSA) For VEGA5000S, 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 32 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. 32...
  • Page 33: Uld User Key

    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. 33...
  • Page 34: File Signing

    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 provided a tool named “CAP Signing Tool” to perform this task. The CAP Signing Tool is located at:...
  • Page 35  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. 35...
  • Page 36: Signing User Files

    Share library  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: VEGA5000S C:\Program Files\Castles\VEGA5000S\tools\CAPG (KeyCard)  Run CAP Generator Confidential •...
  • Page 37  Insert Key Card and select smart card reader  Enter Key Card PIN Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 37...
  • Page 38 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. 38...
  • Page 39 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. 39...
  • Page 40: File Loading

    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 41  Press [F1] 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. 41...
  • Page 42 Note: To download using USB cable, terminal must enable CDC mode. Set USB CDC Mode to Y. SYS SETTINGS Key Sound Exec DFLT AP: Y -AP Name USB CDC Mode: Y FunKeyPWD PMEnterPWD : N F3: Next Page Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 42...
  • Page 43: Download By Removable Media

    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. 43...
  • Page 44 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. 44...
  • Page 45: Changing Uld User Key

    Technology provided a tool named “Secure Key Generator” to perform this task. For VEGA5000S  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. 45...
  • Page 46 To change Key Card PIN, press “Update PIN” button. If not, please skip this steps. o 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. 46...
  • Page 47 Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 47...
  • Page 48  To view current key set hash value, goto “Option” and select key. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 48...
  • Page 49 To generate new user key set o Run RSA Key Generator o Select Key Length as 2048 (bits), then press [Generate] button to generate the RSA key set. Result: Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 49...
  • Page 50 Copy RSA key components to RSA Key for Kenc in Secure Key Generator. o Generate second RSA key set for Signature. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 50...
  • Page 51 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. 51...
  • Page 52 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. 52...
  • Page 53: Font Management

    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. 53...
  • Page 54  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. 54...
  • Page 55 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. 55...
  • Page 56: Custom Font

    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. 56...
  • Page 57 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. 57...
  • Page 58 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. 58...
  • Page 59  After adjust font size, select [File]  [Export for MicroElektronika].  Select output format as [mikroC]. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 59...
  • Page 60 “ 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. 60...
  • Page 61  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. 61...
  • Page 62  Select [Font Manager] tab and tick the newly creately font, and press [Generate] button to export to FNT file. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 62...
  • Page 63 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. 63...
  • Page 64: Using Truetype Font (Ttf)

    5.3. Using TrueType Font (TTF) TrueType Font (TTF) is only supported in VEGA5000S terminal.You may download the TrueType font preferred to terminal for displaying or printing. Following steps demonstrate how to use “Cooper Black” True Type font.  Copy the TTF file needed to a empty folder.
  • Page 65 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. 65...
  • Page 66: Advance Features

    6. Advance Features 6.1. VEGA5000S GNU Project Debugger (GDB) Developers debug programs directly VEGA5000Sterminal. 6.1.1. About GDB GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed.
  • Page 67: Setupgdb

    F2:Prev Page  Press [] button to select setting.  Press [OK] button to change the setting value.  Press [] button to toggle Y  N  Y. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 67...
  • Page 68: Start Debugging

    GDB. Step 1: Run Castles CTOS Development Suite Step 2: Open project to debug Step 3: Set project configuration to “Debug” Step 4: Rebuild the project. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 68...
  • Page 69 SDK IDE until timeout. Local IP: Open Debug Mode 192.168.0.71 Press OK Confirm? Listen Port: 5000 Y:OK Listening… 59 Step 7: In SDK IDE, from Debug menu select “Attach Debugger…”. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 69...
  • Page 70 1. Forexample, if the PC port that the terminal connects with is COM3, pleaseinput“remote /dev/ttyS2” on the “Target” editor.Andselect your application from the “Project” combobox. When finishing, press‘OK’ button to connect with the terminal. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 70...
  • Page 71 Step 9: Press OK. After successful connected to terminal, the debug menu will beenable. User may use breakpoint or use “Step Over” for tracing. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 71...
  • Page 72: Operation Notes

    2. When inserting or swiping the cards, there will be some distance between the terminal and human body, rather than be appressed to the human body. 3. The VEGA5000S would not be put into the pocket or tie around the waist. ~ END ~ Confidential •...
  • Page 73 FCC Regulations This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Changes or modifications not expressly approved by the party responsible for compliance could void the user‘s authority to operate the equipment.

Table of Contents