AnsweredAssumed Answered

lcrc663 读取身份证UID失败

Question asked by 臣柱 宣 on Jan 15, 2018
Latest reply on Jan 21, 2018 by Kan_Li

我用贵公司的lcrc663读取UID,发送REQB 0x05 0x00 0x00后

却收到了

[ 364.072169] fifo buf[0] = 50
[ 364.075174] fifo buf[1] = 00
[ 364.078118] fifo buf[2] = 00
[ 364.081060] fifo buf[3] = 00
[ 364.084024] fifo buf[4] = 00
[ 364.087021] fifo buf[5] = D1
[ 364.089962] fifo buf[6] = 03
[ 364.092914] fifo buf[7] = 00
[ 364.095857] fifo buf[8] = 81
[ 364.098853] fifo buf[9] = 00
[ 364.101807] fifo buf[10] = 70
[ 364.104836] fifo buf[11] = 90
[ 364.107866] fifo buf[12] = 84

13个byte的应答,但是标准的应答应该是12个byte(不包含crc byte)的

我的寄存器配置如下

[ 168.213867] lcrc663-get addr= 0x00 ,value =0x40
[ 168.218589] lcrc663-get addr= 0x01 ,value =0x40
[ 168.223268] lcrc663-get addr= 0x02 ,value =0xA0
[ 168.227927] lcrc663-get addr= 0x03 ,value =0x1F
[ 168.232657] lcrc663-get addr= 0x04 ,value =0x00
[ 168.237317] lcrc663-get addr= 0x05 ,value =0x04
[ 168.242044] lcrc663-get addr= 0x06 ,value =0x30
[ 168.246699] lcrc663-get addr= 0x07 ,value =0x00
[ 168.251354] lcrc663-get addr= 0x08 ,value =0x07
[ 168.256088] lcrc663-get addr= 0x09 ,value =0x7F
[ 168.260745] lcrc663-get addr= 0x0A ,value =0x00
[ 168.265426] lcrc663-get addr= 0x0B ,value =0x00
[ 168.270083] lcrc663-get addr= 0x0C ,value =0x80
[ 168.274766] lcrc663-get addr= 0x0D ,value =0x00
[ 168.279482] lcrc663-get addr= 0x0E ,value =0x00
[ 168.284155] lcrc663-get addr= 0x0F ,value =0x00
[ 168.288813] lcrc663-get addr= 0x10 ,value =0x00
[ 168.293560] lcrc663-get addr= 0x11 ,value =0x80
[ 168.298215] lcrc663-get addr= 0x12 ,value =0x00
[ 168.302950] lcrc663-get addr= 0x13 ,value =0x00
[ 168.307612] lcrc663-get addr= 0x14 ,value =0x00
[ 168.312363] lcrc663-get addr= 0x15 ,value =0x00
[ 168.317079] lcrc663-get addr= 0x16 ,value =0x80
[ 168.321740] lcrc663-get addr= 0x17 ,value =0x08
[ 168.326469] lcrc663-get addr= 0x18 ,value =0xC0
[ 168.331126] lcrc663-get addr= 0x19 ,value =0x00
[ 168.335805] lcrc663-get addr= 0x1A ,value =0x00
[ 168.340517] lcrc663-get addr= 0x1B ,value =0x80
[ 168.345192] lcrc663-get addr= 0x1C ,value =0x00
[ 168.349908] lcrc663-get addr= 0x1D ,value =0xC0
[ 168.354579] lcrc663-get addr= 0x1E ,value =0x00
[ 168.359241] lcrc663-get addr= 0x1F ,value =0x00
[ 168.363962] lcrc663-get addr= 0x20 ,value =0x80
[ 168.368618] lcrc663-get addr= 0x21 ,value =0x00
[ 168.373348] lcrc663-get addr= 0x22 ,value =0x22
[ 168.378009] lcrc663-get addr= 0x23 ,value =0x00
[ 168.382682] lcrc663-get addr= 0x24 ,value =0x00
[ 168.387398] lcrc663-get addr= 0x25 ,value =0x80
[ 168.392070] lcrc663-get addr= 0x26 ,value =0x06
[ 168.396785] lcrc663-get addr= 0x27 ,value =0x4E
[ 168.401446] lcrc663-get addr= 0x28 ,value =0x8F
[ 168.406115] lcrc663-get addr= 0x29 ,value =0x0E
[ 168.410825] lcrc663-get addr= 0x2A ,value =0x09
[ 168.415501] lcrc663-get addr= 0x2B ,value =0x0A
[ 168.420215] lcrc663-get addr= 0x2C ,value =0x7B
[ 168.424889] lcrc663-get addr= 0x2D ,value =0x7B
[ 168.429551] lcrc663-get addr= 0x2E ,value =0x08
[ 168.434277] lcrc663-get addr= 0x2F ,value =0x00
[ 168.438937] lcrc663-get addr= 0x30 ,value =0x00
[ 168.443659] lcrc663-get addr= 0x31 ,value =0x01
[ 168.448313] lcrc663-get addr= 0x32 ,value =0x00
[ 168.452988] lcrc663-get addr= 0x33 ,value =0x05
[ 168.457698] lcrc663-get addr= 0x34 ,value =0x00
[ 168.462368] lcrc663-get addr= 0x35 ,value =0x84
[ 168.467076] lcrc663-get addr= 0x36 ,value =0x90
[ 168.471731] lcrc663-get addr= 0x37 ,value =0x6F
[ 168.476427] lcrc663-get addr= 0x38 ,value =0x12
[ 168.481143] lcrc663-get addr= 0x39 ,value =0x03
[ 168.485811] lcrc663-get addr= 0x3A ,value =0x00
[ 168.490521] lcrc663-get addr= 0x3B ,value =0x7A
[ 168.495199] lcrc663-get addr= 0x3C ,value =0x60
[ 168.499861] lcrc663-get addr= 0x3D ,value =0x04
[ 168.504590] lcrc663-get addr= 0x3E ,value =0x20
[ 168.509252] lcrc663-get addr= 0x3F ,value =0x48
[ 168.513977] lcrc663-get addr= 0x40 ,value =0x12
[ 168.518638] lcrc663-get addr= 0x41 ,value =0x88
[ 168.523317] lcrc663-get addr= 0x42 ,value =0x00
[ 168.528033] lcrc663-get addr= 0x43 ,value =0x00
[ 168.532707] lcrc663-get addr= 0x44 ,value =0x00
[ 168.537415] lcrc663-get addr= 0x45 ,value =0x00
[ 168.542107] lcrc663-get addr= 0x46 ,value =0x2E
[ 168.546768] lcrc663-get addr= 0x47 ,value =0x00
[ 168.551481] lcrc663-get addr= 0x48 ,value =0x09
[ 168.556154] lcrc663-get addr= 0x49 ,value =0x00
[ 168.560868] lcrc663-get addr= 0x4A ,value =0x04
[ 168.565535] lcrc663-get addr= 0x4B ,value =0x08
[ 168.570191] lcrc663-get addr= 0x4C ,value =0x04
[ 168.574920] lcrc663-get addr= 0x4D ,value =0x00
[ 168.579583] lcrc663-get addr= 0x4E ,value =0x03
[ 168.584310] lcrc663-get addr= 0x4F ,value =0x00
[ 168.588971] lcrc663-get addr= 0x50 ,value =0x01
[ 168.593644] lcrc663-get addr= 0x51 ,value =0x00
[ 168.598359] lcrc663-get addr= 0x52 ,value =0x00
[ 168.603028] lcrc663-get addr= 0x53 ,value =0xAB
[ 168.607738] lcrc663-get addr= 0x54 ,value =0x00
[ 168.612417] lcrc663-get addr= 0x55 ,value =0x00
[ 168.617077] lcrc663-get addr= 0x56 ,value =0x08
[ 168.621805] lcrc663-get addr= 0x57 ,value =0x00
[ 168.626467] lcrc663-get addr= 0x58 ,value =0x04
[ 168.631182] lcrc663-get addr= 0x59 ,value =0x00
[ 168.635856] lcrc663-get addr= 0x5A ,value =0x00
[ 168.640517] lcrc663-get addr= 0x5B ,value =0x00
[ 168.645240] lcrc663-get addr= 0x5C ,value =0x02
[ 168.649895] lcrc663-get addr= 0x5D ,value =0x0D
[ 168.654624] lcrc663-get addr= 0x5E ,value =0x80

 

请问有什么问题么?谢谢

Outcomes