## --------------- Part-I : Configuration for Phone HW ----------------------------## #################################################################################### # I-1) Clock Source Information (AP direct 26MHz) #################################################################################### ## Clock option for 26MHz PLL (0x12) ## Clock option for 19.2MHz PLL (0x11) FW_CFG_CLK_SPEED=0x11 #################################################################################### ## --------------- Part-II : Configuration for Chip / FW -------------------------## #################################################################################### # II-1) FW base address : #################################################################################### ## FW Base Address for SEN4 (0x2000) FW_BASE_ADDRESS=0x2000 #################################################################################### # II-2) Timing parameter #################################################################################### # WAKEUP_DELAY for eSE Model # (Old F/W) 20ms : UICC, 80ms : eSE # (After Star Model) 20ms : UICC, 20ms : eSE #WAKEUP_DELAY=20 #################################################################################### # II-3) Firmware path #################################################################################### ## F/W image for S3NRN4V #FW_IMAGE="/vendor/firmware/nfc/sec_s3nrn4v_firmware.bin" # for single SKU FW_DIR_PATH="/vendor/firmware/nfc/" FW_FILE_NAME="sec_s3nrn4v_firmware.bin" #################################################################################### # II-4) RF Register path #################################################################################### ## RF Register for S3NRN4V #RFREG_FILE="/vendor/etc/nfc/sec_s3nrn4v_hwreg.bin" RF_DIR_PATH="/vendor/etc/nfc/" RF_FILE_NAME="sec_s3nrn4v_hwreg.bin" SW_OPT_DIR_PATH="/vendor/etc/nfc/" SW_OPT_FILE_NAME="sec_s3nrn4v_swreg.bin" ## --------------- Part-III : Configuration for MW --------------------------------## #################################################################################### # III-1) Driver path #################################################################################### ## Power driver POWER_DRIVER="/dev/sec-nfc" ## Transport driver TRANS_DRIVER="/dev/sec-nfc" #################################################################################### # III-2) Trace Level #################################################################################### ## TRACE_LEVEL (0: only err, 1: and debug, 2: trace also) ## DATA TRACE level (0: not display, 1: simply, 2: all of data trace) TRACE_LEVEL=2 DATA_TRACE=2 #################################################################################### # III-3) NFC Sleep Timing #################################################################################### # Set wait time to enter CLF sleep mode SLEEP_TIMEOUT=1000 #################################################################################### # III-4) F/W Update Option # F/W Update Option # 0 : Download for different version # 1 : Download for upper version # 2 : Force Download #################################################################################### # 0 : Default value is "Download for different version" FW_UPDATE_MODE=0 #################################################################################### ############################################################################### # Configure the NFCEEIDs of offhost UICC. # If you use NCI 1.0 mode, have to remove this parameter for VTS # UICC 0x83 (UICC) for NCI v2.0 OFFHOST_ROUTE_UICC={83} ############################################################################### # Configure the NFCEEIDs of offhost eSEs. # If you use NCI 1.0 mode, have to remove this parameter for VTS # eSE 0x82 (eSE) for NCI v2.0 OFFHOST_ROUTE_ESE={82} ############################################################################### # Configure the default NfcA/IsoDep techology and protocol route. Can be # either a secure element (e.g. 0x82) or the host (0x00) DEFAULT_ROUTE=0x83 ############################################################################### # Configure the single default SE to use. The default is to use the first # SE that is detected by the stack. This value might be used when the phone # supports multiple SE but you want to force it to use one of them DEFAULT_OFFHOST_ROUTE=0x82 ############################################################################### # Choose the presence-check algorithm for type-4 tag. If not defined, the default value is 1. # PRESENCE_CHECK_ALGORITHM=0 : [default] Automatic select for below 4 method. # PRESENCE_CHECK_ALGORITHM=1 : Read Empty I block. # PRESENCE_CHECK_ALGORITHM=2 : Sleep/Wakeup Command # PRESENCE_CHECK_ALGORITHM=3 : Read binary for CH0(K version method) # PRESENCE_CHECK_ALGORITHM=4 : Read binary for CH3 # PRESENCE_CHECK_ALGORITHM=5 : ACK/NACK # Default : No use (AUTO) # For China Region : Use Method 3 ############################################################################### PRESENCE_CHECK_ALGORITHM=5 ############################################################################### # Vendor Specific Proprietary Protocol & Discovery Configuration # Set to 0xFF if unsupported # byte[0] NCI_PROTOCOL_18092_ACTIVE # byte[1] NCI_PROTOCOL_B_PRIME # byte[2] NCI_PROTOCOL_DUAL # byte[3] NCI_PROTOCOL_15693 : (15693 : 0x80 (NCI 1.0) , T5T : 0x06 (NCI 2.0)) # byte[4] NCI_PROTOCOL_KOVIO # byte[5] NCI_PROTOCOL_MIFARE : (LSI FW : 0x81 , GSI FW : 0x80) # byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO # byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME # byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME #NFA_PROPRIETARY_CFG={00, 81, 82, 80, 8A, 81, 70, 74, F4} NFA_PROPRIETARY_CFG={00, 81, 82, 80, 8A, 80, 70, 74, F4} ############################################################################### # Extended APDU length for ISO_DEP. If not supported default length is 261 # CHECK in VTS Test case ISO_DEP_MAX_TRANSCEIVE=0xFEFF # ISO_DEP_MAX_TRANSCEIVE=261 ############################################################################### # NEED TO SEN4 COLDRESET # ESE_DELAY (ms) default(mw wakeup_Delay(20ms/80ms)) #ESE_DELAY=0x7D0 # CP Trigger type default(1) #CP_TRIGGER_TYPE=1 # CP_DEFAULT_TYPE default(0) #CP_DEFAULT_TYPE=1 #coldreset support default(0) #COLDRESET_SUPPORT=1 ############### end of config ##############################