background image

Castles Technology Co., Ltd.

 

Confidential • All Right Reserved. 

Pg. 

45

 

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. 

 

For VEGA5000S 

  Run Secure Key Generator  

 

 

  Insert Key Card and select smart card reader 

 

 

 

Enter Key Card PIN, default PIN is “1234”. 

Summary of Contents for VEGA5000S

Page 1: ...T POS Terminal Book 2 User Manual Confidential Version1 1 May 2014 CASTLES TECHNOLOGY Castles Technology Co Ltd 2F No 205 Sec 3 Beixin Rd XindianDistrict New Taipei City 23143 Taiwan R O C http www ca...

Page 2: ...is publication may be reproduced transmitted stored in a retrieval system nor translated into any human or computer language in any form or by any means electronic mechanical magnetic optical chemical...

Page 3: ...d Confidential All Right Reserved Pg 3 Revision History Version Date Descriptions 1 0 Nov 18 2012 Initial creation 1 01 May 12 2014 Add the terminal starting up description 1 1 May 12 2014 Add the des...

Page 4: ...rogram Manager 16 3 2 Download AP 17 3 3 System Info 18 3 4 Memory Status 19 3 5 System Settings 20 3 6 Test Utility 23 3 7 Factory Reset 25 3 8 Power Off 26 3 9 Function Key Password Change 27 3 10 S...

Page 5: ...D User Key 45 5 Font Management 53 5 1 Loading New Font 53 5 2 Custom Font 56 5 3 Using TrueType Font TTF 64 6 Advance Features 66 6 1 VEGA5000S GNU Project Debugger GDB 66 6 1 1 About GDB 66 6 1 2 Se...

Page 6: ...EGA5000S 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 Handset unit features m...

Page 7: ...les Technology Co Ltd Confidential All Right Reserved Pg 7 To start up the terminal portable type needs to press F1 key butcountertop typewill auto start when the power connector is connected with ada...

Page 8: ...lay ColorTFT VEGA5000S 2 ProgrambleFunction Keys F1 Power keyfor PT only Press 3s 3 Navigation Key 4 Keyboard 5 Cancel Key 6 Clear Key 7 Enter Key 8 Magnectic Stripe Reader 9 Smart Card Reader 10 LED...

Page 9: ...d Pg 9 Rear Portable 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 VEGA5000S VEGA5000...

Page 10: ...Port Base Portable 24 Base Connector 25 Base LED 26 Power Connector 27 Com port 1 28 Com port 2 29 Com port 3 30 Modem Line Port 31 Modem Tel Port 32 Ethernet Port 33 USB Port VEGA5000S Portable 22 23...

Page 11: ...ntial All Right Reserved Pg 11 2 2 Inserting the Battery Step 1 Unlock Battery cover Step 2 Remove battery cover Step 3 Insert battery into compament battery contact point must align with battery conn...

Page 12: ...ep 2 Insert SAM card into desire slot Portable 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 Countertop SAM 1 2 3 Gold contact...

Page 13: ...l Right Reserved Pg 13 2 4 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 Ou...

Page 14: ...GSM SIM Card Step 1 Remove battery cover back cover Step 2 Open SIM socket and insert GSM SIM card into desire slot Portable SIM 1 2 Gold contact at upper side of card and facing down Countertop SIM 1...

Page 15: ...Memory card Step 1 Remove battery cover back cover 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 si...

Page 16: ...nter System Menu to configure terminal settings Program Manager Press F1 button to enter System Menu Press F2 button to toggle default application selection Press F3 button to delete application Press...

Page 17: ...nload AP Menu Select download source 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...

Page 18: ...el Ver BOOTSULD V0064 CRYPTOHAL VF057 KMS V0056 LINUXKNL V0024 ROOTFS V0050 SYSTEM INFO KOVer SECURITY V0076 SYSUPD V0080 KMODEM N A DRV V0089 USB V0078 SC V0083 SYSTEM INFO SO Ver 1 UART V0072 USBH V...

Page 19: ...ory and RAM information System Menu Press 3 button to enter Memory Status menu Memory Status Menu System Menu 1 Download AP 2 System Info 3 Memory Status 4 Sys Settings 5 Test Utility 6 Factory Reset...

