From: Uwe Hermann Date: Thu, 13 Aug 2015 18:49:21 +0000 (+0200) Subject: usb_packet: Add a USB full-speed test-case. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=289a627f65cab78aa1e1a6c3e92c980d87010d11;p=sigrok-test.git usb_packet: Add a USB full-speed test-case. --- diff --git a/decoder/test/usb_packet/olimex_stm32-h103_usb_hid.output b/decoder/test/usb_packet/olimex_stm32-h103_usb_hid.output new file mode 100644 index 0000000..bfa115d --- /dev/null +++ b/decoder/test/usb_packet/olimex_stm32-h103_usb_hid.output @@ -0,0 +1,466 @@ +94334-94400 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +94400-94467 usb_packet: pid: "PID: SOF" "SOF" "S" +94467-94558 usb_packet: framenum: "Frame: 1128" "Frame" "Fr" "F" +94559-94600 usb_packet: crc5-ok: "CRC5: 0x02" "CRC5" "C" +94334-94625 usb_packet: packet-sof: "SOF 1128" +194336-194402 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +194402-194469 usb_packet: pid: "PID: SOF" "SOF" "S" +194469-194560 usb_packet: framenum: "Frame: 1129" "Frame" "Fr" "F" +194561-194602 usb_packet: crc5-ok: "CRC5: 0x1D" "CRC5" "C" +194336-194627 usb_packet: packet-sof: "SOF 1129" +294339-294405 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +294405-294472 usb_packet: pid: "PID: SOF" "SOF" "S" +294472-294563 usb_packet: framenum: "Frame: 1130" "Frame" "Fr" "F" +294564-294605 usb_packet: crc5-ok: "CRC5: 0x15" "CRC5" "C" +294339-294630 usb_packet: packet-sof: "SOF 1130" +394341-394407 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +394407-394474 usb_packet: pid: "PID: SOF" "SOF" "S" +394474-394565 usb_packet: framenum: "Frame: 1131" "Frame" "Fr" "F" +394566-394607 usb_packet: crc5-ok: "CRC5: 0x0A" "CRC5" "C" +394341-394632 usb_packet: packet-sof: "SOF 1131" +494344-494410 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +494410-494477 usb_packet: pid: "PID: SOF" "SOF" "S" +494477-494568 usb_packet: framenum: "Frame: 1132" "Frame" "Fr" "F" +494569-494610 usb_packet: crc5-ok: "CRC5: 0x05" "CRC5" "C" +494344-494635 usb_packet: packet-sof: "SOF 1132" +594346-594412 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +594412-594479 usb_packet: pid: "PID: SOF" "SOF" "S" +594479-594570 usb_packet: framenum: "Frame: 1133" "Frame" "Fr" "F" +594571-594612 usb_packet: crc5-ok: "CRC5: 0x1A" "CRC5" "C" +594346-594637 usb_packet: packet-sof: "SOF 1133" +694348-694414 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +694414-694481 usb_packet: pid: "PID: SOF" "SOF" "S" +694481-694572 usb_packet: framenum: "Frame: 1134" "Frame" "Fr" "F" +694573-694614 usb_packet: crc5-ok: "CRC5: 0x12" "CRC5" "C" +694348-694639 usb_packet: packet-sof: "SOF 1134" +794350-794416 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +794416-794483 usb_packet: pid: "PID: SOF" "SOF" "S" +794483-794574 usb_packet: framenum: "Frame: 1135" "Frame" "Fr" "F" +794575-794616 usb_packet: crc5-ok: "CRC5: 0x0D" "CRC5" "C" +794350-794641 usb_packet: packet-sof: "SOF 1135" +894353-894419 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +894419-894486 usb_packet: pid: "PID: SOF" "SOF" "S" +894486-894577 usb_packet: framenum: "Frame: 1136" "Frame" "Fr" "F" +894578-894619 usb_packet: crc5-ok: "CRC5: 0x10" "CRC5" "C" +894353-894644 usb_packet: packet-sof: "SOF 1136" +894686-894752 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +894752-894819 usb_packet: pid: "PID: IN" "IN" "I" +894819-894877 usb_packet: addr: "Address: 2" "Addr: 2" "Addr" "A" +894877-894910 usb_packet: ep: "Endpoint: 1" "EP: 1" "EP" "E" +894911-894952 usb_packet: crc5-ok: "CRC5: 0x03" "CRC5" "C" +894686-894977 usb_packet: packet-in: "IN ADDR 2 EP 1" +895002-895068 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +895068-895135 usb_packet: pid: "PID: DATA0" "DATA0" "D" +895135-895201 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +895202-895268 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +895268-895335 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +895335-895401 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +895402-895535 usb_packet: crc16-ok: "CRC16: 0x1BAE" "CRC16" "C" +895002-895560 usb_packet: packet-data0: "DATA0 [ 00 00 00 00 ]" +895586-895652 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +895652-895719 usb_packet: pid: "PID: ACK" "ACK" "A" +895586-895744 usb_packet: packet-ack: "ACK" +994355-994421 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +994421-994488 usb_packet: pid: "PID: SOF" "SOF" "S" +994488-994579 usb_packet: framenum: "Frame: 1137" "Frame" "Fr" "F" +994580-994621 usb_packet: crc5-ok: "CRC5: 0x0F" "CRC5" "C" +994355-994646 usb_packet: packet-sof: "SOF 1137" +1094357-1094423 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +1094423-1094490 usb_packet: pid: "PID: SOF" "SOF" "S" +1094490-1094581 usb_packet: framenum: "Frame: 1138" "Frame" "Fr" "F" +1094582-1094623 usb_packet: crc5-ok: "CRC5: 0x07" "CRC5" "C" +1094357-1094648 usb_packet: packet-sof: "SOF 1138" +1194360-1194426 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +1194426-1194493 usb_packet: pid: "PID: SOF" "SOF" "S" +1194493-1194584 usb_packet: framenum: "Frame: 1139" "Frame" "Fr" "F" +1194585-1194626 usb_packet: crc5-ok: "CRC5: 0x18" "CRC5" "C" +1194360-1194651 usb_packet: packet-sof: "SOF 1139" +1294362-1294428 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +1294428-1294495 usb_packet: pid: "PID: SOF" "SOF" "S" +1294495-1294586 usb_packet: framenum: "Frame: 1140" "Frame" "Fr" "F" +1294587-1294628 usb_packet: crc5-ok: "CRC5: 0x17" "CRC5" "C" +1294362-1294653 usb_packet: packet-sof: "SOF 1140" +1394364-1394430 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +1394430-1394497 usb_packet: pid: "PID: SOF" "SOF" "S" +1394497-1394588 usb_packet: framenum: "Frame: 1141" "Frame" "Fr" "F" +1394589-1394630 usb_packet: crc5-ok: "CRC5: 0x08" "CRC5" "C" +1394364-1394655 usb_packet: packet-sof: "SOF 1141" +1494367-1494433 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +1494433-1494500 usb_packet: pid: "PID: SOF" "SOF" "S" +1494500-1494591 usb_packet: framenum: "Frame: 1142" "Frame" "Fr" "F" +1494592-1494633 usb_packet: crc5-ok: "CRC5: 0x00" "CRC5" "C" +1494367-1494658 usb_packet: packet-sof: "SOF 1142" +1594369-1594435 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +1594435-1594502 usb_packet: pid: "PID: SOF" "SOF" "S" +1594502-1594593 usb_packet: framenum: "Frame: 1143" "Frame" "Fr" "F" +1594594-1594635 usb_packet: crc5-ok: "CRC5: 0x1F" "CRC5" "C" +1594369-1594668 usb_packet: packet-sof: "SOF 1143" +1694371-1694437 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +1694437-1694504 usb_packet: pid: "PID: SOF" "SOF" "S" +1694504-1694595 usb_packet: framenum: "Frame: 1144" "Frame" "Fr" "F" +1694596-1694637 usb_packet: crc5-ok: "CRC5: 0x1E" "CRC5" "C" +1694371-1694662 usb_packet: packet-sof: "SOF 1144" +1794374-1794440 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +1794440-1794507 usb_packet: pid: "PID: SOF" "SOF" "S" +1794507-1794598 usb_packet: framenum: "Frame: 1145" "Frame" "Fr" "F" +1794599-1794640 usb_packet: crc5-ok: "CRC5: 0x01" "CRC5" "C" +1794374-1794665 usb_packet: packet-sof: "SOF 1145" +1894376-1894442 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +1894442-1894509 usb_packet: pid: "PID: SOF" "SOF" "S" +1894509-1894600 usb_packet: framenum: "Frame: 1146" "Frame" "Fr" "F" +1894601-1894642 usb_packet: crc5-ok: "CRC5: 0x09" "CRC5" "C" +1894376-1894667 usb_packet: packet-sof: "SOF 1146" +1994378-1994444 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +1994444-1994511 usb_packet: pid: "PID: SOF" "SOF" "S" +1994511-1994602 usb_packet: framenum: "Frame: 1147" "Frame" "Fr" "F" +1994603-1994644 usb_packet: crc5-ok: "CRC5: 0x16" "CRC5" "C" +1994378-1994669 usb_packet: packet-sof: "SOF 1147" +2094381-2094447 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +2094447-2094514 usb_packet: pid: "PID: SOF" "SOF" "S" +2094514-2094605 usb_packet: framenum: "Frame: 1148" "Frame" "Fr" "F" +2094606-2094647 usb_packet: crc5-ok: "CRC5: 0x19" "CRC5" "C" +2094381-2094672 usb_packet: packet-sof: "SOF 1148" +2194383-2194449 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +2194449-2194516 usb_packet: pid: "PID: SOF" "SOF" "S" +2194516-2194607 usb_packet: framenum: "Frame: 1149" "Frame" "Fr" "F" +2194608-2194649 usb_packet: crc5-ok: "CRC5: 0x06" "CRC5" "C" +2194383-2194674 usb_packet: packet-sof: "SOF 1149" +2294385-2294451 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +2294451-2294518 usb_packet: pid: "PID: SOF" "SOF" "S" +2294518-2294618 usb_packet: framenum: "Frame: 1150" "Frame" "Fr" "F" +2294618-2294659 usb_packet: crc5-ok: "CRC5: 0x0E" "CRC5" "C" +2294385-2294684 usb_packet: packet-sof: "SOF 1150" +2394388-2394454 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +2394454-2394521 usb_packet: pid: "PID: SOF" "SOF" "S" +2394521-2394621 usb_packet: framenum: "Frame: 1151" "Frame" "Fr" "F" +2394621-2394662 usb_packet: crc5-ok: "CRC5: 0x11" "CRC5" "C" +2394388-2394687 usb_packet: packet-sof: "SOF 1151" +2494390-2494456 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +2494456-2494523 usb_packet: pid: "PID: SOF" "SOF" "S" +2494523-2494614 usb_packet: framenum: "Frame: 1152" "Frame" "Fr" "F" +2494615-2494656 usb_packet: crc5-ok: "CRC5: 0x00" "CRC5" "C" +2494390-2494681 usb_packet: packet-sof: "SOF 1152" +2594392-2594458 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +2594458-2594525 usb_packet: pid: "PID: SOF" "SOF" "S" +2594525-2594616 usb_packet: framenum: "Frame: 1153" "Frame" "Fr" "F" +2594617-2594658 usb_packet: crc5-ok: "CRC5: 0x1F" "CRC5" "C" +2594392-2594691 usb_packet: packet-sof: "SOF 1153" +2694395-2694461 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +2694461-2694528 usb_packet: pid: "PID: SOF" "SOF" "S" +2694528-2694619 usb_packet: framenum: "Frame: 1154" "Frame" "Fr" "F" +2694620-2694661 usb_packet: crc5-ok: "CRC5: 0x17" "CRC5" "C" +2694395-2694686 usb_packet: packet-sof: "SOF 1154" +2794397-2794463 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +2794463-2794530 usb_packet: pid: "PID: SOF" "SOF" "S" +2794530-2794621 usb_packet: framenum: "Frame: 1155" "Frame" "Fr" "F" +2794622-2794663 usb_packet: crc5-ok: "CRC5: 0x08" "CRC5" "C" +2794397-2794688 usb_packet: packet-sof: "SOF 1155" +2894399-2894465 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +2894465-2894532 usb_packet: pid: "PID: SOF" "SOF" "S" +2894532-2894623 usb_packet: framenum: "Frame: 1156" "Frame" "Fr" "F" +2894624-2894665 usb_packet: crc5-ok: "CRC5: 0x07" "CRC5" "C" +2894399-2894690 usb_packet: packet-sof: "SOF 1156" +2994402-2994468 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +2994468-2994535 usb_packet: pid: "PID: SOF" "SOF" "S" +2994535-2994626 usb_packet: framenum: "Frame: 1157" "Frame" "Fr" "F" +2994627-2994668 usb_packet: crc5-ok: "CRC5: 0x18" "CRC5" "C" +2994402-2994693 usb_packet: packet-sof: "SOF 1157" +3094404-3094470 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +3094470-3094537 usb_packet: pid: "PID: SOF" "SOF" "S" +3094537-3094628 usb_packet: framenum: "Frame: 1158" "Frame" "Fr" "F" +3094629-3094670 usb_packet: crc5-ok: "CRC5: 0x10" "CRC5" "C" +3094404-3094695 usb_packet: packet-sof: "SOF 1158" +3194406-3194472 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +3194472-3194539 usb_packet: pid: "PID: SOF" "SOF" "S" +3194539-3194630 usb_packet: framenum: "Frame: 1159" "Frame" "Fr" "F" +3194631-3194672 usb_packet: crc5-ok: "CRC5: 0x0F" "CRC5" "C" +3194406-3194697 usb_packet: packet-sof: "SOF 1159" +3294409-3294475 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +3294475-3294542 usb_packet: pid: "PID: SOF" "SOF" "S" +3294542-3294633 usb_packet: framenum: "Frame: 1160" "Frame" "Fr" "F" +3294634-3294675 usb_packet: crc5-ok: "CRC5: 0x0E" "CRC5" "C" +3294409-3294700 usb_packet: packet-sof: "SOF 1160" +3394411-3394477 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +3394477-3394544 usb_packet: pid: "PID: SOF" "SOF" "S" +3394544-3394635 usb_packet: framenum: "Frame: 1161" "Frame" "Fr" "F" +3394636-3394677 usb_packet: crc5-ok: "CRC5: 0x11" "CRC5" "C" +3394411-3394702 usb_packet: packet-sof: "SOF 1161" +3494413-3494479 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +3494479-3494546 usb_packet: pid: "PID: SOF" "SOF" "S" +3494546-3494637 usb_packet: framenum: "Frame: 1162" "Frame" "Fr" "F" +3494638-3494679 usb_packet: crc5-ok: "CRC5: 0x19" "CRC5" "C" +3494413-3494704 usb_packet: packet-sof: "SOF 1162" +3594415-3594481 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +3594481-3594548 usb_packet: pid: "PID: SOF" "SOF" "S" +3594548-3594639 usb_packet: framenum: "Frame: 1163" "Frame" "Fr" "F" +3594640-3594681 usb_packet: crc5-ok: "CRC5: 0x06" "CRC5" "C" +3594415-3594706 usb_packet: packet-sof: "SOF 1163" +3694418-3694484 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +3694484-3694551 usb_packet: pid: "PID: SOF" "SOF" "S" +3694551-3694642 usb_packet: framenum: "Frame: 1164" "Frame" "Fr" "F" +3694643-3694684 usb_packet: crc5-ok: "CRC5: 0x09" "CRC5" "C" +3694418-3694709 usb_packet: packet-sof: "SOF 1164" +3794420-3794486 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +3794486-3794553 usb_packet: pid: "PID: SOF" "SOF" "S" +3794553-3794644 usb_packet: framenum: "Frame: 1165" "Frame" "Fr" "F" +3794645-3794686 usb_packet: crc5-ok: "CRC5: 0x16" "CRC5" "C" +3794420-3794711 usb_packet: packet-sof: "SOF 1165" +3894422-3894488 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +3894488-3894555 usb_packet: pid: "PID: SOF" "SOF" "S" +3894555-3894646 usb_packet: framenum: "Frame: 1166" "Frame" "Fr" "F" +3894647-3894688 usb_packet: crc5-ok: "CRC5: 0x1E" "CRC5" "C" +3894422-3894713 usb_packet: packet-sof: "SOF 1166" +3994425-3994491 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +3994491-3994558 usb_packet: pid: "PID: SOF" "SOF" "S" +3994558-3994649 usb_packet: framenum: "Frame: 1167" "Frame" "Fr" "F" +3994650-3994691 usb_packet: crc5-ok: "CRC5: 0x01" "CRC5" "C" +3994425-3994716 usb_packet: packet-sof: "SOF 1167" +4094427-4094493 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4094493-4094560 usb_packet: pid: "PID: SOF" "SOF" "S" +4094560-4094651 usb_packet: framenum: "Frame: 1168" "Frame" "Fr" "F" +4094652-4094693 usb_packet: crc5-ok: "CRC5: 0x1C" "CRC5" "C" +4094427-4094718 usb_packet: packet-sof: "SOF 1168" +4094761-4094827 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4094827-4094894 usb_packet: pid: "PID: IN" "IN" "I" +4094894-4094952 usb_packet: addr: "Address: 2" "Addr: 2" "Addr" "A" +4094952-4094985 usb_packet: ep: "Endpoint: 1" "EP: 1" "EP" "E" +4094986-4095027 usb_packet: crc5-ok: "CRC5: 0x03" "CRC5" "C" +4094761-4095052 usb_packet: packet-in: "IN ADDR 2 EP 1" +4095077-4095143 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4095143-4095210 usb_packet: pid: "PID: DATA1" "DATA1" "D" +4095210-4095276 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +4095277-4095343 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +4095343-4095410 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +4095410-4095476 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +4095477-4095610 usb_packet: crc16-ok: "CRC16: 0x1BAE" "CRC16" "C" +4095077-4095635 usb_packet: packet-data1: "DATA1 [ 00 00 00 00 ]" +4095661-4095727 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4095727-4095794 usb_packet: pid: "PID: ACK" "ACK" "A" +4095661-4095819 usb_packet: packet-ack: "ACK" +4194429-4194495 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4194495-4194562 usb_packet: pid: "PID: SOF" "SOF" "S" +4194562-4194653 usb_packet: framenum: "Frame: 1169" "Frame" "Fr" "F" +4194654-4194695 usb_packet: crc5-ok: "CRC5: 0x03" "CRC5" "C" +4194429-4194720 usb_packet: packet-sof: "SOF 1169" +4294432-4294498 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4294498-4294565 usb_packet: pid: "PID: SOF" "SOF" "S" +4294565-4294656 usb_packet: framenum: "Frame: 1170" "Frame" "Fr" "F" +4294657-4294698 usb_packet: crc5-ok: "CRC5: 0x0B" "CRC5" "C" +4294432-4294723 usb_packet: packet-sof: "SOF 1170" +4394434-4394500 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4394500-4394567 usb_packet: pid: "PID: SOF" "SOF" "S" +4394567-4394658 usb_packet: framenum: "Frame: 1171" "Frame" "Fr" "F" +4394659-4394700 usb_packet: crc5-ok: "CRC5: 0x14" "CRC5" "C" +4394434-4394725 usb_packet: packet-sof: "SOF 1171" +4494436-4494502 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4494502-4494569 usb_packet: pid: "PID: SOF" "SOF" "S" +4494569-4494660 usb_packet: framenum: "Frame: 1172" "Frame" "Fr" "F" +4494661-4494702 usb_packet: crc5-ok: "CRC5: 0x1B" "CRC5" "C" +4494436-4494727 usb_packet: packet-sof: "SOF 1172" +4594439-4594505 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4594505-4594572 usb_packet: pid: "PID: SOF" "SOF" "S" +4594572-4594663 usb_packet: framenum: "Frame: 1173" "Frame" "Fr" "F" +4594664-4594705 usb_packet: crc5-ok: "CRC5: 0x04" "CRC5" "C" +4594439-4594730 usb_packet: packet-sof: "SOF 1173" +4694441-4694507 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4694507-4694574 usb_packet: pid: "PID: SOF" "SOF" "S" +4694574-4694665 usb_packet: framenum: "Frame: 1174" "Frame" "Fr" "F" +4694666-4694707 usb_packet: crc5-ok: "CRC5: 0x0C" "CRC5" "C" +4694441-4694732 usb_packet: packet-sof: "SOF 1174" +4794443-4794509 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4794509-4794576 usb_packet: pid: "PID: SOF" "SOF" "S" +4794576-4794667 usb_packet: framenum: "Frame: 1175" "Frame" "Fr" "F" +4794668-4794709 usb_packet: crc5-ok: "CRC5: 0x13" "CRC5" "C" +4794443-4794734 usb_packet: packet-sof: "SOF 1175" +4894446-4894512 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4894512-4894579 usb_packet: pid: "PID: SOF" "SOF" "S" +4894579-4894670 usb_packet: framenum: "Frame: 1176" "Frame" "Fr" "F" +4894671-4894712 usb_packet: crc5-ok: "CRC5: 0x12" "CRC5" "C" +4894446-4894737 usb_packet: packet-sof: "SOF 1176" +4994448-4994514 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +4994514-4994581 usb_packet: pid: "PID: SOF" "SOF" "S" +4994581-4994672 usb_packet: framenum: "Frame: 1177" "Frame" "Fr" "F" +4994673-4994714 usb_packet: crc5-ok: "CRC5: 0x0D" "CRC5" "C" +4994448-4994739 usb_packet: packet-sof: "SOF 1177" +5094450-5094516 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +5094516-5094583 usb_packet: pid: "PID: SOF" "SOF" "S" +5094583-5094674 usb_packet: framenum: "Frame: 1178" "Frame" "Fr" "F" +5094675-5094716 usb_packet: crc5-ok: "CRC5: 0x05" "CRC5" "C" +5094450-5094741 usb_packet: packet-sof: "SOF 1178" +5194453-5194519 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +5194519-5194586 usb_packet: pid: "PID: SOF" "SOF" "S" +5194586-5194677 usb_packet: framenum: "Frame: 1179" "Frame" "Fr" "F" +5194678-5194719 usb_packet: crc5-ok: "CRC5: 0x1A" "CRC5" "C" +5194453-5194744 usb_packet: packet-sof: "SOF 1179" +5294455-5294521 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +5294521-5294588 usb_packet: pid: "PID: SOF" "SOF" "S" +5294588-5294679 usb_packet: framenum: "Frame: 1180" "Frame" "Fr" "F" +5294680-5294721 usb_packet: crc5-ok: "CRC5: 0x15" "CRC5" "C" +5294455-5294746 usb_packet: packet-sof: "SOF 1180" +5394457-5394523 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +5394523-5394590 usb_packet: pid: "PID: SOF" "SOF" "S" +5394590-5394681 usb_packet: framenum: "Frame: 1181" "Frame" "Fr" "F" +5394682-5394723 usb_packet: crc5-ok: "CRC5: 0x0A" "CRC5" "C" +5394457-5394748 usb_packet: packet-sof: "SOF 1181" +5494460-5494526 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +5494526-5494593 usb_packet: pid: "PID: SOF" "SOF" "S" +5494593-5494684 usb_packet: framenum: "Frame: 1182" "Frame" "Fr" "F" +5494685-5494726 usb_packet: crc5-ok: "CRC5: 0x02" "CRC5" "C" +5494460-5494751 usb_packet: packet-sof: "SOF 1182" +5594462-5594528 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +5594528-5594595 usb_packet: pid: "PID: SOF" "SOF" "S" +5594595-5594695 usb_packet: framenum: "Frame: 1183" "Frame" "Fr" "F" +5594695-5594736 usb_packet: crc5-ok: "CRC5: 0x1D" "CRC5" "C" +5594462-5594761 usb_packet: packet-sof: "SOF 1183" +5694464-5694530 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +5694530-5694597 usb_packet: pid: "PID: SOF" "SOF" "S" +5694597-5694688 usb_packet: framenum: "Frame: 1184" "Frame" "Fr" "F" +5694689-5694730 usb_packet: crc5-ok: "CRC5: 0x11" "CRC5" "C" +5694464-5694755 usb_packet: packet-sof: "SOF 1184" +5794467-5794533 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +5794533-5794600 usb_packet: pid: "PID: SOF" "SOF" "S" +5794600-5794691 usb_packet: framenum: "Frame: 1185" "Frame" "Fr" "F" +5794692-5794733 usb_packet: crc5-ok: "CRC5: 0x0E" "CRC5" "C" +5794467-5794758 usb_packet: packet-sof: "SOF 1185" +5894469-5894535 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +5894535-5894602 usb_packet: pid: "PID: SOF" "SOF" "S" +5894602-5894693 usb_packet: framenum: "Frame: 1186" "Frame" "Fr" "F" +5894694-5894735 usb_packet: crc5-ok: "CRC5: 0x06" "CRC5" "C" +5894469-5894760 usb_packet: packet-sof: "SOF 1186" +5994471-5994537 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +5994537-5994604 usb_packet: pid: "PID: SOF" "SOF" "S" +5994604-5994695 usb_packet: framenum: "Frame: 1187" "Frame" "Fr" "F" +5994696-5994737 usb_packet: crc5-ok: "CRC5: 0x19" "CRC5" "C" +5994471-5994762 usb_packet: packet-sof: "SOF 1187" +6094474-6094540 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +6094540-6094607 usb_packet: pid: "PID: SOF" "SOF" "S" +6094607-6094698 usb_packet: framenum: "Frame: 1188" "Frame" "Fr" "F" +6094699-6094740 usb_packet: crc5-ok: "CRC5: 0x16" "CRC5" "C" +6094474-6094765 usb_packet: packet-sof: "SOF 1188" +6194476-6194542 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +6194542-6194609 usb_packet: pid: "PID: SOF" "SOF" "S" +6194609-6194700 usb_packet: framenum: "Frame: 1189" "Frame" "Fr" "F" +6194701-6194742 usb_packet: crc5-ok: "CRC5: 0x09" "CRC5" "C" +6194476-6194767 usb_packet: packet-sof: "SOF 1189" +6294478-6294544 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +6294544-6294611 usb_packet: pid: "PID: SOF" "SOF" "S" +6294611-6294702 usb_packet: framenum: "Frame: 1190" "Frame" "Fr" "F" +6294703-6294744 usb_packet: crc5-ok: "CRC5: 0x01" "CRC5" "C" +6294478-6294769 usb_packet: packet-sof: "SOF 1190" +6394481-6394547 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +6394547-6394614 usb_packet: pid: "PID: SOF" "SOF" "S" +6394614-6394705 usb_packet: framenum: "Frame: 1191" "Frame" "Fr" "F" +6394706-6394747 usb_packet: crc5-ok: "CRC5: 0x1E" "CRC5" "C" +6394481-6394772 usb_packet: packet-sof: "SOF 1191" +6494483-6494549 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +6494549-6494616 usb_packet: pid: "PID: SOF" "SOF" "S" +6494616-6494707 usb_packet: framenum: "Frame: 1192" "Frame" "Fr" "F" +6494708-6494749 usb_packet: crc5-ok: "CRC5: 0x1F" "CRC5" "C" +6494483-6494782 usb_packet: packet-sof: "SOF 1192" +6594485-6594551 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +6594551-6594618 usb_packet: pid: "PID: SOF" "SOF" "S" +6594618-6594709 usb_packet: framenum: "Frame: 1193" "Frame" "Fr" "F" +6594710-6594751 usb_packet: crc5-ok: "CRC5: 0x00" "CRC5" "C" +6594485-6594776 usb_packet: packet-sof: "SOF 1193" +6694487-6694553 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +6694553-6694620 usb_packet: pid: "PID: SOF" "SOF" "S" +6694620-6694711 usb_packet: framenum: "Frame: 1194" "Frame" "Fr" "F" +6694712-6694753 usb_packet: crc5-ok: "CRC5: 0x08" "CRC5" "C" +6694487-6694778 usb_packet: packet-sof: "SOF 1194" +6794490-6794556 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +6794556-6794623 usb_packet: pid: "PID: SOF" "SOF" "S" +6794623-6794714 usb_packet: framenum: "Frame: 1195" "Frame" "Fr" "F" +6794715-6794756 usb_packet: crc5-ok: "CRC5: 0x17" "CRC5" "C" +6794490-6794781 usb_packet: packet-sof: "SOF 1195" +6894492-6894558 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +6894558-6894625 usb_packet: pid: "PID: SOF" "SOF" "S" +6894625-6894716 usb_packet: framenum: "Frame: 1196" "Frame" "Fr" "F" +6894717-6894758 usb_packet: crc5-ok: "CRC5: 0x18" "CRC5" "C" +6894492-6894783 usb_packet: packet-sof: "SOF 1196" +6994494-6994560 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +6994560-6994627 usb_packet: pid: "PID: SOF" "SOF" "S" +6994627-6994718 usb_packet: framenum: "Frame: 1197" "Frame" "Fr" "F" +6994719-6994760 usb_packet: crc5-ok: "CRC5: 0x07" "CRC5" "C" +6994494-6994785 usb_packet: packet-sof: "SOF 1197" +7094497-7094563 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7094563-7094630 usb_packet: pid: "PID: SOF" "SOF" "S" +7094630-7094721 usb_packet: framenum: "Frame: 1198" "Frame" "Fr" "F" +7094722-7094763 usb_packet: crc5-ok: "CRC5: 0x0F" "CRC5" "C" +7094497-7094788 usb_packet: packet-sof: "SOF 1198" +7194499-7194565 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7194565-7194632 usb_packet: pid: "PID: SOF" "SOF" "S" +7194632-7194723 usb_packet: framenum: "Frame: 1199" "Frame" "Fr" "F" +7194724-7194765 usb_packet: crc5-ok: "CRC5: 0x10" "CRC5" "C" +7194499-7194790 usb_packet: packet-sof: "SOF 1199" +7294501-7294567 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7294567-7294634 usb_packet: pid: "PID: SOF" "SOF" "S" +7294634-7294725 usb_packet: framenum: "Frame: 1200" "Frame" "Fr" "F" +7294726-7294767 usb_packet: crc5-ok: "CRC5: 0x0D" "CRC5" "C" +7294501-7294792 usb_packet: packet-sof: "SOF 1200" +7294835-7294901 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7294901-7294968 usb_packet: pid: "PID: IN" "IN" "I" +7294968-7295026 usb_packet: addr: "Address: 2" "Addr: 2" "Addr" "A" +7295026-7295059 usb_packet: ep: "Endpoint: 1" "EP: 1" "EP" "E" +7295060-7295101 usb_packet: crc5-ok: "CRC5: 0x03" "CRC5" "C" +7294835-7295126 usb_packet: packet-in: "IN ADDR 2 EP 1" +7295151-7295217 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7295217-7295284 usb_packet: pid: "PID: DATA0" "DATA0" "D" +7295284-7295350 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +7295351-7295417 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +7295417-7295484 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +7295484-7295550 usb_packet: data: "Databyte: 00" "Data: 00" "DB: 00" "00" +7295551-7295684 usb_packet: crc16-ok: "CRC16: 0x1BAE" "CRC16" "C" +7295151-7295709 usb_packet: packet-data0: "DATA0 [ 00 00 00 00 ]" +7295735-7295801 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7295801-7295868 usb_packet: pid: "PID: ACK" "ACK" "A" +7295735-7295893 usb_packet: packet-ack: "ACK" +7394504-7394570 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7394570-7394637 usb_packet: pid: "PID: SOF" "SOF" "S" +7394637-7394728 usb_packet: framenum: "Frame: 1201" "Frame" "Fr" "F" +7394729-7394770 usb_packet: crc5-ok: "CRC5: 0x12" "CRC5" "C" +7394504-7394795 usb_packet: packet-sof: "SOF 1201" +7494506-7494572 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7494572-7494639 usb_packet: pid: "PID: SOF" "SOF" "S" +7494639-7494730 usb_packet: framenum: "Frame: 1202" "Frame" "Fr" "F" +7494731-7494772 usb_packet: crc5-ok: "CRC5: 0x1A" "CRC5" "C" +7494506-7494797 usb_packet: packet-sof: "SOF 1202" +7594508-7594574 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7594574-7594641 usb_packet: pid: "PID: SOF" "SOF" "S" +7594641-7594732 usb_packet: framenum: "Frame: 1203" "Frame" "Fr" "F" +7594733-7594774 usb_packet: crc5-ok: "CRC5: 0x05" "CRC5" "C" +7594508-7594799 usb_packet: packet-sof: "SOF 1203" +7694511-7694577 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7694577-7694644 usb_packet: pid: "PID: SOF" "SOF" "S" +7694644-7694735 usb_packet: framenum: "Frame: 1204" "Frame" "Fr" "F" +7694736-7694777 usb_packet: crc5-ok: "CRC5: 0x0A" "CRC5" "C" +7694511-7694802 usb_packet: packet-sof: "SOF 1204" +7794513-7794579 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7794579-7794646 usb_packet: pid: "PID: SOF" "SOF" "S" +7794646-7794737 usb_packet: framenum: "Frame: 1205" "Frame" "Fr" "F" +7794738-7794779 usb_packet: crc5-ok: "CRC5: 0x15" "CRC5" "C" +7794513-7794804 usb_packet: packet-sof: "SOF 1205" +7894515-7894581 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7894581-7894648 usb_packet: pid: "PID: SOF" "SOF" "S" +7894648-7894739 usb_packet: framenum: "Frame: 1206" "Frame" "Fr" "F" +7894740-7894781 usb_packet: crc5-ok: "CRC5: 0x1D" "CRC5" "C" +7894515-7894806 usb_packet: packet-sof: "SOF 1206" +7994518-7994584 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +7994584-7994651 usb_packet: pid: "PID: SOF" "SOF" "S" +7994651-7994742 usb_packet: framenum: "Frame: 1207" "Frame" "Fr" "F" +7994743-7994784 usb_packet: crc5-ok: "CRC5: 0x02" "CRC5" "C" +7994518-7994809 usb_packet: packet-sof: "SOF 1207" +8094520-8094586 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +8094586-8094653 usb_packet: pid: "PID: SOF" "SOF" "S" +8094653-8094744 usb_packet: framenum: "Frame: 1208" "Frame" "Fr" "F" +8094745-8094786 usb_packet: crc5-ok: "CRC5: 0x03" "CRC5" "C" +8094520-8094811 usb_packet: packet-sof: "SOF 1208" +8194522-8194588 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +8194588-8194655 usb_packet: pid: "PID: SOF" "SOF" "S" +8194655-8194746 usb_packet: framenum: "Frame: 1209" "Frame" "Fr" "F" +8194747-8194788 usb_packet: crc5-ok: "CRC5: 0x1C" "CRC5" "C" +8194522-8194813 usb_packet: packet-sof: "SOF 1209" +8294525-8294591 usb_packet: sync-ok: "SYNC: 00000001" "SYNC" "S" +8294591-8294658 usb_packet: pid: "PID: SOF" "SOF" "S" +8294658-8294749 usb_packet: framenum: "Frame: 1210" "Frame" "Fr" "F" +8294750-8294791 usb_packet: crc5-ok: "CRC5: 0x14" "CRC5" "C" +8294525-8294816 usb_packet: packet-sof: "SOF 1210" diff --git a/decoder/test/usb_packet/test.conf b/decoder/test/usb_packet/test.conf index 2d4d6e1..7cad97c 100644 --- a/decoder/test/usb_packet/test.conf +++ b/decoder/test/usb_packet/test.conf @@ -1,5 +1,13 @@ test logitech_rx250_leftclick protocol-decoder usb_signalling channel dp=0 channel dm=1 option signalling=low-speed protocol-decoder usb_packet option signalling=low-speed + stack usb_signalling usb_packet input usb/hid/mouse/logitech_rx250/logitech_rx250_leftclick.sr output usb_packet annotation match logitech_rx250_leftclick.output + +test olimex_stm32-h103_usb_hid + protocol-decoder usb_signalling channel dp=1 channel dm=0 option signalling=full-speed + protocol-decoder usb_packet option signalling=full-speed + stack usb_signalling usb_packet + input usb/hid/mouse/olimex_stm32-h103_usb_hid/olimex_stm32-h103_usb_hid.sr + output usb_packet annotation match olimex_stm32-h103_usb_hid.output