Page 1
CASTLES TECHNOLOGY MP200 Mobile POS Book 2 User Manual Confidential Version 2.1 Feb 2015 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
4. UI arrangement on “Test Utility” page 1. Add the description of Environment. Feb 12, 2015 2. Add the description of Power. 3. Add the UL caution of battery. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 3...
1. Introduction This document provides a guideline on operating and configuring Castles MP200 Mobile POS. The scope of this document includes setting up the terminal, basic operation, application life cycle, and some advance features. Confidential • All Right Reserved. Castles Technology Co., Ltd.
7. Up Key 3. Cancel Key 8. Down Key 4. 0 / Funtion Key 9. OK / Enter Key 5. Contactless Card Landing 10. Clear Key Zone Enter Key Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 7...
Page 8
Rear Side 11. Machine’s Label Up Side bottom Side 12. MSR 13. SCR Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 8...
Operating Temperature : 0°C to 50°C Storage Temperature : -20°C to 70°C Operating Humidity : 5% to 90% non-condensing Storage Humidity : 5% to 95% non-condensing 2.3. Power Input : 5V, 1A Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 9...
Press [↑] or [↓] to select application. System Menu Page 1 System Menu 1.Download AP 2.System Info 3.Memory Status 4.Sys Settings 5.Test Utility 6.Factory Reset 7.Power Off Press [↓] button to page 2. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 10...
Page 11
7.Plug-in Mng Press [↑] button to page 1. Press [↓] button to page 3. Page 3 System Menu 1.Key Injection Press [↑] button to page 2. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 11...
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. 12...
7.Power Off Press [3] button to enter Memory Status menu. Memory Status Menu MEMORY STATUS --FLASH Memory-- Total: 130688KB Used : 96648KB --SDRAM Memory-- Total: 65408KB Used : 32148KB Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 14...
GDB connection channel. ETHER IP/PORT GDB Ethernet connection setting. RTC Time Zone Set Time Zone of Real Time Clock. NTP Enable Enable (Y) or disable (N) Network Time Protocol. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 15...
Page 16
GDB Mode Debug Port GDB Timeout Mobil AutoON GDB Channel Bklit Auto Off ETHER IP/PORT Bklit Off 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...
Press [7] and [OK] to diagnose LED. Press [8] and [OK] to diagnose RTC. Press [9] and [OK] to check FONT file in MP200. Press [10] and [OK] to diagnose USB. Press [11] and [OK] to check Bluetooth chip address and name.
Page 19
9122 13.CL 14.WiFi -> Press [13] and [OK] to diagnose contactless card reader. Press [14] and [OK] to diagnose WiFi. Press [↑] button to page 1. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 19...
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. 21...
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. 22...
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. 24...
Press [4] button to view Font Management. FontManagment 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...
Debug Log 1.Upload 2.Clean All Press [1] move the Debug Log from the memory of terminal to SD card. Press [2] clean all the Debug Log in MP200. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 26...
Press [1] to select COM 1. Press [2] to select COM 2. Press [3] to select USB. Press [OK] to set port. Press [X] to exit. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 29...
ULD User Key Encryption Key (RSA) ULD User Signature Key (RSA) For MP200, 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 31
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. 31...
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. 32...
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 provideds a tool named “CAP Signing Tool” to perform this task. The CAP Signing Tool is located at: C:\Program Files\Castles\MP200\tools\Signing Tool ...
Page 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. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 34...
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: C:\Program Files\Castles\MP200\tools\CAPG (KeyCard) Run CAP Generator Confidential • All Right Reserved.
Page 36
Insert Key Card and select smart card reader Enter Key Card PIN Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 36...
Page 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 files to sign. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 37...
Page 38
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. 38...
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 40
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 • All Right Reserved. Castles Technology Co., Ltd. Pg. 40...
Page 41
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 2: Next Page Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 41...
Technology provided a tool named “Secure Key Generator” to perform this task. 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. 42...
Page 43
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. 43...
Page 44
To view current key set hash value, goto “Option” and select key. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 44...
Page 45
Please generate the RSA key by yourself,thelength 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. 45...
Page 46
Generate second RSA key set for Signature. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 46...
Page 47
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. 47...
Page 48
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. 48...
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. 49...
Page 50
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. 50...
Page 51
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. 51...
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. 52...
Page 53
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. 53...
Page 54
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. 54...
Page 55
After adjust font size, select [File] [Export for MicroElektronika]. Select output format as [mikroC]. Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 55...
Page 56
“ 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. 56...
Page 57
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. 57...
Page 58
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. 58...
Page 59
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. 59...
5.3. Using TrueType Font (TTF) TrueType Font (TTF) is supported in MP200. You may download the TrueType font preferred to terminal for displaying or printing. Following steps demonstrate how to use “Cooper Black” TrueType font. Copy the TTF file needed to a empty folder.
Page 61
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. 61...
This device and its antenna(s) must not be co-located or operated in conjunction with any antenna or transmitter not described under this FCC ID, except in accordance with FCC multi-transmitter RF exposure procedures. ~ END ~ Confidential • All Right Reserved. Castles Technology Co., Ltd. Pg. 62...