Project

General

Profile

BCM4751protocol » History » Version 1

Jens Korte, 01/15/2018 09:59 AM
This page contains data copied from [[BCM4751]] using tables

1 1 Jens Korte
h1. BCM4751protocol
2
3
This page contains data copied from [[BCM4751]].
4
5
h2. Post protocol switching - receiving
6
7
|_. Byte |_. content   |    |    |    |
8
|  1 | length 1        | fe | fe | fe |
9
|  2 | length 2        | 00 | 00 | 00 |
10
|  3 |                 | fd | fd | fd |
11
|  4 |                 | 40 | 0f | 0f |
12
|  5 |                 | 00 | ff | ff |
13
|  6 |_. sequence nr.  | 00 | 07 | 08 |
14
|  7 |                 | F1 | 06 | 06 | 
15
|  8 |                 | B1 | 06 | 06 | 
16
|  9 |                 | 12 | 00 | 00 |
17
| 10 |                 | 20 | 01 | 01 |
18
| 11 | checksum        | 67 | 54 | 1c |
19
| 12 | end marker      | fc | fc | fc |
20
21
22
h2. Post protocol switching - sending
23
24
|_. Byte |_. content   |    |
25
|  1 | length 1        | fe |
26
|  2 | length 2        | 00 |
27
|  3 |                 | fd |
28
|  4 |                 | 6f |
29
|  5 |                 | 3a |
30
|  6 |_. sequence nr.  | 01 |
31
|  7 |                 | 00 |
32
|  8 |                 | 00 |
33
|  9 |                 | 00 |
34
| 10 |                 | 00 |
35
| 11 | checksum        | 34 |
36
| 12 | end marker      | fc |
37
38
39
h3. more details about the bytes
40
41
* Byte 1-2 of 12: length
42
quite many bit/bytes for length, are there more details hidden?
43
<pre>
44
fe00 = 12bytes
45
fe01 = 16bytes
46
fe02 = 20bytes
47
fe03 = 24bytes
48
fe04 = 28bytes
49
fe05 = 32bytes
50
fe06 = 36bytes
51
fe07 = 40bytes
52
ff00 =  8bytes
53
</pre>
54
* Byte 6 of 12 seems to be a sequence number, if I do it right after booting the chip it starts with 01
55
* Byte 11 of 12: checksum 
56
* Byte 12 of 12: end marker contains fc
57
58
59
h3. sequence 0 receiving
60
61
<pre>
62
Ready to switch protocol!
63
Sending unknown bytes!
64
Read 12 bytes:
65
[0000]   FE 00 FD 40 00 00 F1 B1   12 20 67 FC               ........ ..g.
66
</pre>
67
68
h3. sequence 7,8 receiving, sending unknown string seq 01
69
70
<pre>
71
Sending this string:
72
"\xfe\x00\xfd\x6f\x3a\x01\x00\x00\x00\x00\x34\xfc"
73
many times makes some other string appear on the serial port, sequence 7,8.
74
</pre>