177
社区成员
发帖
与我相关
我的任务
分享<info> app: sync nack and retry remain 100 ret=-1
<info> app: sync nack and retry remain 99 ret=-1
<info> app: sync nack and retry remain 98 ret=-1
<info> app: sync nack and retry remain 97 ret=-1
<info> app: sync nack and retry remain 96 ret=-1
<info> app: sync nack and retry remain 95 ret=-1
<info> app: sync nack and retry remain 94 ret=-1
<info> app: sync nack and retry remain 93 ret=-1
<info> app: sync nack and retry remain 92 ret=-1
<info> app: sync nack and retry remain 91 ret=-1
<info> app: sync nack and retry remain 90 ret=-1
<info> app: sync nack and retry remain 89 ret=-1
<info> app: sync nack and retry remain 88 ret=-1
<info> app: sync nack and retry remain 87 ret=-1
<info> app: sync nack and retry remain 86 ret=-1
<info> app: sync ack received
<info> app: sync 85 ret 0
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto to sync
<info> app: sync ack received
<info> app: sync 100 ret 0
<info> app: goto send download start command
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: fw download start end, ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 1024
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: goto download data size 272
<info> app: wait fwdl ack size 14
<info> app: received ack magic
<info> app: fwdl transfer end ret = 0
<info> app: sensor_download ret 0
<info> app: firmware download success
<info> app: sync nack and retry remain 100
<info> app: sync ack received
<info> app: sync 99 ret 0
<info> app: hif msg send:
<info> app:
hif msg send ret = 0
<info> app: checksum AFFBF8ED + 50040712
<info> app: rx hif msg:
<info> app: A5 ED 12 07 04 50 00 00|.....P..
<info> app: 00 00 ED F8 FB AF |......
<info> app: motion detect stop success
<info> app: sync ack received
<info> app: sync 100 ret 0
<info> app: sensor_load_config
<info> app: section_en[0] [0x00]
<info> app: output_en [0] [0x00]
<info> app: det_mode [0] [0x00]
<info> app: section_en[1] [0x00]
<info> app: output_en [1] [0x00]
<info> app: det_mode [1] [0x00]
<info> app: section_en[2] [0x00]
<info> app: output_en [2] [0x00]
<info> app: det_mode [2] [0x00]
<info> app: tlv_dump:
<info> app: size:227
<info> app:
<info> app: 0x11
<info> app: 0x01
<info> app: 0x01
<info> app: 0x12
<info> app: 0x01
<info> app: 0x00
<info> app: 0x13
<info> app: 0x01
<info> app:
<info> app: 0x00
<info> app: 0x14
<info> app: 0x02
<info> app: 0xF4
<info> app: 0x01
<info> app: 0x15
<info> app: 0x01
<info> app: 0x01
<info> app:
<info> app: 0x16
<info> app: 0x02
<info> app: 0x14
<info> app: 0x00
<info> app: 0x18
<info> app: 0x01
<info> app: 0x00
<info> app: 0x19
<info> app:
<info> app: 0x01
<info> app: 0x03
<info> app: 0x20
<info> app: 0x01
<info> app: 0x00
<info> app: 0x21
<info> app: 0x01
<info> app: 0x01
<info> app:
<info> app: 0x22
<info> app: 0x01
<info> app: 0x01
<info> app: 0x23
<info> app: 0x01
<info> app: 0x00
<info> app: 0x24
<info> app: 0x02
<info> app:
<info> app: 0xAC
<info> app: 0x0D
<info> app: 0x25
<info> app: 0x02
<info> app: 0xFA
<info> app: 0x00
<info> app: 0x26
<info> app: 0x02
<info> app:
<info> app: 0x08
<info> app: 0x00
<info> app: 0x28
<info> app: 0x01
<info> app: 0x01
<info> app: 0x40
<info> app: 0x01
<info> app: 0x00
<info> app:
<info> app: 0x41
<info> app: 0x02
<info> app: 0xE0
<info> app: 0x00
<info> app: 0x42
<info> app: 0x02
<info> app: 0xC0
<info> app: 0xF9
<info> app:
<info> app: 0x43
<info> app: 0x01
<info> app: 0x20
<info> app: 0x44
<info> app: 0x01
<info> app: 0x09
<info> app: 0x45
<info> app: 0x01
<info> app:
<info> app: 0x00
<info> app: 0x30
<info> app: 0x01
<info> app: 0x00
<info> app: 0x31
<info> app: 0x01
<info> app: 0x01
<info> app: 0x32
<info> app:
<info> app: 0x01
<info> app: 0x30
<info> app: 0x33
<info> app: 0x01
<info> app: 0x00
<info> app: 0x34
<info> app: 0x02
<info> app: 0x14
<info> app:
<info> app: 0x00
<info> app: 0x35
<info> app: 0x01
<info> app: 0x00
<info> app: 0x36
<info> app: 0x01
<info> app: 0x05
<info> app: 0x37
<info> app:
<info> app: 0x01
<info> app: 0x00
<info> app: 0x38
<info> app: 0x01
<info> app: 0x01
<info> app: 0x20
<info> app: 0x01
<info> app: 0x01
<info> app:
<info> app: 0x21
<info> app: 0x01
<info> app: 0x01
<info> app: 0x22
<info> app: 0x01
<info> app: 0xFF
<info> app: 0x23
<info> app: 0x01
<info> app:
<info> app: 0x01
<info> app: 0x24
<info> app: 0x02
<info> app: 0xE8
<info> app: 0x03
<info> app: 0x25
<info> app: 0x02
<info> app: 0xFA
<info> app:
<info> app: 0x00
<info> app: 0x26
<info> app: 0x02
<info> app: 0x08
<info> app: 0x00
<info> app: 0x28
<info> app: 0x01
<info> app: 0x04
<info> app:
<info> app: 0x50
<info> app: 0x01
<info> app: 0x00
<info> app: 0x51
<info> app: 0x01
<info> app: 0x08
<info> app: 0x52
<info> app: 0x02
<info> app:
<info> app: 0xE0
<info> app: 0x04
<info> app: 0x53
<info> app: 0x02
<info> app: 0x90
<info> app: 0x00
<info> app: 0x54
<info> app: 0x02
<info> app:
<info> app: 0x00
<info> app: 0xFE
<info> app: 0x55
<info> app: 0x01
<info> app: 0x01
<info> app: 0x56
<info> app: 0x02
<info> app: 0x90
<info> app:
<info> app: 0x01
<info> app: 0x57
<info> app: 0x01
<info> app: 0x02
<info> app: 0x58
<info> app: 0x01
<info> app: 0x03
<info> app: 0x5A
<info> app:
<info> app: 0x01
<info> app: 0x06
<info> app: 0x30
<info> app: 0x01
<info> app: 0x01
<info> app: 0x31
<info> app: 0x01
<info> app: 0x01
<info> app:
<info> app: 0x32
<info> app: 0x01
<info> app: 0x20
<info> app: 0x33
<info> app: 0x01
<info> app: 0x00
<info> app: 0x34
<info> app: 0x02
<info> app:
<info> app: 0x14
<info> app: 0x00
<info> app: 0x35
<info> app: 0x01
<info> app: 0x00
<info> app: 0x36
<info> app: 0x01
<info> app: 0x0A
<info> app:
<info> app: 0x37
<info> app: 0x01
<info> app: 0x00
<info> app: 0x38
<info> app: 0x01
<info> app: 0x01
<info> app: 0x20
<info> app: 0x01
<info> app:
<info> app: 0x02
<info> app: 0x21
<info> app: 0x01
<info> app: 0x00
<info> app: 0x30
<info> app: 0x01
<info> app: 0x02
<info> app: 0x31
<info> app:
<info> app: 0x01
<info> app: 0x00
<info> app: 0x20
<info> app: 0x01
<info> app: 0x03
<info> app: 0x21
<info> app: 0x01
<info> app: 0x00
<info> app:
<info> app: 0x30
<info> app: 0x01
<info> app: 0x03
<info> app: 0x31
<info> app: 0x01
<info> app: 0x00
<info> app: 0xFF
<info> app: 0x01
<info> app:
<info> app: 0x03
<info> app: 0xFE
<info> app: 0x01
<info> app: 0x08
<info> app: 0xA2
<info> app: 0x05
<info> app: 0x03
<info> app: 0x00
<info> app:
<info> app: 0x00
<info> app: 0x00
<info> app: 0x00
<info> app:
<info> app: hif msg send:
<info> app:
hif msg send ret = 0
<info> app: checksum 8DFA9EED + 60046012
<info> app: rx hif msg:
<info> app: A5 84 12 60 04 60 00 01|...`.`..
<info> app: 01 12 ED 9E FA 8D |......
<info> app: hif msg send:
<info> app:
hif msg send ret = 0
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: hif read magic error
<info> app: rx hif msg:
<info> app: FF 84 12 60 04 60 |...`.`
<info> app: sensor msg err
<info> app: start sensor radar err ret -1
<info> app: sensor radar start motion detect fail -1
<info> app: sensor start fail ret -1
您好,从您的log得到的初步信息为,uart通信,带主动上报,当固件默认配置写入后主控uart接受数据不及预期,可以分析出问题点可能为为:
1、从错误log固定为“FF 84 12 60 04 60”,先用逻辑分析仪看数据究竟有没有送给主控,没有的话看下载的固件和型号是否匹配,有数据送上来看送上来的数据和uart适配的接口实际读的数据是否一致。
2、从log“ app: 0x11 app: 0x01 app: 0x01 ”可以确认主控下发了主动上报配置后,数据就不及预期了,出现该问题常见为主控实时性不够,来不及接收数据导致丢包甚至驱动挂死,用逻辑分析仪看线路现场可以看到有大量数据送到主控rx。
解决方案:
1、如果是问题1,更换与传感器匹配的固件,如果手动转出来的固件,确认主控存的固件与原始固件数据是否一致;驱动要是读不出数据使用逻辑分析仪配合处理处理问题
2、如果是问题2,可以根据<MRS2xx_毫米波传感器Demo_指导手册>,重新打包一个不带主动上报的固件。在功耗的角度看,主动上报功能仅用在工具评估,如果一定要保留主动上报功能,提高主控实时性直到配合逻辑分析仪看到线路数据与主控rx的数据完全匹配
一些建议:
1、最新的<MRS2xx 毫米波雷达传感器_主控开发手册>,里面有详细的配置分析指导,以及适配时出现的问题处理方法,后续有问题请先看文档Q&A章节