background image

Castles Technology Co., Ltd.

 

Confidential • All Right Reserved. 

Pg. 

29

 

3.18.   Key Injection 

Key Injection function. (Factory use only.) 

 

System Menu (Page 3) 

 

 

 

 

 

 

 

  Press [3] button to view Key Injection. 

 
 
 
 
 
 
 
 
 

 

 

 

 

 

Key Injection 

 

Waiting for 

Command  

 

System Menu 

1.Bluetooth Setup 
2.Plug-in Mng 
3.Key Injection 
 

Summary of Contents for UPT1000

Page 1: ...000 Book 2 User Manual Confidential Version 1 1 Jan 2017 CASTLES TECHNOLOGY Castles Technology Co Ltd 6F No 207 5 Sec 3 Beixin Rd XindianDistrict New Taipei City 23143 Taiwan R O C http www castech co...

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: ...astles Technology Co Ltd Confidential All Right Reserved Pg 3 Revision History Version Date Descriptions Author 1 0 Dec 19 2016 Initial creation Jeff 1 1 Jan 11 2017 Add 7 Appinex and 7 1 Cautions Jef...

Page 4: ...3 7 Factory Reset 18 3 8 Power Off 19 3 9 FK PWD Change 20 3 10 Share Object Management 21 3 11 Embedded TMS 22 3 12 Font Mng 23 3 13 Debug Tools 24 3 14 ULD Key Hash 25 3 15 HW Detect 26 3 16 Blueto...

Page 5: ...ed Pg 5 4 3 2 Download by Removable Media 42 4 4 Changing ULD User Key 44 5 Font Management 51 5 1 Loading New Font 51 5 2 Custom Font 54 5 3 Using TrueType Font TTF 62 6 Technical Notes 64 6 1 Serial...

Page 6: ...l Right Reserved Pg 6 1 Introduction This document provides a guideline on operating and configuring Castles UPT1000 The scope of this document includes setting up the UPT1000 basic operation applicat...

Page 7: ...7 2 Hardware Setup 2 1 Parts of the UPT1000 Front 1 LCD Display Color TFT 2 Keypad 3 Smart Card Reader 4 Enter Key 5 Return Key RFU 6 Clear Key 7 Cancel Key 8 Magnetic Stripe Reader 9 Contactless Car...

Page 8: ...11 USB port 1 3 12 MDB power connector 13 RS232 port 1 3 14 BT antenna socket 15 GPRS antenna socket 16 GSM SIM Card Slots 1 2 17 SAM Card Slots 1 4 18 LAN port 2 2 Communication Support 1 Ethernet 2...

Page 9: ...to the default one to run once the power is on Users may enter System Menu to configure UPT1000 settings Program Manager Press 0 button to enter System Menu Press 1 button to toggle default applicati...

Page 10: ...on or kernel modules firmware System Menu Press 1 button to enter Download AP menu Download AP Menu System Menu 1 FK PWD Change 2 Share obj Mng 3 Embedded TMS 4 Font Mng 5 Debug Tools 6 ULD KEY HASH 7...

Page 11: ...are information System Menu Press 2 button to enter System Info menu System Info Menu Page 1 Page 2 Page 3 Press button to next page Download EX 1 RS232 or USB 2 USB Disk 3 SD Card Select DW Source Sy...

Page 12: ...VR0036 SYSTEM INFO HUSBID 0CA6A050 CUSBID N A Factory S N FFFFFFFFFFFFFFFF SYSTEM INFO SOVer UART VR0017 USBH VR0011 MODEM VR0019 ETHERNET VR0035 FONT VR0032 LCD VR0042 SYSTEM INFO SO Ver2 PRT VR0025...

Page 13: ...upport List SHR Lib Enable Y or disable N to list all shared libraries in Program Manager Key MNG Mode TBC BATThreshld Battery charging threshold value Not support Null Cradle Enable Y if base is Type...

Page 14: ...ROTECT MODE Set battery protect mode Not support System Menu Press 4 button to enter System Settings menu System Settings Menu Page 1 Page 2 Page 3 Page 4 System Menu 1 Download AP 2 System Info 3 Mem...

Page 15: ...tting 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 SYS SETTINGS RTC Time Zone GMT NTP Enable N NTP Update Freq X...

Page 16: ...D Press 2 and OK to diagnose keyboard Press 3 and OK to diagnose flash memory Press 4 and OK to diagnose smart card module Press 5 and OK to diagnose backlight Press 6 and OK to diagnose magnetic stri...

Page 17: ...to page 1 Press button to page 3 Page 3 Press 13 and OK to execute SD Card Test Not support Press 14 and OK to testfunctionality ofWiFi Press 15 and OK to test functionality of power saving Press 16...

Page 18: ...ta will be deleted System Menu Press 6 button to enter Factory Reset menu Press OK Enter password and press OK Enter factory reset password Default password 8418 System Menu 1 Download AP 2 System Inf...

Page 19: ...and then go back to Program Manager 3 8 Power Off Power off the machine System Menu Press 7 button to power off the machine System Menu 1 Download AP 2 System Info 3 Memory Status 4 Sys Settings 5 Te...

Page 20: ...password Enter new password again to confirm User must have to change the Default key to user own key at the first time The Default Key Value in Password Manager is as below Function Key 0000 PMEnter...