Page 20: ...Program Manager SET USB Host Enable Y or disable N USB host mode Base USB CDC Enable Y or disable N USB CDC mode in base unit Portable model only List SHR Lib Enable Y or disable N to list all shared...

Page 21: ...or button to select setting 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 System Menu 1 Download AP 2 System I...

Page 22: ...button to previous page Press F3 button to next page Page 4 VEGA5000S only Press button to select setting Press OK button to change the setting value Press button to toggle Y N Y Press F2 button to pr...

Page 23: ...diagnose backlight Press 6 button to diagnose magnetic stripe reader Press 7 button to diagnose LED Press 8 button to diagnose real time clock Press 9 button to diagnose printer Press 0 button to view...

Page 24: ...Communication Test Menu Press 1 button to diagnose Com 1 Press 2 button to diagnose Com 2 Press 3 button to diagnose Com 3 Press 4 button to diagnose Ethernet module Press 5 button to diagnose USB Pre...

Page 25: ...ll be deleted System Menu Press 6 button to enter Factory Reset menu Factory Reset Menu Press OK button to perform factory reset Enter factory reset password Default password 8418 System Menu 1 Downlo...

Page 26: ...idential All Right Reserved Pg 26 3 8 Power Off Power off terminal System Menu Press 7 button to power off terminal System Menu 1 Download AP 2 System Info 3 Memory Status 4 Sys Settings 5 Test Utilit...

Page 27: ...n to enter FunKey Password menu FunKey Password Menu Enter current password Default password is 0000 Enter new password Enter new password again to confirm System Menu 1 FK PWD Change 2 Share objMng 3...

Page 28: ...object in terminal System Menu Page 2 Press 2 button to enter Share Object Management menu Share Object Management Menu Press 1 button to view shared library Press 2 button to view shared file System...

Page 29: ...TMS configuration System Menu Page 2 Press 3 button to enter Castles TMS menu Castles TMS Menu Press 1 button to connect to TMS server Press 2 button to set TMS configuration Press 3 button to delete...

Page 30: ...Hash View ULD user keyset hash value System Menu Page 2 Press 4 button to view hash value System Menu 1 FK PWD Change 2 Share objMng 3 Castles TMS 4 ULD KEY HASH USER ENC KEY 9572BC621C1D5406 0856D00...

Page 31: ...LD Manufacturer Key Set ULD Manufacturer Key Encryption Key RSA ULD Manufacturer Signature Key RSA ULD User Key Set ULD User Key Encryption Key RSA ULD User Signature Key RSA For VEGA5000S the RSA key...

Page 32: ...cryption Block of the CAP by ULD Manufacturer Key Encryption Key not directly encrypted by ULD RSA Key 2 The sign action via ULD User Keys actually is done by the second encryption The second encrypti...

Page 33: ...of the CAP by ULD User Key Encryption Key not directly encrypted by ULD RSA Key Application Application CAPs ULD User Keys CAP Generator 4 1 3 Key Change The ULD RSA Keys are able to be changed The s...

Page 34: ...odule 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...

Page 35: ...astles Technology Co Ltd Confidential All Right Reserved Pg 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...

Page 36: ...rity The output fille will be CAP file which is file format defined by Castles User application User application data files User application library Font file Share library Share files System setting...

Page 37: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 37 Insert Key Card and select smart card reader Enter Key Card PIN...

Page 38: ...ology Co Ltd Confidential All Right Reserved Pg 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...

Page 39: ...iles to sign The output file will be in a set A mci file with one or more CAP files CAP file contents the signed file binaries where MCI file contents the list of CAP files Note If user would like to...

Page 40: ...vided 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 Castles TMS...

Page 41: ...ht Reserved Pg 41 Select COM port Browse and select mci file or mmci file Setup terminal to enter download mode Press F1 button in Program Manager PM Press 1 button to select 1 Download AP Press 1 but...

Page 42: ...ll Right Reserved Pg 42 Press Download button to start Note To download using USB cable terminal must enable CDC mode Set USB CDC Mode to Y SYS SETTINGS Key Sound Y Exec DFLT AP Y AP Name USB CDC Mode...

