如何破解别人的串口协议?

2020-01-19 19:36发布

最近帮别人修理测体前曲的设备,测量部分的主板我不打算要了,自己再从新做一个。问题是它的主机是好的,想问如何破解掉主机和测量板之间的通信协议下面附图 IMG_20141113_212248.jpg (1.09 MB, 下载次数: 1) 下载附件 这是测量用的数据线 2014-11-13 21:28 上传
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
66条回答
gallle
2020-01-22 07:50
本帖最后由 gallle 于 2014-11-14 09:10 编辑

以下是我破解的一个大概流程!仅供参考!
  1. 2013-8-30 10:43:37.95 [COM1] - 00 F8 F8 3F E0 00 00 3F 00 3F 00 00 00 00 80 00 00 00 80 00 00 00 F8 F8 F8 3F 00 00 F0
  2. 2013-8-30 10:43:38.07 [COM7] - 80 00 3F 00 3F 3F 78 80 78 3F 78 3F 80 80 3F 00 00 3F 78 3F F8 3F 00 80 3F 78 00 3F 3F 00 00 3F F8 80 00 3F 78 3F 80
复制代码这个是错误的例子



  1. 2013-8-30 10:44:19.53 [COM1] - 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  2. 2013-8-30 10:44:19.65 [COM7] - 3F 00 00 3F 3F 00 00 3F 00 3F 00 00 3F 00 3F 00 3F 00 00 3F 00 3F 00 3F 00 3F 00 00 3F 00 00 3F 00 3F 00 00 3F 3F 00 00 3F 00 3F 3F 00 3F 00 00 3F 00 3F 00 00 3F
复制代码还是错误的



  1. 2013-8-30 10:44:32.89 [COM1] - 00 80 80 80 00 00 00 80 80 00 00 00 00 00 00 00 00 00 80 80 80 80 00
  2. 2013-8-30 10:44:33.01 [COM7] - 3F 00 00 3F 00 3F 80 00 3F 00 80 3F 00 80 80 00 3F 00 00 3F 3F 00 80 80 80 00 3F 00 3F 80 00 3F 80 00 3F 00 3F 00 3F 80 80 00 3F 00 3F 00 3F 80 80 00 3F
复制代码错误的
连续以上三个,我发现应该是奇偶校验错误了,


  1. 2013-8-30 10:44:57.04 [COM1] - 68 3F A0 00 02 3F 00 00 00 EF 0B
  2. 2013-8-30 10:44:57.15 [COM7] - 3F 1E 3F 00 3F 99 00 3F 25 30 3F 35 3F 0A 3F 00 3F 00 3F 80 3F 33 CD
复制代码接近成功的 改正校验位



  1. 2013-8-30 11:00:25.32 [COM1] - 68 00 90 00 02 00 00 00 00 92 0B
  2. 2013-8-30 11:00:25.42 [COM7] - 1E 00 99 00 25 30 35 00 00 00 00 B9 CD
复制代码ok的 调整波特率



  1. 2013-8-30 11:00:38.64 [COM1] - 00 E0 E0 00 00 00 E0 00 00 00 00 00 00 00 00 00 00 E0 E0 00
  2. 2013-8-30 11:00:38.78 [COM7] - 00 3F 3F 00 00 3F E0 00 3F 00 E0 3F 00 3F E0 E0 3F 00 00 3F 00 3F 00 3F E0 E0 E0 00 3F 00 3F 3F 00 3F 00 00 3F E0 3F 00 E0 E0 E0 00 3F
复制代码再改变波特率和校验位,又错了


一周热门 更多>