Hi ,
Firmware download is attempted 3 times and failed, Is this an issue ??
The final issue i see is the "Chip Version Middleware Version mismatch!!!!" which returns a failure ,
I think others also facing this , please help !
root@nitrogen8mm:~# nfcDemoApp poll
#########################################################################################
## NFC demo ##
#########################################################################################
## Poll mode activated ##
#########################################################################################
... press enter to quit ...
2023:03:03-11:34:10.746 find found NXPLOG_TML_LOGLEVEL=(0xff)
2023:03:03-11:34:10.746 GetNxpNumValue: NXP Config Parameter : NXPLOG_TML_LOGLEVEL=(0xff)
2023:03:03-11:34:10.746 find found NXPLOG_FWDNLD_LOGLEVEL=(0xff)
2023:03:03-11:34:10.746 GetNxpNumValue: NXP Config Parameter : NXPLOG_FWDNLD_LOGLEVEL=(0xff)
2023:03:03-11:34:10.746 find found NXPLOG_NCIX_LOGLEVEL=(0xff)
2023:03:03-11:34:10.746 GetNxpNumValue: NXP Config Parameter : NXPLOG_NCIX_LOGLEVEL=(0xff)
2023:03:03-11:34:10.746 find found NXPLOG_NCIR_LOGLEVEL=(0xff)
2023:03:03-11:34:10.746 GetNxpNumValue: NXP Config Parameter : NXPLOG_NCIR_LOGLEVEL=(0xff)
2023:03:03-11:34:10.746 initializeGlobalDebugEnabledFlag: level=1
2023:03:03-11:34:10.746 initializeGlobalDebugEnabledFlag: level=1
2023:03:03-11:34:10.747 readConfig Opened base config /etc/libnfc-nci.conf
2023:03:03-11:34:10.748 NfcAdaptation::Initialize: Overriding NFA_EE_MAX_EE_SUPPORTED to use 1
2023:03:03-11:34:10.749 verify_stack_non_volatile_store
2023:03:03-11:34:10.749 crcChecksumVerifyIntegrity: filename=/nfaStorage.bin1
2023:03:03-11:34:10.749 crcChecksumVerifyIntegrity: filename=/nfaStorage.bin4
2023:03:03-11:34:10.749 crcChecksumVerifyIntegrity: filename=/nfaStorage.bin2
2023:03:03-11:34:10.749 crcChecksumVerifyIntegrity: filename=/nfaStorage.bin3
2023:03:03-11:34:10.749 crcChecksumVerifyIntegrity: filename=/nfaStorage.bin5
2023:03:03-11:34:10.749 Initialize: preserve stack NV store
2023:03:03-11:34:10.750 GKI_create_task func=0x0xffffa5ecc930 id=4 name=NFCA_TASK stack=0x(nil) stackSize=0
2023:03:03-11:34:10.750 GKI creating task 4, pCond/pMutex=(nil)/(nil)
2023:03:03-11:34:10.750 Leaving GKI_create_task 0xffffa5ecc930 4 ffffa50df180 NFCA_TASK (nil) 0
2023:03:03-11:34:10.750 GKI_create_task func=0x0xffffa5ecddd0 id=0 name=NFCA_THREAD stack=0x(nil) stackSize=0
2023:03:03-11:34:10.750 GKI creating task 0, pCond/pMutex=(nil)/(nil)
2023:03:03-11:34:10.750 gki_task_entry task_id=4, thread_id=ffffa50df180/ffffa50df180, pCond/pMutex=(nil)/(nil)
2023:03:03-11:34:10.750 NfcAdaptation::NFCA_TASK: enter
2023:03:03-11:34:10.750 GKI_run enter
2023:03:03-11:34:10.750 Start/Stop GKI_timer_update_registered!
2023:03:03-11:34:10.750 GKI_run, run_cond(0xffffa5f9a7c0)=1
2023:03:03-11:34:10.750 Leaving GKI_create_task 0xffffa5ecddd0 0 ffffa48cf180 NFCA_THREAD (nil) 0
2023:03:03-11:34:10.750 gki_task_entry task_id=0, thread_id=ffffa48cf180/ffffa48cf180, pCond/pMutex=(nil)/(nil)
2023:03:03-11:34:10.750 NfcAdaptation::Thread: enter
2023:03:03-11:34:10.750 GKI_create_task func=0x0xffffa5e8b1b4 id=3 name=NFC_TASK stack=0x(nil) stackSize=0
2023:03:03-11:34:10.750 GKI creating task 3, pCond/pMutex=0xffffa48ce7e8/0xffffa48ce7b8
2023:03:03-11:34:10.751 Leaving GKI_create_task 0xffffa5e8b1b4 3 ffff97fff180 NFC_TASK (nil) 0
2023:03:03-11:34:10.751 gki_task_entry task_id=3, thread_id=ffff97fff180/ffff97fff180, pCond/pMutex=0xffffa48ce7e8/0xffffa48ce7b8
2023:03:03-11:34:10.752 NFC_TASK started.
2023:03:03-11:34:10.752 GKI_wait task=3, pCond/pMutex = 0xffffa48ce7e8/0xffffa48ce7b8
2023:03:03-11:34:10.752 GKI_exit_task 0 done
2023:03:03-11:34:10.752 NfcAdaptation::Initialize: exit
2023:03:03-11:34:10.752 NfcAdaptation::Thread: exit
2023:03:03-11:34:10.752 gki_task task_id=0 terminating
2023:03:03-11:34:10.753 NFA_Init
2023:03:03-11:34:10.753 nfa_dm_init
2023:03:03-11:34:10.753 id=1, enable_cplt_mask=0x0
2023:03:03-11:34:10.753 nfa_p2p_init
2023:03:03-11:34:10.753 id=3, enable_cplt_mask=0x8
2023:03:03-11:34:10.753 Nfc: nfa_snep_init (): is_dta_mode=0
2023:03:03-11:34:10.753 Nfc: nfa[ 91.208401] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 0
_snep_default_init ()
2023:03:03-11:34:10.753 id=4, enable_cplt_mask=0x18
2023:03:03-11:34:11.085 nfa_rw_init
2023:03:03-11:34:11.085 id=5, enable_cplt_mask=0x38
2023:03:03-11:34:11.085 nfa_ce_init
2023:03:03-11:34:11.085 id=6, enable_cplt_[ 91.234254] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 1
mask=0x78
2023:03:03-11:34:11.085 nfa_ee_init
2023:03:03-11:34:11.085 id=2, enable_cplt_mask=0x7c
2023:03:03-11:34:11.085 nfa_t4tnfcee_init
2023:03:03-11:34:11.085 find found NXP_T4T_NFCEE_ENABLE=(0x1)
2023:03:03-11:34:11.085 GetNxpNumValue: NXP Config Parameter : NXP_T4T_NFCEE_ENABLE=(0x1)
2023:03:03-11:34:11.085 id=9, enable_cplt_mask=0x27c
2023:03:03-11:34:11.099 llcp_init
2023:03:03-11:34:11.099 num_rx_buff = 9, rx_congest_start = 6, rx_congest_end = 4, max_num_ll_rx_buff = 2
2023:03:03-11:34:11.099 max_num_tx_buff = 21, max_num_ll_tx_buff = 6
2023:03:03-11:34:11.099 SAP:0x1, link_type:0x2, ServiceName:
2023:03:03-11:34:11.099 Registered SAP = 0x01
2023:03:03-11:34:11.099 NFA_Enable
2023:03:03-11:34:11.100 NFA got event 0x0100
2023:03:03-11:34:11.100 event: NFA_DM_API_ENABLE_EVT (0x00)
2023:03:03-11:34:11.100 nfa_dm_enable
2023:03:03-11:34:11.100 NFC_Enable
2023:03:03-11:34:11.100 nfc_set_state 0 (NONE)->1 (W4_HAL_OPEN)
2023:03:03-11:34:11.100 NfcAdaptation::HalOpen
2023:03:03-11:34:11.100 phNxpNci_MinOpen(): enter
2023:03:03-11:34:11.102 find found NXPLOG_GLOBAL_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 GetNxpNumValue: NXP Config Parameter : NXPLOG_GLOBAL_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 find found NXPLOG_NCIHAL_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 GetNxpNumValue: NXP Config Parameter : NXPLOG_NCIHAL_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 find found NXPLOG_EXTNS_LOGLEVEL=(0x3)
2023:03:03-11:34:11.102 GetNxpNumValue: NXP Config Parameter : NXPLOG_EXTNS_LOGLEVEL=(0x3)
2023:03:03-11:34:11.102 find found NXPLOG_TML_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 GetNxpNumValue: NXP Config Parameter : NXPLOG_TML_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 find found NXPLOG_FWDNLD_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 GetNxpNumValue: NXP Config Parameter : NXPLOG_FWDNLD_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 find found NXPLOG_NCIX_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 GetNxpNumValue: NXP Config Parameter : NXPLOG_NCIX_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 find found NXPLOG_NCIR_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 GetNxpNumValue: NXP Config Parameter : NXPLOG_NCIR_LOGLEVEL=(0xff)
2023:03:03-11:34:11.102 phNxpLog_InitializeLogLevel: global =255, Fwdnld =255, extns =3, hal =255, tml =255, ncir =255, ncix =255
2023:03:03-11:34:11.103 find found MIFARE_READER_ENABLE=(0x0)
2023:03:03-11:34:11.103 GetNxpNumValue: NXP Config Parameter : MIFARE_READER_ENABLE=(0x0)
2023:03:03-11:34:11.103 Entering phNxpNciHal_init_monitor
2023:03:03-11:34:11.103 Returning with SUCCESS
2023:03:03-11:34:11.103 find found NXP_NFC_DEV_NODE
2023:03:03-11:34:11.103 GetNxpStrValue: NXP Config Parameter : NXP_NFC_DEV_NODE
2023:03:03-11:34:11.103 NFC Chip Type: 0
2023:03:03-11:34:11.103 phTmlNfc_Init Entry......
2023:03:03-11:34:11.103 getTransport Requested transportType: 4
2023:03:03-11:34:11.103 OpenAndConfigure Opening port=/dev/nxpnfc
2023:03:03-11:34:11.103 NfccReset, VEN eType 0
2023:03:03-11:34:11.129 NfccReset, VEN eType 1
2023:03:03-11:34:11.146 PN54X - Tml Reader Thread Started................
2023:03:03-11:34:11.146 phTmlNfc_Init exit wInitStatus=0
2023:03:03-11:34:11.146 PN54X - Tml Writer Thread Started................
2023:03:03-11:34:11.147 PN54X - Tml Writer Thread Running................
2023:03:03-11:34:11.147 thread started
2023:03:03-11:34:11.147 PN54X - Read requested.....
2023:03:03-11:34:11.147 PN54X - Invoking I2C Read.....
2023:03:03-11:34:11.147 PN54X - Write requested.....
2023:03:03-11:34:11.147 PN54X - Invoking I2C Write.....
2023:03:03-11:34:11.148 len = 4 > 20000100
2023:03:03-11:34:11.148 PN54X - I2C Write successful.....
2023:03:03-11:34:11.148 PN54X - Posting Fresh Write message.....
2023:03:03-11:34:11.148 PN54X - Tml Writer Thread Running................
2023:03:03-11:34:11.148 write successful status = 0x0
2023:03:03-11:34:11.148 Response timer started
2023:03:03-11:34:11.148 Waiting after ext cmd sent
2023:03:03-11:34:11.152 PN54X - I2C Read successful.....
2023:03:03-11:34:11.152 len = 4 > 40000100
2023:03:03-11:34:11.152 PN54X - Posting read message.....
2023:03:03-11:34:11.152 read successful status = 0x0
2023:03:03-11:34:11.483 CORE_RESET_RSP NCI2.0
2023:03:03-11:34:11.483 Pavankn fw_maj_ver: 0, romVersion: 0
2023:03:03-11:34:11.483 PN54X - Read requested.....
2023:03:03-11:34:11.483 PN54X - Invoking I2C Read.....
2023:03:03-11:34:11.483 Response timer stopped
2023:03:03-11:34:11.483 Response timer started
2023:03:03-11:34:11.485 PN54X - I2C Read successful.....
2023:03:03-11:34:11.485 len = 12 > 600009020020040471125005
2023:03:03-11:34:11.485 PN54X - Posting read message.....
2023:03:03-11:34:11.485 read successful status = 0x0
2023:03:03-11:34:11.485 CORE_RESET_NTF NCI2.0 reason CORE_RESET_CMD received !
2023:03:03-11:34:11.485 nci_version : 0x20
2023:03:03-11:34:11.485 getChipType HwVersion : 0x71
2023:03:03-11:34:11.485 getChipType Product : PN557
2023:03:03-11:34:11.485 phNxpNciHal_configFeatureList chipType = 9
2023:03:03-11:34:11.485 NxpNci> FW Version: 12.50.5
2023:03:03-11:34:11.485 Pavankn fw_maj_ver: 80, romVersion: 18
2023:03:03-11:34:11.485 PN54X - Read requested.....
2023:03:03-11:34:11.486 PN54X - Invoking I2C Read.....
2023:03:03-11:34:11.486 Response timer stopped
2023:03:03-11:34:11.486 Checking response
2023:03:03-11:34:11.486 PN54X - Write requested.....
2023:03:03-11:34:11.486 PN54X - Invoking I2C Write.....
2023:03:03-11:34:11.487 len = 5 > 2001020000
2023:03:03-11:34:11.487 PN54X - I2C Write successful.....
2023:03:03-11:34:11.487 PN54X - Posting Fresh Write message.....
2023:03:03-11:34:11.487 PN54X - Tml Writer Thread Running................
2023:03:03-11:34:11.487 write successful status = 0x0
2023:03:03-11:34:11.487 Response timer started
2023:03:03-11:34:11.487 Waiting after ext cmd sent
2023:03:03-11:34:11.491 PN54X - I2C Read successful.....
2023:03:03-11:34:11.491 len = 33 > 40011E001A7E060301D002FFFF01FF000800000100020003008000820083008400
2023:03:03-11:34:11.491 PN54X - Posting read message.....
2023:03:03-11:34:11.491 read successful status = 0x0
2023:03:03-11:34:11.491 CORE_INIT_RSP NCI2.0 received !
2023:03:03-11:34:11.491 Pavankn fw_maj_ver: 80, romVersion: 18
2023:03:03-11:34:11.491 Response timer stopped
2023:03:03-11:34:11.491 Checking response
2023:03:03-11:34:11.491 PN54X - Read requested.....
2023:03:03-11:34:11.491 PN54X - Invoking I2C Read.....
2023:03:03-11:34:11.491 find found NXP_I2C_FRAGMENTATION_ENABLED=(0x0)
2023:03:03-11:34:11.491 GetNxpNumValue: NXP Config Parameter : NXP_I2C_FRAGMENTATION_ENABLED=(0x0)
2023:03:03-11:34:11.491 I2C status : 0
2023:03:03-11:34:11.492 PN54X - Write requested.....
2023:03:03-11:34:11.492 PN54X - Invoking I2C Write.....
2023:03:03-11:34:11.493 len = 6 > 20030301A005
2023:03:03-11:34:11.493 PN54X - I2C Write successful.....
2023:03:03-11:34:11.493 PN54X - Posting Fresh Write message.....
2023:03:03-11:34:11.493 PN54X - Tml Writer Thread Running................
2023:03:03-11:34:11.493 write successful status = 0x0
2023:03:03-11:34:11.493 Response timer started
2023:03:03-11:34:11.493 Waiting after ext cmd sent
2023:03:03-11:34:11.494 PN54X - I2C Read successful.....
2023:03:03-11:34:11.494 len = 9 > 4003060001A0050100
2023:03:03-11:34:11.495 PN54X - Posting read message.....
2023:03:03-11:34:11.495 read successful status = 0x0
2023:03:03-11:34:11.495 Pavankn fw_maj_ver: 80, romVersion: 18
2023:03:03-11:34:11.495 phNxpNciHal_print_res_status: response status =STATUS_OK
2023:03:03-11:34:11.495 PN54X - Read requested.....
2023:03:03-11:34:11.495 PN54X - Invoking I2C Read.....
2023:03:03-11:34:11.495 Response timer stopped
2023:03:03-11:34:11.495 Checking response
2023:03:03-11:34:11.495 Allocating Mem for Dnld Context..
2023:03:03-11:34:11.495 find found NXP_FW_TYPE=(0x1)
2023:03:03-11:34:11.495 GetNxpNumValue: NXP Config Parameter : NXP_FW_TYPE=(0x1)
2023:03:03-11:34:11.495 firmware type from conf file: 1
2023:03:03-11:34:11.511 @@@//usr//lib//libpn7160_fw.so
2023:03:03-11:34:11.511 FW Image Length - ImageInfoLen 34542
2023:03:[ 91.959566] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 2
03-11:34:11.511 FW Image Info Pointer - pImageInfo 0xffffa4080010
2023:03:03-11:34:11.511 FW Major Version Num - 50
2023:03:03-11:34:11.511 FW Minor Version Num - 6
2023:03:03-11:34:11.844 FW Image Length - 34542
2023:03:03-11:34:11.844 FW Image Info Pointer - 0xffffa4080010
2023:03:03-11:34:11.844 FW version for FW file = 0x5006
2023:03:03-11:34:11.844 FW version from device = 0x125005
2023:03:03-11:34:11.844 PN54X - Write requested.....
2023:03:03-11:34:11.844 PN54X - Invoking I2C Write.....
2023:03:03-11:34:11.845 len = 6 > 20030301A008
2023:03:03-11:34:11.845 PN54X - I2C Write successful.....
2023:03:03-11:34:11.845 PN54X - Posting Fresh Write message.....
2023:03:03-11:34:11.845 PN54X - Tml Writer Thread Running................
2023:03:03-11:34:11.845 write successful status = 0x0
2023:03:03-11:34:11.845 Response timer started
2023:03:03-11:34:11.845 Waiting after ext cmd sent
2023:03:03-11:34:11.847 PN54X - I2C Read successful.....
2023:03:03-11:34:11.847 len = 10 > 4003070001A008020000
2023:03:03-11:34:11.847 PN54X - Posting read message.....
2023:03:03-11:34:11.847 read successful status = 0x0
2023:03:03-11:34:11.847 Pavankn fw_maj_ver: 80, romVersion: 18
2023:03:03-11:34:11.847 phNxpNciHal_print_res_status: response status =STATUS_OK
2023:03:03-11:34:11.847 phNxpNciHal_print_res_status: Storing GPIO Values...
2023:03:03-11:34:11.847 Response timer stopped
2023:03:03-11:34:11.847 Checking response
2023:03:03-11:34:11.847 PN54X - Read requested.....
2023:03:03-11:34:11.847 PN54X - Invoking I2C Read.....
2023:03:03-11:34:11.847 PN54X - Write requested.....
2023:03:03-11:34:11.847 PN54X - Invoking I2C Write.....
2023:03:03-11:34:11.852 len = 39 > 20022401A014200000000000000000000000000000000000000000000000000000000000000000
2023:03:03-11:34:11.852 PN54X - I2C Write successful.....
2023:03:03-11:34:11.852 PN54X - Posting Fresh Write message.....
2023:03:03-11:34:11.852 PN54X - Tml Writer Thread Running................
2023:03:03-11:34:11.852 write successful status = 0x0
2023:03:03-11:34:11.852 Response timer started
2023:03:03-11:34:11.852 Waiting after ext cmd sent
2023:03:03-11:34:11.853 PN54X - I2C Read successful.....
2023:03:03-11:34:11.854 len = 5 > 4002020000
2023:03:03-11:34:11.854 PN54X - Posting read message.....
2023:03:03-11:34:11.854 read successful status = 0x0
2023:03:03-11:34:11.854 Pavankn fw_maj_ver: 80, romVersion: 18
2023:03:03-11:34:11.854 phNxpNciHal_print_res_status: response status =STATUS_OK
2023:03:03-11:34:11.854 Response timer stopped
2023:03:03-11:34:11.854 Checking response
2023:03:03-11:34:11.854 Starting FW update
2023:03:03-11:34:11.854 PN54X - Read requested.....
2023:03:03-11:34:11.854 PN54X - Invoking I2C Read.....
2023:03:03-11:34:11.854 find found NXP_SYS_CLK_SRC_SEL=(0x1)
2023:03:03-11:34:11.854 GetNxpNumValue: NXP Config Parameter : NXP_SYS_CLK_SRC_SEL=(0x1)
2023:03:03-11:34:11.854 find found NXP_SYS_CLK_FREQ_SEL=(0x0)
2023:03:03-11:34:11.854 GetNxpNumValue: NXP Config Parameter : NXP_SYS_CLK_FREQ_SEL=(0x0)
2023:03:03-11:34:11.854 find found NXP_SYS_CLOCK_TO_CFG=(0x1)
2023:03:03-11:34:11.854 GetNxpNumValue: NXP Config Parameter : NXP_SYS_CLOCK_TO_CFG=(0x1)
2023:03:03-11:34:11.854 gphNxpNciHal_fw_IoctlCtx.bClkSrcVal = 0x1
2023:03:03-11:34:11.854 gphNxpNciHal_fw_IoctlCtx.bClkFreqVal = 0x0
2023:03:03-11:34:11.854 gphNxpNciHal_fw_IoctlCtx.bTimeout = 0x1
2023:03:03-11:34:11.854 NfccReset, VEN eType 2
2023:03:03-11:34:11.983 Calling Seq handler for FW Download
2023:03:03-11:34:11.983 find found NXP_FW_TYPE=(0x1)
2023:03:03-11:34:11.983 GetNxpNumValue: NXP Config Parameter : NXP_FW_TYPE=(0x1)
2023:03:03-11:34:11.983 firmware type from conf file: 1
2023:03:03-11:34:11.983 free library SUCCESS !!
2023:03:03-11:34:11.984 @@@//usr//lib//libpn7160_fw.so
2023:03:03-11:34:11.984 FW Image Length - ImageInfoLen 34542
2023:03:03-11:34:11.984 FW Image Info Pointer - pImageInfo 0xffffa4080010
2023:03:03-11:34:11.984 FW Major Version Num - 50
2023:03:03-11:34:11.984 FW Minor Version Num - 6
2023:03:03-11:34:11.984 FW Image Length - 34542
2023:03:03-11:34:11.984 FW Image Info Pointer - 0xffffa4080010
2023:03:03-11:34:11.984 phDnldNfc_InitImgInfo:SUCCESS
2023:03:03-11:34:11.984 Processing Normal Sequence..
2023:03:03-11:34:11.984 Initializing Sequence..
2023:03:03-11:34:11.984 Response Timer Created Successfully
2023:03:03-11:34:11.984 Inserting FrameId ..
2023:03:03-11:34:11.984 Frame created successfully
2023:03:03-11:34:11.984 GetSessionState Request submitted successfully
2023:03:03-11:34:11.984 PN54X - Write requested.....
2023:03:03-11:34:11.984 PN54X - Invoking I2C Write.....
2023:03:03-11:34:11.985 len = 8 > 0004F2000000F533
2023:03:03-11:34:11.986 PN54X - I2C Write successful.....
2023:03:03-11:34:11.986 PN54X - Posting Fresh Write message.....
2023:03:03-11:34:11.986 PN54X - Tml Writer Thread Running................
2023:03:03-11:34:11.986 Send Success
2023:03:03-11:34:11.986 Response timer started
2023:03:03-11:34:14.486 [ 94.591720] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 0
0
2023:03:03-11:34:14.486 phNxpNciHal_fw_dnld_get_sessn_state_cb - Request Failed, State:255, pInfo: 0x90001658
2023:03:03-11:34:14.486 phDnldNfc_GetSessionState cb failed
2023:03:03-11:34:14.486 phNxpNciHal_fw_seq_handler : FAILED
2023:03:0[ 94.619120] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 1
3-11:34:14.486 phNxpNciHal_fw_dnld_complete: Download Status = 0xff
2023:03:03-11:34:14.486 Fw Download Failed!!
2023:03:03-11:34:14.486 NfccReset, VEN eType 0
2023:03:03-11:34:14.514 NfccReset, VEN eType 1
2023:03:03-11:34:14.631 [ 94.736743] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 2
free library SUCCESS !!
2023:03:03-11:34:14.631 Freeing Mem for Dnld Context..
2023:03:03-11:34:14.631 Retrying: FW download
2023:03:03-11:34:14.631 find found NXP_SYS_CLK_SRC_SEL=(0x1)
2023:03:03-11:34:14.631 GetNxpNumValue: NXP Config Parameter : NXP_SYS_CLK_SRC_SEL=(0x1)
2023:03:03-11:34:14.631 find found NXP_SYS_CLK_FREQ_SEL=(0x0)
2023:03:03-11:34:14.631 GetNxpNumValue: NXP Config Parameter : NXP_SYS_CLK_FREQ_SEL=(0x0)
2023:03:03-11:34:14.631 find found NXP_SYS_CLOCK_TO_CFG=(0x1)
2023:03:03-11:34:14.631 GetNxpNumValue: NXP Config Parameter : NXP_SYS_CLOCK_TO_CFG=(0x1)
2023:03:03-11:34:14.631 gphNxpNciHal_fw_IoctlCtx.bClkSrcVal = 0x1
2023:03:03-11:34:14.631 gphNxpNciHal_fw_IoctlCtx.bClkFreqVal = 0x0
2023:03:03-11:34:14.631 gphNxpNciHal_fw_IoctlCtx.bTimeout = 0x1
2023:03:03-11:34:14.632 NfccReset, VEN eType 2
2023:03:03-11:34:14.759 Allocating Mem for Dnld Context..
2023:03:03-11:34:14.759 Calling Seq handler for FW Download
2023:03:03-11:34:14.759 find found NXP_FW_TYPE=(0x1)
2023:03:03-11:34:14.759 GetNxpNumValue: NXP Config Parameter : NXP_FW_TYPE=(0x1)
2023:03:03-11:34:14.759 firmware type from conf file: 1
2023:03:03-11:34:14.759 @@@//usr//lib//libpn7160_fw.so
2023:03:03-11:34:14.759 FW Image Length - ImageInfoLen 34542
2023:03:03-11:34:14.760 FW Image Info Pointer - pImageInfo 0xffffa4080010
2023:03:03-11:34:14.760 FW Major Version Num - 50
2023:03:03-11:34:14.760 FW Minor Version Num - 6
2023:03:03-11:34:14.760 FW Image Length - 34542
2023:03:03-11:34:14.760 FW Image Info Pointer - 0xffffa4080010
2023:03:03-11:34:14.760 phDnldNfc_InitImgInfo:SUCCESS
2023:03:03-11:34:14.760 Processing Normal Sequence..
2023:03:03-11:34:14.760 Initializing Sequence..
2023:03:03-11:34:14.760 Response Timer Created Successfully
2023:03:03-11:34:14.760 Inserting FrameId ..
2023:03:03-11:34:14.760 Frame created successfully
2023:03:03-11:34:14.760 GetSessionState Request submitted successfully
2023:03:03-11:34:14.760 PN54X - Write requested.....
2023:03:03-11:34:14.760 PN54X - Invoking I2C Write.....
2023:03:03-11:34:14.761 len = 8 > 0004F2000000F533
2023:03:03-11:34:14.761 PN54X - I2C Write successful.....
2023:03:03-11:34:14.761 PN54X - Posting Fresh Write message.....
2023:03:03-11:34:14.761 PN54X - Tml Writer Thread Running................
2023:03:03-11:34:14.761 Send Success
2023:03:03-11:34:14.762 Response timer started
2023:03:03-11:34:17.262 [ 97.367227] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 0
0
2023:03:03-11:34:17.262 phNxpNciHal_fw_dnld_get_sessn_state_cb - Request Failed, State:255, pInfo: 0x90001908
2023:03:03-11:34:17.262 phDnldNfc_GetSessionState cb failed
2023:03:03-11:34:17.262 phNxpNciHal_fw_seq_handler : FAILED
2023:03:0[ 97.394651] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 1
3-11:34:17.262 phNxpNciHal_fw_dnld_complete: Download Status = 0xff
2023:03:03-11:34:17.262 Fw Download Failed!!
2023:03:03-11:34:17.262 NfccReset, VEN eType 0
2023:03:03-11:34:17.289 NfccReset, VEN eType 1
2023:03:03-11:34:17.406 [ 97.512241] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 2
free library SUCCESS !!
2023:03:03-11:34:17.407 Freeing Mem for Dnld Context..
2023:03:03-11:34:17.407 Retrying: FW download
2023:03:03-11:34:17.407 find found NXP_SYS_CLK_SRC_SEL=(0x1)
2023:03:03-11:34:17.407 GetNxpNumValue: NXP Config Parameter : NXP_SYS_CLK_SRC_SEL=(0x1)
2023:03:03-11:34:17.407 find found NXP_SYS_CLK_FREQ_SEL=(0x0)
2023:03:03-11:34:17.407 GetNxpNumValue: NXP Config Parameter : NXP_SYS_CLK_FREQ_SEL=(0x0)
2023:03:03-11:34:17.407 find found NXP_SYS_CLOCK_TO_CFG=(0x1)
2023:03:03-11:34:17.407 GetNxpNumValue: NXP Config Parameter : NXP_SYS_CLOCK_TO_CFG=(0x1)
2023:03:03-11:34:17.407 gphNxpNciHal_fw_IoctlCtx.bClkSrcVal = 0x1
2023:03:03-11:34:17.407 gphNxpNciHal_fw_IoctlCtx.bClkFreqVal = 0x0
2023:03:03-11:34:17.407 gphNxpNciHal_fw_IoctlCtx.bTimeout = 0x1
2023:03:03-11:34:17.407 NfccReset, VEN eType 2
2023:03:03-11:34:17.534 Allocating Mem for Dnld Context..
2023:03:03-11:34:17.534 Calling Seq handler for FW Download
2023:03:03-11:34:17.534 find found NXP_FW_TYPE=(0x1)
2023:03:03-11:34:17.534 GetNxpNumValue: NXP Config Parameter : NXP_FW_TYPE=(0x1)
2023:03:03-11:34:17.534 firmware type from conf file: 1
2023:03:03-11:34:17.535 @@@//usr//lib//libpn7160_fw.so
2023:03:03-11:34:17.535 FW Image Length - ImageInfoLen 34542
2023:03:03-11:34:17.535 FW Image Info Pointer - pImageInfo 0xffffa4080010
2023:03:03-11:34:17.535 FW Major Version Num - 50
2023:03:03-11:34:17.535 FW Minor Version Num - 6
2023:03:03-11:34:17.535 FW Image Length - 34542
2023:03:03-11:34:17.535 FW Image Info Pointer - 0xffffa4080010
2023:03:03-11:34:17.535 phDnldNfc_InitImgInfo:SUCCESS
2023:03:03-11:34:17.535 Processing Normal Sequence..
2023:03:03-11:34:17.535 Initializing Sequence..
2023:03:03-11:34:17.535 Response Timer Created Successfully
2023:03:03-11:34:17.535 Inserting FrameId ..
2023:03:03-11:34:17.535 Frame created successfully
2023:03:03-11:34:17.535 GetSessionState Request submitted successfully
2023:03:03-11:34:17.535 PN54X - Write requested.....
2023:03:03-11:34:17.536 PN54X - Invoking I2C Write.....
2023:03:03-11:34:17.537 len = 8 > 0004F2000000F533
2023:03:03-11:34:17.537 PN54X - I2C Write successful.....
2023:03:03-11:34:17.537 PN54X - Posting Fresh Write message.....
2023:03:03-11:34:17.537 PN54X - Tml Writer Thread Running................
2023:03:03-11:34:17.537 Send Success
2023:03:03-11:34:17.537 Response timer started
[ 100.103038] [dhd] [wlan0] wl_run_escan : LEGACY_SCAN sync ID: 7, bssidx: 0
2023:03:03-11:34:20.037 [ 100.142796] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 0
0
2023:03:03-11:34:20.037 phNxpNciHal_fw_dnld_get_sessn_state_cb - Request Failed, State:255, pInfo: 0x90003f48
2023:03:03-11:34:20.037 phDnldNfc_GetSessionState cb failed
2023:03:03-11:34:20.037 phNxpNciHal_fw_seq_handler : FAILED
2023:03:0[ 100.170182] Inside nfc_dev_ioctl: cmd = 4008e901 arg = 1
3-11:34:20.037 phNxpNciHal_fw_dnld_complete: Download Status = 0xff
2023:03:03-11:34:20.038 Fw Download Failed!!
2023:03:03-11:34:20.038 NfccReset, VEN eType 0
2023:03:03-11:34:20.065 NfccReset, VEN eType 1
2023:03:03-11:34:20.182 free library SUCCESS !!
2023:03:03-11:34:20.182 Freeing Mem for Dnld Context..
2023:03:03-11:34:20.182 Retrying: FW download
2023:03:03-11:34:20.182 Pavankn ChipType: 9, fw_maj_ver: 80, romVersion: 18
2023:03:03-11:34:20.182 Chip Version Middleware Version mismatch!!!!
2023:03:03-11:34:20.184 PN54X - Write request NOT enabled
^C[ 108.124521] i2c_read: err wakeup of wq