background image

 
 

Castles Technology Co., Ltd.

 

Confidential • All Right Reserved. 

Pg. 

39

 

 

 

4.2.  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. 
 
The CAP Signing Tool is located at: 
C:\Program Files\Castles\UPT1000\tools\Signing Tool 
 

  Run CAP Signing Tool 

 

 

 

 

  Insert Key Card and select smart card reader

   

 
 

 

Summary of Contents for UPT1000M

Page 1: ...00M Book 2 User Manual Confidential Version 1 1 Jul 2019 CASTLES TECHNOLOGY 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 c...

Page 2: ...ssion of Castles Technology Co Ltd All trademarks mentioned are proprietary of their respective owners ATTENTION Les informations contenues dans ce document sont sujettes modification sans pr avis Auc...

Page 3: ...chnology Co Ltd Confidential All Right Reserved Pg 3 Revision History Version Date Descriptions Author 1 0 May 30 2019 Initial creation Jeffrey 1 1 Jul 19 2019 1 Modify the picture 2 Modify the UL Cau...

Page 4: ...8 Power Off 24 3 9 FK PWD Change 25 3 10 Share Object Management 26 3 11 Embedded TMS 27 3 12 Font Mng 28 3 13 Debug Tools 29 3 14 ULD Key Hash 30 3 15 HW Detect 31 3 16 Bluetooth Setup 32 3 17 Plug...

Page 5: ...nfidential All Right Reserved Pg 5 4 3 2 Download by Removable Media 49 4 4 Changing ULD User Key 51 5 Font Management 58 5 1 Loading New Font 58 5 2 Custom Font 61 5 3 Using TrueType Font TTF 69 6 Ap...

Page 6: ...Right Reserved Pg 6 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 applica...

Page 7: ...echnology Co Ltd Confidential All Right Reserved Pg 7 2 Hardware Setup 2 1 Parts of the UPT1000M Front View MSR LED Contactless Reader MSR LED Indicator 2 8 Touch Screen ICC Reader LED Indicator Selec...

Page 8: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 8 Rear View Power cable Micro USB Port Speaker...

Page 9: ...se 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 Select Serial port to set...

Page 10: ...application info delete the application or set application to the default one to run once the power is on Users may enter System Menu to configure UPT1000M settings Program Manager Press 0 button to...

Page 11: ...utton to next page System Menu 1 Download AP 2 System Info 3 Memory Status 4 Sys Settings 5 Test Utility 6 Factory Reset 7 Power Off System Menu 1 FK PWD Change 2 Share obj Mng 3 Embedded TMS 4 Font M...

Page 12: ...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 as SD...

Page 13: ...tory Reset 7 Power Off System INFO Kernel Ver BIOS VR0029 SULD VRF119 LINUXKNL VR0031 ROOTFS VRP111 PEDST VR0026 System INFO KO Ver SECURITY VRA327 KMS VRA328 DRV VRP049 USB N A CIF VRP225 SAM VRA034...

Page 14: ...0 CUSBID N A Factory S N FFFFFFFFFFFFFFFF System INFO EXT SO Ver P 1 CACLMDL VRA019 CACLENTRY VRA018 CAMPP VRB010 CAVPW VRB025 CAAEP VR0006 CAJCT VRA010 System INFO EXT SO Ver P 2 CAVAP VR0004 CACQP V...

Page 15: ...nd 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 7 Pow...

Page 16: ...tting is Y before loading Files FunKey PWD Enable Y or disable N password protection to access function key Default password is 0000 User need to enter password if they would like to use function keys...

Page 17: ...however it can buy some time for the first GSM module open in AP Bklit Auto Off Enable Y or disable N Auto Off LCD Backlight Battery protect mode Standby Sleep is more useful for saving the power Bkl...

Page 18: ...support Redirect Mode Enable Y or disable N redirect mode for communication between terminal and external device Redirect Port Select redirect communication port Redirect LCD Enable Y or disable N to...

Page 19: ...Update Freq X 1 Prev 2 Next SYS SETTINGS Halt Timeout 0 PWM Auto X PWM Mode X PWM Time X BAT PROTECT MODE X 1 Prev 2 Next SYS SETTINGS Key Sound Y Exec DFLT AP Y Default AP Name USB CDC Mode Y FunKey...

Page 20: ...Page 7 Press or button to select setting 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 SYS SETTINGS Redirect M...

Page 21: ...memory 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 System Menu 1 Download AP 2 System Info 3 Memory Status...