Page 43: ...We recommend don t put unwanted file to removable media as it will increase the time during detection Create a folder name vxupdate under root directory Place the mci file and cap file to vxupdate fo...

Page 44: ...to terminal and select the removable media type in Download AP menu Download AP Menu o Press 2 button to select USB flash drive o Press 3 button to select MicroSD card Finally terminal will process th...

Page 45: ...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 For VEGA5000S Run Secure Key Generator Insert...

Page 46: ...Co Ltd Confidential All Right Reserved Pg 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 chan...

Page 47: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 47...

Page 48: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 48 To view current key set hash value goto Option and select key...

Page 49: ...s Technology Co Ltd Confidential All Right Reserved Pg 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 R...

Page 50: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 50 o Copy RSA key components to RSA Key for Kenc in Secure Key Generator o Generate second RSA key set for Signature...

Page 51: ...sh button to calculate the hash value for key sets o Please copy down all the values into a text file and keep in a safe place You will need this if you need to create duplicate Key Card To generate t...

Page 52: ...l All Right Reserved Pg 52 The output file will be located in the Secure Key Generator folder To update the newly generated key set to Key Card press Save to Card button to write the key set to Key Ca...

Page 53: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 53 5 Font Management 5 1 Loading New Font Run FontManager exe Located at C Program Files Castles Font Manager Select font to download...

Page 54: ...Technology Co Ltd Confidential All Right Reserved Pg 54 Press Setting button to configure terminal type Select VEGA5000 press Save button to save and return font manager Press Generate to create the f...

Page 55: ...Pg 55 Output file Font FNT will be located at sub directory named Font in Font Manager folder Sign the file using CAP Generator the type must set to 11 Linux Font Lastly download the signed file CAP...

Page 56: ...nting on terminal There are two zone defined Zone 0x00 0x7F ASCII characters you may replace with the font type preferred or your own language character set Zone 0x80 0xFF Free to use you may use for...

Page 57: ...Reserved Pg 57 Select the font needed simply choose a font size The final value of font size should be determine by the minimum pixel width You may need to repeat this steps few times to find the best...

Page 58: ...ize is larger than expected then you have to repeat the previous steps to import font with smaller size Use the following buttons to adjust the font size to match with expected font size Add row on to...

Page 59: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 59 After adjust font size select File Export for MicroElektronika Select output format as mikroC...

Page 60: ...onfidential All Right Reserved Pg 60 Remove comment Code for char from offset 0x00 to 0x1F Remove empty line if found Then click Save button to save to file Run Font Manager Tool Click Setting button...

Page 61: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 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...

Page 62: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 62 Select Font Manager tab and tick the newly creately font and press Generate button to export to FNT file...

Page 63: ...Step 2 to generate CAP file Download the font CAP file to terminal In terminal application add following code to display message using the newly created font CTOS_LanguageConfig 0xA000 d_FONT_12x24 0...

Page 64: ...Type 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 Use CAP Generator to conver the...

Page 65: ...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...

Page 66: ...what another program was doing at the moment it crashed GDB can do four main kinds of things plus other things in support of these to help you catch bugs in the act Start your program specifying anyth...

Page 67: ...icates to use TCP IP channel U indicates USB mode Set Ethernet IP Port terminal IP address and GDB server on terminal port Ifcoummincation channel is set to TCP IP Press button to select setting Press...

Page 68: ...B function is supported in the Castles SDK version 6 10 or higher Please ensure you have already installed this SDK into your computer before using GDB Step 1 Run Castles CTOS Development Suite Step 2...

Page 69: ...Execute the application Step 7 Press OK button to confirm open debug mode Terminal will wait for connection from SDK IDE until timeout Step 7 In SDK IDE from Debug menu select Attach Debugger Program...

Page 70: ...om the Project combobox When finishing press OK button to connect with the terminal USB Channel If using USB channel to debug input port number in the format remote dev ttySn on the Target editor n in...

Page 71: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 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...

Page 72: ...eration Notes 1 VEGA5000S mainly used both on table and hand held 2 When inserting or swiping the cards there will be some distance between the terminal and human body rather than be appressed to the...

Page 73: ...ccordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment doe...

Reviews: