ST意法半导体
直播中

杜茂仁

7年用户 230经验值
私信 关注
[问答]

CR95HF和14443B标记问题该怎么解决?

你好NFC支持,

我们得到8700:帧等待时间或没有标记
当使用CR95HF将APDU命令0xA4发送到14443B标记时
可能的原因是什么以及如何解决?
非常感谢先进
#cr95hf-14443b-reqb-attrib#cr95hf-iso14443b

回帖(8)

刘峰

2019-8-7 09:07:07
你好凯文,
 
 能否提供更多信息:
 您正在使用的标签,在发送ADPU命令之前访问标签的初始化序列。标签是否回答REQB?
 谢谢
举报

杜茂仁

2019-8-7 09:26:23
你好NFC支持,
 
1标签使用:
 MN63Y1213
 
2.在发送ADPU命令之前访问标记的初始化序列:
>>> CR95HFDLL_ECHO
<<< 5500
>>> CR95HFDLL_STCMD,01 090468010710
<<< 0000
>>> CR95HFDLL_STCMD,01 090468010700
<<< 0000
>>> CR95HFDLL_SELECT,03010180
<<< 0000
>>> CR95HFDLL_STCMD,01 090468010130
<<< 0000
>>> CR95HFDLL_SENDRECV,050000
<<< 800F5000000000000000009181E0D98300
>>> CR95HFDLL_SENDRECV,1D0000000000080100
<<< 800410F9E000
>>> CR95HFDLL_SENDRECV,00A4000C020103
<<< 8700:帧等待超时或无标记
 
 
是的,标记回答REQB,
响应是800F5000000000000000009181E0D98300
它也回答了ATTRIB。
 
谢谢
 
>>> CR95HFDLL_ECHO<<< 5500>>> CR95HFDLL_STCMD,01 090468010710<<< 0000 GT;>> CR95HFDLL_STCMD,01 090468010700<<< 0000 GT;>> CR95HFDLL_SELECT,03010180<<< 0000 GT;>> CR95HFDLL_STCMD,01 090468010130<<< 0000 GT;>> CR95HFDLL_SENDRECV,050000<<< 800F5000000000000000009181E0D98300>>> CR95HFDLL_SENDRECV,1D0000000000080100<<< 800410F9E000>>> CR95HFDLL_SENDRECV,00A4000C020103<<< 8700:帧等待超时或无标记
>>> CR95HFDLL_ECHO<<< 5500>>> CR95HFDLL_STCMD,01 090468010710<<< 0000 GT;>> CR95HFDLL_STCMD,01 090468010700<<< 0000 GT;>> CR95HFDLL_SELECT,03010180<<< 0000 GT;>> CR95HFDLL_STCMD,01 090468010130<<< 0000 GT;>> CR95HFDLL_SENDRECV,050000<<< 800F5000000000000000009181E0D98300>>> CR95HFDLL_SENDRECV,1D0000000000080100<<< 800410F9E000>>> CR95HFDLL_SENDRECV,00A4000C020103<<< 8700:帧等待超时或无标记
举报

刘峰

2019-8-7 09:34:21
你好凯文,
 
你的init序列是正确的。
问题从你发送到标签的最后一个请求开始。
目的我想在ISO 14443B中发送一个adpu命令来选择标签的CC文件
这意味着您要发送i_block,其描述如下:
i-block = PCD(DID)CLA INS P1 P2 LC数据Le(CRC)支架中可选
在你发送给你的命令中,忘记了每个adpu命令之后转换的PCD(以02到03为例)。
正确的命令可能是:
CR95HFDLL_SENDRECEIVE,0300A4000C02E103
和下一个命令:
CR95HFDLL_SENDRECEIVE,0200A4000C02E103
在选择CC以使用以下命令执行NDEF标记应用程序选择之前,我建议:
CR95HFDLL_SENDRECEIVE,0200A4040007D276000085010100
 
这个序列应该有效。
CR95HF配置:ISO14443-B协议
 >>> CR95HFDLL_SELECT,03010180
 <<< 0000
ISO14443-B:增加DEMOD GAIN
 >>> CR95HFDLL_STCmd,01090468010130
 <<< 0000
REQB / SENSB_REQ
 >>> CR95HFDLL_SENDRECEIVE,050000
 <<< 800F50AABBCCDD30ABAB010081E1AE0000
ATTRIB
 >>> CR95HFDLL_SENDRECEIVE,1DAABBCCDD00040100
 <<< 8004207AD100
NFC SEND I-Block Tag应用程序选择
 >>> CR95HFDLL_SENDRECEIVE,0200A4040007D276000085010100
 <<< 8006029000296A00
 NFC SEND I-Block Capacity容器选择
 >>> CR95HFDLL_SENDRECEIVE,0300A4000C02E103
 <<< 8006039000F53000
 NFC发送I-Block读取CC长度
 >>> CR95HFDLL_SENDRECEIVE,0200B0000002
 <<< 800802000F9000658A00
NFC SEND I-Block读取二进制CC
 >>> CR95HFDLL_SENDRECEIVE,0300B000000F
 <<< 801503000F2000FF00FF040600011002000090003DED00欢迎提出您的反馈意见
谢谢&问候
>>> CR95HFDLL_ECHO<<< 5500>>> CR95HFDLL_STCMD,01 090468010710<<< 0000 GT;>> CR95HFDLL_STCMD,01 090468010700<<< 0000 GT;>> CR95HFDLL_SELECT,03010180<<< 0000 GT;>> CR95HFDLL_STCMD,01 090468010130<<< 0000 GT;>> CR95HFDLL_SENDRECV,050000<<< 800F5000000000000000009181E0D98300>>> CR95HFDLL_SENDRECV,1D0000000000080100<<< 800410F9E000>>> CR95HFDLL_SENDRECV,00A4000C020103<<< 8700:帧等待超时或无标记
举报

杜茂仁

2019-8-7 09:45:20
您好,NFC支持,
 
我们先于
 '00 A4 00 0C 02 01 03''''03''
它回答选择命令(A4),非常感谢
 
目前,我们得到了:''!''
 
 
问题是如何发送数据长度为190字节的APDU命令D6?
1.在'00 D6 ......'之前我们应该选择哪个值(03?,02?或04?...)
2.使用dll命令是否存在数据包大小限制?
 
错误日志如下:
 
>>> CR95HFDLL_ECHO
<<< 5500
>>> CR95HFDLL_STCMD,01 090468010710
<<< 0000
>>> CR95HFDLL_STCMD,01 090468010700
<<< 0000
>>> CR95HFDLL_SELECT,03010180
<<< 0000
>>> CR95HFDLL_STCMD,01 090468010130
<<< 0000
>>> CR95HFDLL_SENDRECV,0000
<<< 800F5000000000000000009181E0D98300
>>> CR95HFDLL_SENDRECV,0000000000080100
<<< 800410F9E000
>>> CR95HFDLL_SENDRECV,00000C020103
<<< 8006029000296A00
>>> CR95HFDLL_SENDRECV,00401000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 !脚本错误:数据不符合dll命令!
 
 
谢谢&问候,
举报

更多回帖

发帖
×
20
完善资料,
赚取积分