1 |
8 |
M_artin |
**********************************
|
2 |
|
|
* *
|
3 |
|
|
* Test USB FS SLAVE *
|
4 |
|
|
* Init according to Win 7 driver *
|
5 |
|
|
* *
|
6 |
|
|
**********************************
|
7 |
|
|
508.343 ns USB lines at SE0 for 283.339 ns
|
8 |
|
|
Test_No 1
|
9 |
|
|
6025.12 ns USB Reset detected for 5083.435 ns
|
10 |
|
|
7358.48 ns Send SOF-Token: Frame No 0x55D, CRC5 0x12
|
11 |
|
|
10441.875 ns Send SOF-Token: Frame No 0x55E, CRC5 0x1A
|
12 |
|
|
13525.27 ns Send SOF-Token: Frame No 0x55F, CRC5 0x05
|
13 |
|
|
16692 ns Send Setup: Address 0x00, Endpoint 0x0, CRC5 0x02
|
14 |
|
|
19775.395 ns Send Data0 0x80 0x06 0x00 0x01 0x00 0x00 0x40 0x00 0xDD 0x94
|
15 |
|
|
28542.237 ns Recv ACK
|
16 |
|
|
30442.275 ns Send IN-Token: Address 0x00, Endpoint 0x0, CRC5 0x02
|
17 |
|
|
33875.677 ns Recv Data1 0x12 0x01 0x10 0x01 0x02 0x00 0x00 0x40 0x9A 0xFB 0x9A 0xFB 0x20 0x00 0x00 0x00
|
18 |
|
|
45209.237 ns ..... 0x00 0x01 0xB4 0x2C
|
19 |
|
|
49109.315 ns Send ACK
|
20 |
|
|
50859.35 ns Send OUT-Token: Address 0x00, Endpoint 0x0, CRC5 0x02
|
21 |
|
|
53942.745 ns Send Data1 0x00 0x00
|
22 |
|
|
57376.147 ns Recv ACK
|
23 |
|
|
Test_No 2
|
24 |
|
|
63026.26 ns USB Reset detected for 5083.435 ns
|
25 |
|
|
64359.62 ns Send Setup: Address 0x00, Endpoint 0x0, CRC5 0x02
|
26 |
|
|
67443.015 ns Send Data0 0x00 0x05 0x02 0x00 0x00 0x00 0x00 0x00 0xEB 0x16
|
27 |
|
|
76209.857 ns Recv ACK
|
28 |
|
|
78109.895 ns Send IN-Token: Address 0x00, Endpoint 0x0, CRC5 0x02
|
29 |
|
|
81543.297 ns Recv Data1 0x00 0x00
|
30 |
|
|
84776.695 ns Send ACK
|
31 |
|
|
Test_No 3
|
32 |
|
|
86526.73 ns Send Setup: Address 0x02, Endpoint 0x0, CRC5 0x15
|
33 |
|
|
89610.125 ns Send Data0 0x80 0x06 0x00 0x01 0x00 0x00 0x12 0x00 0xE0 0xF4
|
34 |
|
|
98376.967 ns Recv ACK
|
35 |
|
|
100277.005 ns Send IN-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
36 |
|
|
103710.407 ns Recv Data1 0x12 0x01 0x10 0x01 0x02 0x00 0x00 0x40 0x9A 0xFB 0x9A 0xFB 0x20 0x00 0x00 0x00
|
37 |
|
|
115043.967 ns ..... 0x00 0x01 0xB4 0x2C
|
38 |
|
|
118944.045 ns Send ACK
|
39 |
|
|
120694.08 ns Send OUT-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
40 |
|
|
123777.475 ns Send Data1 0x00 0x00
|
41 |
|
|
127210.877 ns Recv ACK
|
42 |
|
|
Test_No 4
|
43 |
|
|
129110.915 ns Send Setup: Address 0x02, Endpoint 0x0, CRC5 0x15
|
44 |
|
|
132194.31 ns Send Data0 0x80 0x06 0x00 0x02 0x00 0x00 0xFF 0x00 0xE9 0xA4
|
45 |
|
|
141044.487 ns Recv ACK
|
46 |
|
|
142944.525 ns Send IN-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
47 |
|
|
146377.927 ns Recv Data1 0x09 0x02 0x43 0x00 0x02 0x01 0x00 0x80 0xFA 0x09 0x04 0x00 0x00 0x01 0x02 0x02
|
48 |
|
|
157794.822 ns ..... 0x01 0x00 0x05 0x24 0x00 0x10 0x01 0x04 0x24 0x02 0x00 0x05 0x24 0x06 0x00 0x01
|
49 |
|
|
168461.702 ns ..... 0x05 0x24 0x01 0x00 0x01 0x07 0x05 0x82 0x03 0x08 0x00 0xFF 0x09 0x04 0x01 0x00
|
50 |
|
|
179211.917 ns ..... 0x02 0x0A 0x00 0x00 0x00 0x07 0x05 0x81 0x02 0x40 0x00 0x00 0x07 0x05 0x01 0x02
|
51 |
|
|
189878.797 ns ..... 0x38 0x89
|
52 |
|
|
192445.515 ns Send ACK
|
53 |
|
|
194195.55 ns Send IN-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
54 |
|
|
197628.952 ns Recv Data0 0x40 0x00 0x00 0x8F 0xEB
|
55 |
|
|
202862.39 ns Send ACK
|
56 |
|
|
204612.425 ns Send OUT-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
57 |
|
|
207695.82 ns Send Data1 0x00 0x00
|
58 |
|
|
211129.222 ns Recv ACK
|
59 |
|
|
Test_No 5
|
60 |
|
|
213029.26 ns Send Setup: Address 0x02, Endpoint 0x0, CRC5 0x15
|
61 |
|
|
216112.655 ns Send Data0 0x80 0x06 0x00 0x01 0x00 0x00 0x12 0x00 0xE0 0xF4
|
62 |
|
|
224879.497 ns Recv ACK
|
63 |
|
|
226779.535 ns Send IN-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
64 |
|
|
230212.937 ns Recv Data1 0x12 0x01 0x10 0x01 0x02 0x00 0x00 0x40 0x9A 0xFB 0x9A 0xFB 0x20 0x00 0x00 0x00
|
65 |
|
|
241546.497 ns ..... 0x00 0x01 0xB4 0x2C
|
66 |
|
|
245446.575 ns Send ACK
|
67 |
|
|
247196.61 ns Send OUT-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
68 |
|
|
250280.005 ns Send Data1 0x00 0x00
|
69 |
|
|
253713.407 ns Recv ACK
|
70 |
|
|
Test_No 6
|
71 |
|
|
255613.445 ns Send Setup: Address 0x02, Endpoint 0x0, CRC5 0x15
|
72 |
|
|
258696.84 ns Send Data0 0x80 0x06 0x00 0x02 0x00 0x00 0x09 0x01 0x6F 0xC4
|
73 |
|
|
267463.682 ns Recv ACK
|
74 |
|
|
269363.72 ns Send IN-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
75 |
|
|
272797.122 ns Recv Data1 0x09 0x02 0x43 0x00 0x02 0x01 0x00 0x80 0xFA 0x09 0x04 0x00 0x00 0x01 0x02 0x02
|
76 |
|
|
284214.017 ns ..... 0x01 0x00 0x05 0x24 0x00 0x10 0x01 0x04 0x24 0x02 0x00 0x05 0x24 0x06 0x00 0x01
|
77 |
|
|
294880.897 ns ..... 0x05 0x24 0x01 0x00 0x01 0x07 0x05 0x82 0x03 0x08 0x00 0xFF 0x09 0x04 0x01 0x00
|
78 |
|
|
305631.112 ns ..... 0x02 0x0A 0x00 0x00 0x00 0x07 0x05 0x81 0x02 0x40 0x00 0x00 0x07 0x05 0x01 0x02
|
79 |
|
|
316297.992 ns ..... 0x38 0x89
|
80 |
|
|
318864.71 ns Send ACK
|
81 |
|
|
320614.745 ns Send IN-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
82 |
|
|
324048.147 ns Recv Data0 0x40 0x00 0x00 0x8F 0xEB
|
83 |
|
|
329281.585 ns Send ACK
|
84 |
|
|
331031.62 ns Send OUT-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
85 |
|
|
334115.015 ns Send Data1 0x00 0x00
|
86 |
|
|
337548.417 ns Recv ACK
|
87 |
|
|
Test_No 7
|
88 |
|
|
339448.455 ns Send Setup: Address 0x02, Endpoint 0x0, CRC5 0x15
|
89 |
|
|
342531.85 ns Send Data0 0x00 0x09 0x01 0x00 0x00 0x00 0x00 0x00 0x27 0x25
|
90 |
|
|
351298.692 ns Recv ACK
|
91 |
|
|
353198.73 ns Send IN-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
92 |
|
|
356632.132 ns Recv Data1 0x00 0x00
|
93 |
|
|
359865.53 ns Send ACK
|
94 |
|
|
Test_No 8
|
95 |
|
|
361615.565 ns Send Setup: Address 0x02, Endpoint 0x0, CRC5 0x15
|
96 |
|
|
364698.96 ns Send Data0 0xA1 0x21 0x00 0x00 0x00 0x00 0x07 0x00 0x47 0x72
|
97 |
|
|
373465.802 ns Recv ACK
|
98 |
|
|
375365.84 ns Send IN-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
99 |
|
|
378799.242 ns Recv Data1 0x00 0x00
|
100 |
|
|
382032.64 ns Send ACK
|
101 |
|
|
383782.675 ns Send OUT-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
102 |
|
|
386866.07 ns Send Data1 0x00 0x00
|
103 |
|
|
390299.472 ns Recv ACK
|
104 |
|
|
Test_No 9
|
105 |
|
|
392199.51 ns Send Setup: Address 0x02, Endpoint 0x0, CRC5 0x15
|
106 |
|
|
395282.905 ns Send Data0 0x21 0x22 0x00 0x00 0x00 0x00 0x00 0x00 0x7E 0x22
|
107 |
|
|
404133.082 ns Recv ACK
|
108 |
|
|
406033.12 ns Send IN-Token: Address 0x02, Endpoint 0x0, CRC5 0x15
|
109 |
|
|
409466.522 ns Recv Data1 0x00 0x00
|
110 |
|
|
412699.92 ns Send ACK
|
111 |
|
|
write and read 3x 64 bytes to - from engine 1
|
112 |
|
|
Test_No 10
|
113 |
|
|
414449.955 ns Send OUT-Token: Address 0x02, Endpoint 0x1, CRC5 0x03
|
114 |
|
|
417533.35 ns Send Data0 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F
|
115 |
|
|
428866.91 ns ..... 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x1F
|
116 |
|
|
439533.79 ns ..... 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2A 0x2B 0x2C 0x2D 0x2E 0x2F
|
117 |
|
|
450200.67 ns ..... 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3A 0x3B 0x3C 0x3D 0x3E 0x3F
|
118 |
|
|
460950.885 ns ..... 0x26 0xF7
|
119 |
|
|
463700.94 ns Recv ACK
|
120 |
|
|
465617.645 ns Send OUT-Token: Address 0x02, Endpoint 0x1, CRC5 0x03
|
121 |
|
|
468701.04 ns Send Data1 0x40 0x41 0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4A 0x4B 0x4C 0x4D 0x4E 0x4F
|
122 |
|
|
480034.6 ns ..... 0x50 0x51 0x52 0x53 0x54 0x55 0x56 0x57 0x58 0x59 0x5A 0x5B 0x5C 0x5D 0x5E 0x5F
|
123 |
|
|
490701.48 ns ..... 0x60 0x61 0x62 0x63 0x64 0x65 0x66 0x67 0x68 0x69 0x6A 0x6B 0x6C 0x6D 0x6E 0x6F
|
124 |
|
|
501368.36 ns ..... 0x70 0x71 0x72 0x73 0x74 0x75 0x76 0x77 0x78 0x79 0x7A 0x7B 0x7C 0x7D 0x7E 0x7F
|
125 |
|
|
512201.91 ns ..... 0x9B 0xBA
|
126 |
|
|
514951.965 ns Recv ACK
|
127 |
|
|
516868.67 ns Send OUT-Token: Address 0x02, Endpoint 0x1, CRC5 0x03
|
128 |
|
|
519952.065 ns Send Data0 0x80 0x81 0x82 0x83 0x84 0x85 0x86 0x87 0x88 0x89 0x8A 0x8B 0x8C 0x8D 0x8E 0x8F
|
129 |
|
|
531268.958 ns ..... 0x90 0x91 0x92 0x93 0x94 0x95 0x96 0x97 0x98 0x99 0x9A 0x9B 0x9C 0x9D 0x9E 0x9F
|
130 |
|
|
542019.173 ns ..... 0xA0 0xA1 0xA2 0xA3 0xA4 0xA5 0xA6 0xA7 0xA8 0xA9 0xAA 0xAB 0xAC 0xAD 0xAE 0xAF
|
131 |
|
|
552686.053 ns ..... 0xB0 0xB1 0xB2 0xB3 0xB4 0xB5 0xB6 0xB7 0xB8 0xB9 0xBA 0xBB 0xBC 0xBD 0xBE 0xBF
|
132 |
|
|
563436.268 ns ..... 0x5C 0x6C
|
133 |
|
|
566202.99 ns Recv ACK
|
134 |
|
|
Test_No 11
|
135 |
|
|
read 1st 64 bytes
|
136 |
|
|
568103.028 ns Send IN-Token: Address 0x02, Endpoint 0x1, CRC5 0x03
|
137 |
|
|
571536.43 ns Recv Data0 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xA0 0xB0 0xC0 0xD0 0xE0 0xF0
|
138 |
|
|
582869.99 ns ..... 0x01 0x11 0x21 0x31 0x41 0x51 0x61 0x71 0x81 0x91 0xA1 0xB1 0xC1 0xD1 0xE1 0xF1
|
139 |
|
|
593536.87 ns ..... 0x02 0x12 0x22 0x32 0x42 0x52 0x62 0x72 0x82 0x92 0xA2 0xB2 0xC2 0xD2 0xE2 0xF2
|
140 |
|
|
604287.085 ns ..... 0x03 0x13 0x23 0x33 0x43 0x53 0x63 0x73 0x83 0x93 0xA3 0xB3 0xC3 0xD3 0xE3 0xF3
|
141 |
|
|
614953.965 ns ..... 0x86 0xE0
|
142 |
|
|
617520.683 ns Send ACK
|
143 |
|
|
read 2nd 64 bytes
|
144 |
|
|
619270.718 ns Send IN-Token: Address 0x02, Endpoint 0x1, CRC5 0x03
|
145 |
|
|
622704.12 ns Recv Data1 0x04 0x14 0x24 0x34 0x44 0x54 0x64 0x74 0x84 0x94 0xA4 0xB4 0xC4 0xD4 0xE4 0xF4
|
146 |
|
|
634037.68 ns ..... 0x05 0x15 0x25 0x35 0x45 0x55 0x65 0x75 0x85 0x95 0xA5 0xB5 0xC5 0xD5 0xE5 0xF5
|
147 |
|
|
644704.56 ns ..... 0x06 0x16 0x26 0x36 0x46 0x56 0x66 0x76 0x86 0x96 0xA6 0xB6 0xC6 0xD6 0xE6 0xF6
|
148 |
|
|
655454.775 ns ..... 0x07 0x17 0x27 0x37 0x47 0x57 0x67 0x77 0x87 0x97 0xA7 0xB7 0xC7 0xD7 0xE7 0xF7
|
149 |
|
|
666204.99 ns ..... 0x5C 0x78
|
150 |
|
|
668771.708 ns Send ACK
|
151 |
|
|
670521.743 ns Send IN-Token: Address 0x02, Endpoint 0x1, CRC5 0x03
|
152 |
|
|
673955.145 ns Recv Data0 0x08 0x18 0x28 0x38 0x48 0x58 0x68 0x78 0x88 0x98 0xA8 0xB8 0xC8 0xD8 0xE8 0xF8
|
153 |
|
|
685372.04 ns ..... 0x09 0x19 0x29 0x39 0x49 0x59 0x69 0x79 0x89 0x99 0xA9 0xB9 0xC9 0xD9 0xE9 0xF9
|
154 |
|
|
696038.92 ns ..... 0x0A 0x1A 0x2A 0x3A 0x4A 0x5A 0x6A 0x7A 0x8A 0x9A 0xAA 0xBA 0xCA 0xDA 0xEA 0xFA
|
155 |
|
|
706789.135 ns ..... 0x0B 0x1B 0x2B 0x3B 0x4B 0x5B 0x6B 0x7B 0x8B 0x9B 0xAB 0xBB 0xCB 0xDB 0xEB 0xFB
|
156 |
|
|
717539.35 ns ..... 0x31 0x91
|
157 |
|
|
720106.068 ns Send ACK
|
158 |
|
|
write and read 1x 64 bytes to - from engine 1
|
159 |
|
|
Test_No 32
|
160 |
|
|
721856.103 ns Send OUT-Token: Address 0x02, Endpoint 0x1, CRC5 0x03
|
161 |
|
|
724939.498 ns Send Data1 0xC0 0xC1 0xC2 0xC3 0xC4 0xC5 0xC6 0xC7 0xC8 0xC9 0xCA 0xCB 0xCC 0xCD 0xCE 0xCF
|
162 |
|
|
736356.393 ns ..... 0xD0 0xD1 0xD2 0xD3 0xD4 0xD5 0xD6 0xD7 0xD8 0xD9 0xDA 0xDB 0xDC 0xDD 0xDE 0xDF
|
163 |
|
|
747106.608 ns ..... 0xE0 0xE1 0xE2 0xE3 0xE4 0xE5 0xE6 0xE7 0xE8 0xE9 0xEA 0xEB 0xEC 0xED 0xEE 0xEF
|
164 |
|
|
757940.158 ns ..... 0xF0 0xF1 0xF2 0xF3 0xF4 0xF5 0xF6 0xF7 0xF8 0xF9 0xFA 0xFB 0xFC 0xFD 0xFE 0xFF
|
165 |
|
|
769273.718 ns ..... 0xE1 0x21
|
166 |
|
|
772040.44 ns Recv ACK
|
167 |
|
|
Test_No 13
|
168 |
|
|
773940.478 ns Send IN-Token: Address 0x02, Endpoint 0x1, CRC5 0x03
|
169 |
|
|
777373.88 ns Recv Data1 0x0C 0x1C 0x2C 0x3C 0x4C 0x5C 0x6C 0x7C 0x8C 0x9C 0xAC 0xBC 0xCC 0xDC 0xEC 0xFC
|
170 |
|
|
788790.775 ns ..... 0x0D 0x1D 0x2D 0x3D 0x4D 0x5D 0x6D 0x7D 0x8D 0x9D 0xAD 0xBD 0xCD 0xDD 0xED 0xFD
|
171 |
|
|
799540.99 ns ..... 0x0E 0x1E 0x2E 0x3E 0x4E 0x5E 0x6E 0x7E 0x8E 0x9E 0xAE 0xBE 0xCE 0xDE 0xEE 0xFE
|
172 |
|
|
810374.54 ns ..... 0x0F 0x1F 0x2F 0x3F 0x4F 0x5F 0x6F 0x7F 0x8F 0x9F 0xAF 0xBF 0xCF 0xDF 0xEF 0xFF
|
173 |
|
|
821708.1 ns ..... 0xEB 0x09
|
174 |
|
|
824274.818 ns Send ACK
|
175 |
|
|
Test_No 14
|
176 |
|
|
test for more data - nothing
|
177 |
|
|
826024.853 ns Send IN-Token: Address 0x02, Endpoint 0x1, CRC5 0x03
|
178 |
|
|
829458.255 ns Recv Data0 0x00 0x00
|
179 |
|
|
832691.653 ns Send ACK
|