Page 21: ...stem Menu Page 2 Press 2 button to enter Share Object Management menu Share Object Management Menu Press 1 button to view shared libraries Press 2 button to view shared files Share objMng 1 Share LIB...

Page 22: ...r TMS setting menu CASTLES TMS Press 1 button to connect server Press 2 button to enter system config menu Press 3 button to reset config Press 4 button to set compatible config CASTLES TMS 1 Connect...

Page 23: ...ement System Menu Page 2 Press 4 button to view Font Management FontManagment Press 1 button to view FNT Font list Press 2 button to view TTF Font list Font Mng 1 FNT File 2 TTF File System Menu 1 FK...

Page 24: ...g log System Menu Page 2 Press 5 button to enter Debug Tools menu Debug Tools Press 1 button to enter core dump menu Press 2 button to enter debug log menu Debug Tools 1 Core Dump 2 Debug Log System M...

Page 25: ...er key hash value System Menu Page 2 Press 6 button to view hash value USER ENV KEY DA9C91FE668DF4B6D637 CDBCCEC201444AA2C7FF USER SIGN KEY D52F36A1B569B5ABBA4F EAEFB34BEC000101D58C System Menu 1 FK P...

Page 26: ...un hardware detection System Menu Page 2 Press 7 button to run HW detection Press any key to reboot system HW TYPE Original HW TYPE EGCB New HW TYPE EGCB Please Any Key System Menu 1 FK PWD Change 2 S...

Page 27: ...oth config System Menu Page 2 Press 1 button to enter Bluetooth setting menu Bluetooth Setup Press 1 button to enter Handset BT Setup menu Press 2 button to enter Cradle CH Setup menu System Menu 1 Bl...

Page 28: ...Press 2 button to view Plug in Management Press or button to select item Press 1 button to get item information Press 2 button to delete item Plug in Mng 1 Bluetooth V9116 1 Info 2 Del System Menu 1...

Page 29: ...al All Right Reserved Pg 29 3 18 Key Injection Key Injection function Factory use only System Menu Page 3 Press 3 button to view Key Injection Key Injection Waiting for Command System Menu 1 Bluetooth...

Page 30: ...ufacturer 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 UPT1000 the RSA key length...

Page 31: ...ypted by a random generated 3DES key which is retrieved from the Key Encryption Block of the CAP by ULD Manufacturer Key Encryption Key not directly encrypted by ULD RSA Key 2 The sign action via ULD...

Page 32: ...y a random generated 3DES key which is retrieved from the Key Encryption Block of the CAP by ULD User Key Encryption Key not directly encrypted by ULD RSA Key 4 1 3 Key Change The ULD RSA Keys are abl...

Page 33: ...of kernel module in unsigned form This files required to sign with ULD User Key before it can load to UPT1000 Castles Technology provides a tool named CAP Signing Tool to perform this task The CAP Si...

Page 34: ...astles Technology Co Ltd Confidential All Right Reserved Pg 34 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 35: ...nd integrity The output file will be CAP file which format is defined by Castles User application User application data files User application library Font file Share library Share files System settin...

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

Page 37: ...ology Co Ltd Confidential All Right Reserved Pg 37 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 38: ...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 39: ...Technology It s the formal way to download file to UPT1000 User may implement their own ways of updating application or files using CTOS API provided CTOS_UpdateFromMMCI Castles TMS CTMS or CASTLES T...

Page 40: ...ght Reserved Pg 40 Select COM port Browse and select mci file or mmci file Setup UPT1000 to enter download mode Press 0 button in Program Manager PM Press 1 button to select 1 Download AP Press 1 butt...

Page 41: ...All Right Reserved Pg 41 Press Download button to start Note To download using USB cable UPT1000 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 42: ...nd don t put unwantedfile 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 folder Note If...

Page 43: ...000 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 Not support Finally UPT1000 will process...

Page 44: ...anging 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 Car...

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

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

Page 47: ...d Confidential All Right Reserved Pg 47 To generate new user key set Please generate the RSA key by yourself thelengthof the RSA key set should be 2048 bits Copy RSA key components to RSA Key for Kenc...

Page 48: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 48 Generate second RSA key set for Signature...

Page 49: ...sh button to calculate the hash value for key sets 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 the...

Page 50: ...l All Right Reserved Pg 50 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 51: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 51 5 Font Management 5 1 Loading New Font Run FontManager exe Located at C Program Files Castles Font Manager Select font to download...

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

Page 53: ...d Pg 53 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 54: ...inting on UPT1000 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 55: ...Reserved Pg 55 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 56: ...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 57: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 57 After adjust font size select File Export for MicroElektronika Select output format as mikroC...

Page 58: ...onfidential All Right Reserved Pg 58 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 59: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 59 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 60: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 60 Select Font Manager tab and tick the newly createdfont and press Generate button to export to FNT file...

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

Page 62: ...e font to UPT1000 for displaying or printing Following steps demonstrate how to use Cooper Black TrueType font Copy the TTF file needed to an empty folder Use CAP Generator to convert the TTF file to...

Page 63: ...TTFSelect 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 CT...

Page 64: ...nology Co Ltd Confidential All Right Reserved Pg 64 6 Technical Notes 6 1 Serial Cable PIN Assignment RJ12 6P6C Male Plug RS232 Female 1 2 3 4 5 6 1 2 3 4 5 6 7 8 9 VCC TXD RTS RXD CTS GND VCC RXD TXD...

Page 65: ...harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one of the following mea...

Reviews: