Advertisement

CASTLES TECHNOLOGY
UPT1000M
Book 2
User Manual
Confidential
Version 1.1
Jul. 2019
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 UPT1000M

  • Page 1 CASTLES TECHNOLOGY UPT1000M Book 2 User Manual Confidential Version 1.1 Jul. 2019 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 Revision History Version Date Descriptions Author May 30, 2019 Initial creation. Jeffrey 1. Modify the picture. Jeff Jul 19, 2019 2. Modify the UL Caution. 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 UPT1000M ..................7 Basic Operation ......................9 3.1. Program Manager ....................9 3.2. Download AP ..................... 12 3.3. System Info......................13 3.4. Memory Status ....................15 3.5. System Settings ....................16 3.6.
  • Page 5 Font Management ...................... 58 5.1. Loading New Font....................58 5.2. Custom Font ...................... 61 5.3. Using TrueType Font (TTF) ................69 Appendix ........................71 6.1. FCC Warning ....................71 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 UPT1000M. The scope of this document includes setting up the UPT1000M, 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 UPT1000M Front View MSR LED 2.8”Touch Indicator Screen Contactless Reader LED Indicator Select button ICC Reader Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 7...
  • Page 8 Rear View Speaker Micro USB Port Power cable Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 8...
  • Page 9: Basic Operation

    3. Basic Operation 3.1. Program Manager The UPT1000M is the terminal without keypad. Please follow the steps below to connect PC and UPT1000M for controlling.  Power on UPT1000M and connect COM Port to PC.  Run the application program such as “TeraTerm” or “PuTTY” on PC.
  • Page 10 Once the power is on in normal status, UPT1000M will enter Program Manager if no default application selected. All user applications are listed in Program Manager. User can select an application and run the application, view the application info, delete the application, or set application to the default one to run once the power is on.
  • Page 11 7.HW Detect Page 3 System Menu 1.Bluetooth Setup 2.Plug-in Mng 3.Key Injection 4.TP Calibration 5.Key Bridge  Press [↑] button to previous page.  Press [↓] button to next page. 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

    Page 5 Page 6 System INFO System INFO -----SO Ver2----- ------SO Ver3----- :VR0025 :VRAC30 :VR0013 BARCODE :VR0013 ULDPM :VRA730 :VRAA21 PPP MODEM :VRA532 :VRA315 :VRAB33 CLVW :VRA025 :VRA117 CTOSAPI :VRPN41 Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 13...
  • Page 14 --EXT SO Ver P.2-- CAVAP :VR0004 CACQP :VR0002 CAIFH :VR0003 CADDP :VRA003 CAEMVL2 :VR0021 CAEMVL2AP :VR0014  Press [↑] button to previous page.  Press [↓] button to next page. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 14...
  • Page 15: Memory Status

    6.Factory Reset 7.Power Off  Press [3] button to enter Memory Status menu. Memory Status Menu MEMORY STATUS ---FLASH Memory--- Total 130688KB Used 75668KB ---SDRAM Memory--- Total 50068KB Used 23656KB Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 15...
  • Page 16: System Settings

    The setting only can control USB1, USB 2 always use as USB Host Mode.(If terminal has USB2) Base USB CDC Enable (Y) or disable (N) USB CDC Mode of VEGA series base/cradle.(Not Support) Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 16...
  • Page 17 AP is in halt state. PWM Auto Enable (Y) or disable (N) power saving mode. PWM Mode Select (STB) standby mode or (SLP) sleep mode for power saving mode. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 17...
  • Page 18 (e.g.Tera Term) in redirect mode. Redirect KEY Enable (Y) or disable (N) to mapping the keypad message to console tool (e.g.Tera Term) in redirect mode. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 18...
  • Page 19 RTC Time Zone :GMT Halt Timeout NTP Enable PWM Auto NTP Update Freq: X PWM Mode PWM Time BAT PROTECT MODE: X 1: Prev 2: Next 1: Prev 2: Next Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 19...
  • Page 20 Press [enter] 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. 20...
  • Page 21: Test Utility

     Press [4] and [OK] to diagnose smart card module.  Press [5] and [OK] to diagnose backlight.  Press [6] and [OK] to diagnose magnetic stripe card reader. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 21...
  • Page 22 Press [8] and [OK] to diagnose RTC. (Default password is "8418")  Press [9] and [OK] to check Printer.  Press [10] and [OK] to check FONT file in UPT1000M.  Press [11] and [OK] to check CL transparent. ...
  • Page 23: Factory Reset

    Factory Reset Password :  Enter factory reset password and press [enter].(Default password: 8418) Factory Reset Password : **** Erasing…  Start erasing, and then go back to Program Manager. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 23...
  • Page 24: 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. 24...
  • Page 25: Fk Pwd Change

     Enter new password.  Enter new password again to confirm. The Default Key Value are shown as below: Function Key 0000 PMEnter Key 0000 Factory Reset Key 8418 Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 25...
  • Page 26: Share Object Management

    Press [2] button to enter Share Object Management menu. Share Object Management Menu Share obj Mng 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. 26...
  • Page 27: Embedded Tms

    Press [2] button to enter system configuration menu.  Press [3] button to reset configuration.  Press [4] button to set compatible configuration.  Press [5] button to enter factory download mode. (Factory use only) Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 27...
  • Page 28: Font Mng

    Press [2] 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. 28...
  • Page 29: Debug Tools

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

    4.Font Mng 5.Debug Tools 6.ULD KEY HASH 7.HW Detect  Press [4] button to view hash value. USER ENC KEY DA9C91FE668DF4B6D6 37CDBCCEC201444AA2 C7FF USER SIGN KEY D52F36A1B569B5ABBA 4FEAEFB34BEC000101 D58C Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 30...
  • Page 31: Hw Detect

    Press [5] button to run HW detection. HW TYPE Original HW-TYPE : ECB HW-TYPE : ECB Please Any Key.  Press any key to reboot system. Type Functions Ethernet GSM/GPRS Contectless Bluetooth WiFi Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 31...
  • Page 32: 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. 32...
  • Page 33: Plug-In Mng

    Plug-in Mng 1.Bluetooth :V0016 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. 33...
  • Page 34: Key Injection

    System Menu (Page 2) System Menu 1.Bluetooth Setup 2.Plug-in Mng 3.Key Injection 4.TP Calibration 5.Key Bridge  Press [8] button to run Key Injection. Key Injection Waiting for Command Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 34...
  • Page 35: Key Bridge

    Press [2] button to use RS232 communication with baud rate 115200 for key injection.  Press [3] button to use RS232 communication with baud rate 9600 for key injection. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 35...
  • Page 36: Secure File Loading

    ULD User Key Encryption Key (RSA)  ULD User Signature Key (RSA) For UPT1000M, 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 37 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...
  • Page 38: 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. 38...
  • Page 39: 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 UPT1000M. Castles Technology provides a tool named “CAP Signing Tool” to perform this task.
  • Page 40  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. 40...
  • Page 41: Signing User Files

    4.2.2. Signing User Files Following files are required to sign before load to UPT1000M. 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. Castles Technology provided a tool named “CAP Generator” to perform this task.
  • Page 42  Insert Key Card and select smart card reader  Enter Key Card PIN Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 42...
  • Page 43 22- AppData Files (Dedicated application's data file)  23- System setting (Configuration file)  24- AppData Library (Dedicated application's library)  A0- Linux Key CAP (Manufacturer ULD Key Set) Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 43...
  • Page 44  Enter file details and press “Step 2: Sign Application” to sign the file. This is valid for all the files to sign. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 44...
  • Page 45 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...
  • Page 46: 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 UPT1000M. User may implement their own ways of updating application or files using CTOS API provided, CTOS_UpdateFromMMCI().
  • Page 47  Select COM port  Browse and select mci file or mmci file  Setup UPT1000M 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 48  Press “Download” button to start. Note: To download using USB cable, UPT1000M 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 49: 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. 49...
  • Page 50  Insert removable media to UPT1000M, 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 51: 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 52 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 53  To view current key set hash value, goto “Option” and select key. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 53...
  • Page 54 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 55  Generate second RSA key set for Signature. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 55...
  • Page 56 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 57 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...
  • Page 58: 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. 58...
  • Page 59  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. 59...
  • Page 60 Font.FNT  Sign the file using CAP Generator, the type must set to “11 – Linux Font”.  Lastly, download the signed file (CAP file) to UPT1000M using Loader. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 60...
  • Page 61: Custom Font

    5.2. Custom Font User may create font they preferred for displaying or printing on UPT1000M. 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 62 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 63 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 64  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 65 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 66  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 67  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 68 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 UPT1000M.  In the application, add following code to display message using the newly created font.
  • Page 69: Using Truetype Font (Ttf)

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

    Limited Power Source (LPS) or PS2, SELV or ES1, and is rated 5-9Vdc, 2A min., if need further assistance, please contact CASTLES TECHNOLOGY CO LTD for further information. Ce produit est destiné à être alimenté par une alimentation répertoriée UL pouvant être utilisée à...
  • Page 72 RISQUE D'EXPLOSION SI LA PILE EST REMPLACÉ E PAR UN TYPE INCORRECT. DISPOSE OF USED BATTERIES ACCORDING TO THE INSTRUCTIONS JETER LES PILES USÉ ES SELON LES INSTRUCTIONS ~ END ~ Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 72...

Table of Contents