你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

ST21NFCD 移植在android7.1.2出错

[复制链接]
Hold_on 提问时间:2022-4-2 19:34 / 已解决

(1)

行 21: 01-01 00:15:16.346 321 321 D STFlashTool: Welcome to STFlashTool for ST21NFCD/ST54F/ST54H (version 0x513)

行 21: 01-01 00:15:16.346 321 321 D STFlashTool: Welcome to STFlashTool for ST21NFCD/ST54F/ST54H (version 0x513) 行 22: 01-01 00:15:16.590 321 321 D STFlashTool: -> STFlashTool integrates patch NFC FW version 0x01036394 (generic) 行 22: 01-01 00:15:16.590 321 321 D STFlashTool: -> STFlashTool integrates patch NFC FW version 0x01036394 (generic) 行 23: 01-01 00:15:16.593 321 321 D STFlashTool: -> STFlashTool integrates back-up Loader version 0x020004, 0x020301 行 23: 01-01 00:15:16.593 321 321 D STFlashTool: -> STFlashTool integrates back-up Loader version 0x020004, 0x020301 行 24: 01-01 00:15:16.593 321 321 D STFlashTool: 行 28: 01-01 00:15:16.723 321 321 D STFlashTool: -> CLF in Loader Mode 行 29: 01-01 00:15:16.724 321 321 D STFlashTool: Loader version currently installed is 0x020200 (Authentication key ID is 2) 行 30: 01-01 00:15:16.724 321 321 D STFlashTool: == Starting Router Firmware (NFC) Update 行 31: 01-01 00:15:16.724 321 321 D STFlashTool: Send APDU_GET_ATR_CMD... 行 36: 01-01 00:15:16.733 321 321 D STFlashTool: Send APDU_AUTHENTICATION_CMD... 行 37: 01-01 00:15:16.737 321 321 D STFlashTool: Bad response on APDU command received (terminates by 69 82) 行 38: 01-01 00:15:16.737 321 321 D STFlashTool: Authentication failed. 行 39: 01-01 00:15:16.737 321 321 D STFlashTool: -> Check APDU_AUTHENTICATION_CMD value that depends on ST21NFCD profile. 行 163: 01-01 00:15:17.041 321 321 D STFlashTool: !!!!!!!! ERROR DURING FW UPDATE PROCEDURE (TRY 1) !!!!!!!! 行 164: 01-01 00:15:17.041 321 321 D STFlashTool: == Starting Router Firmware (NFC) Update 行 165: 01-01 00:15:17.041 321 321 D STFlashTool: Send APDU_GET_ATR_CMD... 行 166: 01-01 00:15:17.140 321 321 D STFlashTool: Send APDU_AUTHENTICATION_CMD... 行 167: 01-01 00:15:17.210 321 321 D STFlashTool: Bad response on APDU command received (terminates by 69 82) 行 168: 01-01 00:15:17.211 321 321 D STFlashTool: Authentication failed.

2)

NfcNciHal: nfc_set_state 0 (NONE)->1 (W4_HAL_OPEN)

NfcAdaptation: NfcAdaptation::HalOpen NfcService: Watchdog triggered, aborting. StNfcJni: stNfcManager_doAbort: abort() DEBUG : pid: 1589, tid: 2265, name: enableInternal >>> com.android.nfc DEBUG : #05 pc 00016609 /system/lib/libnfc_st_jni.so ServiceManager: service 'nfc.st_ext' died ServiceManager: service 'nfc' died Explanation Here the hardware connection and the driver integration are correct, as some data trace appears (**NfcHalCore: RX DATA**). However, the ST21NFCD is still in bootloader mode, and cannot be started with the NFC stack. To solve this issue, STFlashTool has to be integrated and launched during boot phase. Note: To allow manual tests with STFlashTool instead of automatic launch during boot phase, NFC service activation has to be canceled. One solution is to remove the file system/etc/permissions/android.hardware.nfc.xml **in the target**

在移植好kernel层之后,移植HAL以及framework层,出现了如上文提到的2个报错,并参考上文的解决方法,并没有能解决该问题。

想咨询一下,是否是STFlashTool升级导致失败的呢,是否能提供最新的升级STFlashTool来更新呢。

如果有解决方法,请及时联系我,急求帮忙支持。感谢。

我的联系:QQ:3603301805

image.png
收藏 评论2 发布时间:2022-4-2 19:34

举报

2个回答
ST25-NFC 最优答案 回答时间:2022-4-6 10:39:09

ST21或ST54属于手机平台NFC芯片。请联系ST当地代理商或ST sales找SMD部门支持。我们team支持ST25系列NFC芯片。谢谢提问!

Hold_on 回答时间:2022-4-6 14:26:59

ST25-NFC 发表于 2022-4-6 10:39
ST21或ST54属于手机平台NFC芯片。请联系ST当地代理商或ST sales找SMD部门支持。我们team支持ST25系列NF ...

我司在广州白云区这边的,可以提供ST这边的代理商联系方式吗,或者提供ST sales的SMD部门支持的链接,我这边在ST官网并没有找到这个技术支持的入口

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版