Page 22: ...L transparent Press 12 and OK to test Cantactless Card Press 13 and OK to execute SD Card Test Not support Press 14 and OK to test functionality of WiFi Press 15 and OK to test functionality of power...

Page 23: ...Press 6 button to enter Factory Reset menu Press enter Enter factory reset password and press enter Default password 8418 Start erasing and then go back to Program Manager System Menu 1 Download AP 2...

Page 24: ...ntial All Right Reserved Pg 24 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 Test Uti...

Page 25: ...d and enter Default password is 0000 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 System Me...

Page 26: ...System Menu 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 System Menu 1 FK PWD Change 2...

Page 27: ...nect server 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...

Page 28: ...ment System Menu Page 2 Press 2 button to view Font Management Font Management Press 1 button to view FNT Font list Press 2 button to view TTF Font list System Menu 1 FK PWD Change 2 Share obj Mng 3 E...

Page 29: ...g log System Menu Page 2 Press 3 button to enter Debug Tools menu Debug Tools Press 1 button to enter core dump menu Press 2 button to enter debug log menu System Menu 1 FK PWD Change 2 Share obj Mng...

Page 30: ...r key hash value System Menu Page 2 Press 4 button to view hash value System Menu 1 FK PWD Change 2 Share obj Mng 3 Embedded TMS 4 Font Mng 5 Debug Tools 6 ULD KEY HASH 7 HW Detect USER ENC KEY DA9C91...

Page 31: ...Page 2 Press 5 button to run HW detection Press any key to reboot system Type Functions E Ethernet G GSM GPRS C Contectless B Bluetooth W WiFi System Menu 1 FK PWD Change 2 Share obj Mng 3 Embedded TM...

Page 32: ...System Menu Page 2 Press 6 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 Bluetooth Set...

Page 33: ...ement System Menu Page 2 Press 7 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 System Menu 1 Bluetooth Setup 2 P...

Page 34: ...served Pg 34 3 18 Key Injection Key Injection function Factory use only System Menu Page 2 Press 8 button to run Key Injection System Menu 1 Bluetooth Setup 2 Plug in Mng 3 Key Injection 4 TP Calibrat...

Page 35: ...key bridge menu Press 1 button to use USB communication for key injection Press 2 button to use RS232 communication with baud rate 115200 for key injection Press 3 button to use RS232 communication w...

Page 36: ...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 UPT1000M the RSA key length...

Page 37: ...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 38: ...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 39: ...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 The CAP Si...

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

Page 41: ...ad 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...

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

Page 43: ...r application data files or library 11 Linux Font TFT and FNT font 20 Share library Shared library for all application 21 Share files Shared file for all application 22 AppData Files Dedicated applica...

Page 44: ...All Right Reserved Pg 44 Press Step 1 Select AP Executable File to select file to sign This is valid for all the files to sign Enter file details and press Step 2 Sign Application to sign the file Th...

Page 45: ...e 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 load multiple set of signed file create a new file with...

Page 46: ...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 Castles TMS CTMS or CASTLES...

Page 47: ...ght Reserved Pg 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 but...

Page 48: ...ll Right Reserved Pg 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 Y Exec DFLT AP Y AP Name USB CDC Mode...

Page 49: ...d 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 folder Note If...

Page 50: ...00M 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 UPT1000M will proces...

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

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

Page 54: ...Confidential All Right Reserved Pg 54 To generate new user key set 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 Ken...

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

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

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

Page 60: ...Pg 60 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 61: ...nting 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 Zone 0x80 0xFF Free to use you may use for...

Page 62: ...Reserved Pg 62 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 63: ...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 64: ...Castles Technology Co Ltd Confidential All Right Reserved Pg 64 After adjust font size select File Export for MicroElektronika Select output format as mikroC...

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

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

Page 68: ...ss 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 CTOS_LanguageConfig 0xA000 d_FONT_12x24 0 d_...

Page 69: ...e 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 Use CAP Generator to convert the TTF file to...

Page 70: ...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 71: ...ment and receiver Connect the equipment into an outlet on a circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help FCC Caution...

Page 72: ...g 72 CAUTION MISE EN GARDE RISK OF EXPLOSION IF BATTERY IS REPLACED BY AN INCORRECT TYPE RISQUE D EXPLOSION SI LA PILE EST REMPLAC E PAR UN TYPE INCORRECT DISPOSE OF USED BATTERIES ACCORDING TO THE IN...

Reviews: