Advertisement

CASTLES TECHNOLOGY
UPT1000F
Book 2
User Manual
Confidential
Version 1.2
Apr. 2018
Castles Technology Co., Ltd.
6F, No. 207-5, Sec. 3, Beixin Rd., Xindian District,
New Taipei City 23143, Taiwan R.O.C.
http://www.castech.com.tw

Advertisement

Table of Contents
loading

Summary of Contents for Castles Technology UPT1000F

  • Page 1 CASTLES TECHNOLOGY UPT1000F Book 2 User Manual Confidential Version 1.2 Apr. 2018 Castles Technology Co., Ltd. 6F, No. 207-5, Sec. 3, Beixin Rd., Xindian District, 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 Version Date Descriptions Author May 25, 2017 Initial creation. Jeff Dec 27, 2017 Add the battery caution. (7.1) Jeff Remove the note in “7.1. Cautions”. Apr 12, 2018 Jeff Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 3...
  • Page 4: Table Of Contents

    Contents Introduction ........................6 Hardware Setup ......................7 2.1. Parts of the UPT1000F ..................7 2.2. Communication Support ..................8 Basic Operation ......................9 3.1. Program Manager ....................9 3.2. Download AP ..................... 12 3.3. System Info......................13 3.4. Memory Status ....................14 3.5.
  • Page 5 Custom Font ...................... 56 5.3. Using TrueType Font (TTF) ................64 Technical Notes ......................66 6.1. Serial Cable PIN Assignment ................66 Appendix ........................67 7.1. Cautions ......................67 Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 5...
  • Page 6: Introduction

    1. Introduction This document provides a guideline on operating and configuring Castles UPT1000F. The scope of this document includes setting up the UPT1000F, basic operation, application life cycle, and some advance features. Confidential • All Right Reserved. Castles Technology Co., Ltd.
  • Page 7: Hardware Setup

    2. Hardware Setup 2.1. Parts of the UPT1000F Front UPT1000F 1. LCD Display (Touch Panel) 4. Contactless Card Landing 2. Smart Card Reader Zone 3. Magnetic Stripe Reader 5. MSR indicator Confidential • All Right Reserved. Castles Technology Co., Ltd.
  • Page 8: Communication Support

    10. GPRS antenna socket 11. LAN port 12. SAM Card Slots 1~4 13. GSM SIM Card Slots 1~2 2.2. Communication Support 1. Ethernet 2. BT 3. UMTS 850/1900 4. GPRG 850/1900 Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 8...
  • Page 9: Basic Operation

    3. Basic Operation 3.1. Program Manager Since UPT1000F doesn’t have keypad. Therefore, it needs to connect to PC for controlling. Please follow the following steps to connect PC and UPT1000F.  Power on UPT1000F and connect COM Port 1 to PC.
  • Page 10 Press any key on keyboard to refresh screen, if doesn’t show “Program Manager” on “Tera Term” or PuTTY“. Once the power is on in normal status, UPT1000F will enter Program Manager if no default application selected. All user applications are listed in Program Manager.
  • Page 11 7.HW Detect  Press [↑] button to page1.  Press [↓] button to page3. Page 3 System Menu 1.BluetoothSetup 2.Plug-in Mng 3.Key Injection  Press [↑] button to page2. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 11...
  • Page 12: 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. (Not support) Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 12...
  • Page 13: System Info

    :VR0008 --Factory S/N--- APVer FFFFFFFFFFFFFFFF CAMPP :VR0007 ULDPM :VR0036 CAVPW :VR0019 CAAEP :VR0004 CAJCT :VR0007  Press [↑] button to previous page.  Press [↓] button to next page. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 13...
  • Page 14: Memory Status

    7.Power Off  Press [3] button to enter Memory Status menu. Memory Status Menu MEMORY STATUS --FLASH Memory-- Total: 130688KB Used : 44644KB --SDRAM Memory-- Total: 65408KB Used : 32384KB Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 14...
  • Page 15: System Settings

    ETHER IP/PORT GDB Ethernet connection setting. RTC Time Zone Set Time Zone of RTC (Real Time Clock). NTP Enable Enable (Y) or disable (N) NTP (Network Time Protocol) function. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 15...
  • Page 16 GDB Mode : GMT Debug Port GDB Timeout Mobil AutoON GDB Channel Bklit Auto Off ETHER IP/PORT BklitOff Time PWR KEY OFF 1: Prev 2: Next 1: Prev 2: Next Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 16...
  • Page 17 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. 17...
  • Page 18: Test Utility

    Press [6] and [OK] to diagnose magnetic stripe card reader.  Press [↓] button to page 2. Page 2 Main Menu 9123 7.LED 8.RTC 9.Printer 10.Font 11.CL Transparent 12.CL Card Test -> Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 18...
  • Page 19 Press [8] and [OK] to diagnose RTC.  Press [9] and [OK] to check Printer.  Press [10] and [OK] to check FONT file in UPT1000F.  Press [11] and [OK] to check CL transparent.  Press [12] and [OK] to test Contactless Card.
  • Page 20: Factory Reset

    ****  Enter password and press [OK].  Enter factory reset password.(Default password: 8418) FacRestPassword Enter Password: **** Erasing…  Start erasing, and then go back to Program Manager. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 20...
  • Page 21: Power Off

    Power off the machine. 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 the machine. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 21...
  • Page 22: Fk Pwd Change

    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 Key 0000 Factory Key 8418 Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 22...
  • Page 23: 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 libraries.  Press [2] button to view shared files. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 23...
  • Page 24: Embedded 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. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 24...
  • Page 25: Font Mng

    Press [4] 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. 25...
  • Page 26: Debug Tools

    Press [5] button to enter Debug Tools menu. Debug Tools Debug Tools 1.Core Dump 2.Debug Log  Press [1] button to enter core dump menu.  Press [2] button to enter debug log menu. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 26...
  • Page 27: Uld Key Hash

    3.Embedded TMS 4.Font Mng 5.Debug Tools 6.ULD KEY HASH 7.HW Detect  Press [6] button to view hash value. USER ENV KEY DA9C91FE668DF4B6D637 CDBCCEC201444AA2C7FF USER SIGN KEY D52F36A1B569B5ABBA4F EAEFB34BEC000101D58C Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 27...
  • Page 28: Hw Detect

    7.HW Detect  Press [7] button to run HW detection. HW TYPE Original HW-TYPE : EGCB HW-TYPE : EGCB Please Any Key.  Press any key to reboot system. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 28...
  • Page 29: Bluetooth Setup

    Bluetooth Setup Bluetooth Setup 1.Handset BT Setup 2.Cradle CH Setup  Press [1] button to enter Handset BT Setup menu.  Press [2] button to enter Cradle CH Setup menu. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 29...
  • Page 30: Plug-In Mng

    Plug-in Mng 1.Bluetooth :V9116 1.Info 2.Del  Press [↑] or [↓] button to select item.  Press [1] button to get item information.  Press [2] button to delete item. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 30...
  • Page 31: Key Injection

    Key Injection function. (Factory use only.) System Menu (Page 3) System Menu 1.Bluetooth Setup 2.Plug-in Mng 3.Key Injection  Press [3] button to view Key Injection. Key Injection Waiting for Command Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 31...
  • Page 32: Secure File Loading

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

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

    4.2.1. Signing Kernel Module 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 UPT1000F. Castles Technology provides a tool named “CAP Signing Tool” to perform this task.
  • Page 36  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. 36...
  • Page 37: Signing User Files

    4.2.2. Signing User Files Following files are required to sign before load to UPT1000F. This is to ensure the application data and codes confidential and integrity. The output file will be “CAP” file which format is defined by Castles. ...
  • Page 38  Insert Key Card and select smart card reader  Enter Key Card PIN Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 38...
  • Page 39 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. 39...
  • Page 40 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. 40...
  • Page 41: 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 UPT1000F. User may implement their own ways of updating application or files using CTOS API provided, CTOS_UpdateFromMMCI().
  • Page 42  Select COM port  Browse and select mci file or mmci file  Setup UPT1000F to enter download mode  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 •...
  • Page 43  Press “Download” button to start. Note: To download using USB cable, UPT1000F 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 2: Next Page Confidential •...
  • Page 44: 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. 44...
  • Page 45  Insert removable media to UPT1000F, and select the removable media type in “Download AP” menu. Download AP Menu Download 1.RS232 or USB 2.USB Disk 3.SD Card Select DW Source o Press [2] button to select USB flash drive. o Press [3] button to select MicroSD card. (Not support) ...
  • Page 46: Changing Uld User Key

    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 47 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. 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 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 in Secure Key Generator. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 49...
  • Page 50  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 the 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 UPT1000F using Loader. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 55...
  • Page 56: Custom Font

    5.2. Custom Font User may create font they preferred for displaying or printing on UPT1000F. There are two zone defined: Zone 0x00 ~ 0x7F – ASCII characters, you may replace with the font type preferred or your own language character set.
  • 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 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. 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 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. 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 createdfont, and press [Generate] button to export to FNT file. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 62...
  • Page 63 Set type to [11 – Linux Font], press [Step 1] button select the FNT file. Then press [Step 2] to generate CAP file.  Download the font CAP file to UPT1000F.  In the application, add following code to display message using the newly created font.
  • Page 64: Using Truetype Font (Ttf)

    5.3. Using TrueType Font (TTF) TrueType Font (TTF) is supported in UPT1000F. You can download the TrueType font to UPT1000F for displaying or printing. Following steps demonstrate how to use “Cooper Black” TrueType font.  Copy the TTF file needed to an 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: Technical Notes

    ○ 3 2 ○ ○ 4 3 ○ ○ 5 4 ○ ○ 6 RJ12 6P6C 5 ○ ○ 7 Male Plug 6 ○ ○ 8 RS232 ○ 9 Female Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 66...
  • Page 67: Appendix

    This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed and operated with minimum distance 20cm between the radiator & your body. ~ END ~ Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 67...

Table of Contents