diff options
Diffstat (limited to 'decoders')
-rw-r--r-- | decoders/i2c/test/gigabyte_6vle_vxl_i2c.python | 130 | ||||
-rw-r--r-- | decoders/i2c/test/rtc_ds1307_200khz.python | 181 | ||||
-rw-r--r-- | decoders/i2c/test/test.conf | 2 |
3 files changed, 313 insertions, 0 deletions
diff --git a/decoders/i2c/test/gigabyte_6vle_vxl_i2c.python b/decoders/i2c/test/gigabyte_6vle_vxl_i2c.python new file mode 100644 index 0000000..5a61f94 --- /dev/null +++ b/decoders/i2c/test/gigabyte_6vle_vxl_i2c.python @@ -0,0 +1,130 @@ +3670527-3670527 i2c: ['START', None] +3670622-3671478 i2c: ['ADDRESS WRITE', 80] +3671600-3671600 i2c: ['ACK', None] +3671721-3672577 i2c: ['DATA WRITE', 27] +3672699-3672699 i2c: ['ACK', None] +3672881-3672881 i2c: ['START REPEAT', None] +3672970-3673826 i2c: ['ADDRESS READ', 80] +3673948-3673948 i2c: ['ACK', None] +3674069-3674925 i2c: ['DATA READ', 80] +3675081-3675081 i2c: ['NACK', None] +3675231-3675231 i2c: ['STOP', None] +3675596-3675596 i2c: ['START', None] +3675690-3676546 i2c: ['ADDRESS WRITE', 80] +3676669-3676669 i2c: ['ACK', None] +3676790-3677646 i2c: ['DATA WRITE', 30] +3677768-3677768 i2c: ['ACK', None] +3677950-3677950 i2c: ['START REPEAT', None] +3678039-3678895 i2c: ['ADDRESS READ', 80] +3679017-3679017 i2c: ['ACK', None] +3679138-3679994 i2c: ['DATA READ', 45] +3680149-3680149 i2c: ['NACK', None] +3680299-3680299 i2c: ['STOP', None] +3680665-3680665 i2c: ['START', None] +3680759-3681615 i2c: ['ADDRESS WRITE', 80] +3681737-3681737 i2c: ['ACK', None] +3681858-3682714 i2c: ['DATA WRITE', 29] +3682836-3682836 i2c: ['ACK', None] +3683018-3683018 i2c: ['START REPEAT', None] +3683107-3683963 i2c: ['ADDRESS READ', 80] +3684085-3684085 i2c: ['ACK', None] +3684207-3685062 i2c: ['DATA READ', 80] +3685218-3685218 i2c: ['NACK', None] +3685368-3685368 i2c: ['STOP', None] +3700267-3700267 i2c: ['START', None] +3700362-3701217 i2c: ['ADDRESS WRITE', 105] +3701340-3701340 i2c: ['ACK', None] +3701461-3702317 i2c: ['DATA WRITE', 0] +3702439-3702439 i2c: ['ACK', None] +3702621-3702621 i2c: ['START REPEAT', None] +3702710-3703566 i2c: ['ADDRESS READ', 105] +3703688-3703688 i2c: ['ACK', None] +3703809-3704665 i2c: ['DATA READ', 15] +3704787-3704787 i2c: ['ACK', None] +3704908-3705764 i2c: ['DATA READ', 6] +3705886-3705886 i2c: ['ACK', None] +3706007-3706863 i2c: ['DATA READ', 255] +3706985-3706985 i2c: ['ACK', None] +3707107-3707962 i2c: ['DATA READ', 255] +3708085-3708085 i2c: ['ACK', None] +3708206-3709062 i2c: ['DATA READ', 255] +3709184-3709184 i2c: ['ACK', None] +3709305-3710161 i2c: ['DATA READ', 255] +3710283-3710283 i2c: ['ACK', None] +3710404-3711260 i2c: ['DATA READ', 255] +3711382-3711382 i2c: ['ACK', None] +3711503-3712359 i2c: ['DATA READ', 81] +3712481-3712481 i2c: ['ACK', None] +3712603-3713458 i2c: ['DATA READ', 134] +3713581-3713581 i2c: ['ACK', None] +3713702-3714558 i2c: ['DATA READ', 15] +3714680-3714680 i2c: ['ACK', None] +3714801-3715657 i2c: ['DATA READ', 8] +3715779-3715779 i2c: ['ACK', None] +3715900-3716756 i2c: ['DATA READ', 1] +3716878-3716878 i2c: ['ACK', None] +3716999-3717855 i2c: ['DATA READ', 136] +3717977-3717977 i2c: ['ACK', None] +3718099-3718954 i2c: ['DATA READ', 14] +3719077-3719077 i2c: ['ACK', None] +3719198-3720054 i2c: ['DATA READ', 229] +3720176-3720176 i2c: ['ACK', None] +3720297-3721153 i2c: ['DATA READ', 247] +3721308-3721308 i2c: ['NACK', None] +3721458-3721458 i2c: ['STOP', None] +3825148-3825148 i2c: ['START', None] +3825243-3826099 i2c: ['ADDRESS WRITE', 105] +3826221-3826221 i2c: ['ACK', None] +3826342-3827198 i2c: ['DATA WRITE', 0] +3827320-3827320 i2c: ['ACK', None] +3827441-3828297 i2c: ['DATA WRITE', 24] +3828419-3828419 i2c: ['ACK', None] +3828540-3829396 i2c: ['DATA WRITE', 174] +3829518-3829518 i2c: ['ACK', None] +3829640-3830496 i2c: ['DATA WRITE', 255] +3830618-3830618 i2c: ['ACK', None] +3830739-3831595 i2c: ['DATA WRITE', 239] +3831717-3831717 i2c: ['ACK', None] +3831838-3832694 i2c: ['DATA WRITE', 251] +3832816-3832816 i2c: ['ACK', None] +3832937-3833793 i2c: ['DATA WRITE', 15] +3833915-3833915 i2c: ['ACK', None] +3834036-3834892 i2c: ['DATA WRITE', 192] +3835014-3835014 i2c: ['ACK', None] +3835136-3835992 i2c: ['DATA WRITE', 241] +3836114-3836114 i2c: ['ACK', None] +3836235-3837091 i2c: ['DATA WRITE', 23] +3837213-3837213 i2c: ['ACK', None] +3837334-3838190 i2c: ['DATA WRITE', 24] +3838312-3838312 i2c: ['ACK', None] +3838433-3839289 i2c: ['DATA WRITE', 16] +3839411-3839411 i2c: ['ACK', None] +3839532-3840388 i2c: ['DATA WRITE', 122] +3840510-3840510 i2c: ['ACK', None] +3840632-3841488 i2c: ['DATA WRITE', 140] +3841610-3841610 i2c: ['ACK', None] +3841731-3842587 i2c: ['DATA WRITE', 129] +3842709-3842709 i2c: ['ACK', None] +3842830-3843686 i2c: ['DATA WRITE', 31] +3843808-3843808 i2c: ['ACK', None] +3843929-3844785 i2c: ['DATA WRITE', 24] +3844907-3844907 i2c: ['ACK', None] +3845028-3845884 i2c: ['DATA WRITE', 0] +3846006-3846006 i2c: ['ACK', None] +3846128-3846984 i2c: ['DATA WRITE', 0] +3847106-3847106 i2c: ['ACK', None] +3847227-3848083 i2c: ['DATA WRITE', 0] +3848205-3848205 i2c: ['ACK', None] +3848326-3849182 i2c: ['DATA WRITE', 0] +3849304-3849304 i2c: ['ACK', None] +3849425-3850281 i2c: ['DATA WRITE', 0] +3850403-3850403 i2c: ['ACK', None] +3850524-3851380 i2c: ['DATA WRITE', 0] +3851502-3851502 i2c: ['ACK', None] +3851624-3852480 i2c: ['DATA WRITE', 0] +3852602-3852602 i2c: ['ACK', None] +3852723-3853579 i2c: ['DATA WRITE', 0] +3853701-3853701 i2c: ['ACK', None] +3853822-3854678 i2c: ['DATA WRITE', 0] +3854800-3854800 i2c: ['ACK', None] +3854950-3854950 i2c: ['STOP', None] diff --git a/decoders/i2c/test/rtc_ds1307_200khz.python b/decoders/i2c/test/rtc_ds1307_200khz.python new file mode 100644 index 0000000..48bf6a1 --- /dev/null +++ b/decoders/i2c/test/rtc_ds1307_200khz.python @@ -0,0 +1,181 @@ +0-0 i2c: ['START', None] +1-16 i2c: ['ADDRESS WRITE', 104] +18-18 i2c: ['ACK', None] +24-39 i2c: ['DATA WRITE', 0] +41-41 i2c: ['ACK', None] +42-57 i2c: ['DATA WRITE', 48] +59-59 i2c: ['ACK', None] +60-75 i2c: ['DATA WRITE', 53] +77-77 i2c: ['ACK', None] +78-93 i2c: ['DATA WRITE', 35] +95-95 i2c: ['ACK', None] +96-111 i2c: ['DATA WRITE', 1] +113-113 i2c: ['ACK', None] +114-129 i2c: ['DATA WRITE', 16] +131-131 i2c: ['ACK', None] +132-147 i2c: ['DATA WRITE', 3] +149-149 i2c: ['ACK', None] +150-165 i2c: ['DATA WRITE', 19] +167-167 i2c: ['ACK', None] +171-171 i2c: ['STOP', None] +253-253 i2c: ['START', None] +254-269 i2c: ['ADDRESS WRITE', 104] +271-271 i2c: ['ACK', None] +272-287 i2c: ['DATA WRITE', 0] +289-289 i2c: ['ACK', None] +323-323 i2c: ['START REPEAT', None] +324-339 i2c: ['ADDRESS READ', 104] +341-341 i2c: ['ACK', None] +342-357 i2c: ['DATA READ', 48] +359-359 i2c: ['ACK', None] +360-375 i2c: ['DATA READ', 53] +377-377 i2c: ['ACK', None] +378-393 i2c: ['DATA READ', 35] +395-395 i2c: ['ACK', None] +396-411 i2c: ['DATA READ', 1] +413-413 i2c: ['ACK', None] +414-429 i2c: ['DATA READ', 16] +431-431 i2c: ['ACK', None] +432-447 i2c: ['DATA READ', 3] +449-449 i2c: ['ACK', None] +450-465 i2c: ['DATA READ', 19] +467-467 i2c: ['NACK', None] +471-471 i2c: ['STOP', None] +3548-3548 i2c: ['START', None] +3549-3564 i2c: ['ADDRESS WRITE', 104] +3566-3566 i2c: ['ACK', None] +3567-3582 i2c: ['DATA WRITE', 0] +3584-3584 i2c: ['ACK', None] +3608-3608 i2c: ['START REPEAT', None] +3609-3624 i2c: ['ADDRESS READ', 104] +3626-3626 i2c: ['ACK', None] +3627-3642 i2c: ['DATA READ', 48] +3644-3644 i2c: ['ACK', None] +3645-3660 i2c: ['DATA READ', 53] +3662-3662 i2c: ['ACK', None] +3663-3678 i2c: ['DATA READ', 35] +3680-3680 i2c: ['ACK', None] +3681-3696 i2c: ['DATA READ', 1] +3698-3698 i2c: ['ACK', None] +3699-3714 i2c: ['DATA READ', 16] +3716-3716 i2c: ['ACK', None] +3717-3732 i2c: ['DATA READ', 3] +3734-3734 i2c: ['ACK', None] +3735-3750 i2c: ['DATA READ', 19] +3752-3752 i2c: ['NACK', None] +3756-3756 i2c: ['STOP', None] +7470-7470 i2c: ['START', None] +7471-7486 i2c: ['ADDRESS WRITE', 104] +7488-7488 i2c: ['ACK', None] +7489-7504 i2c: ['DATA WRITE', 0] +7506-7506 i2c: ['ACK', None] +7529-7529 i2c: ['START REPEAT', None] +7530-7545 i2c: ['ADDRESS READ', 104] +7547-7547 i2c: ['ACK', None] +7548-7563 i2c: ['DATA READ', 48] +7565-7565 i2c: ['ACK', None] +7566-7581 i2c: ['DATA READ', 53] +7583-7583 i2c: ['ACK', None] +7584-7599 i2c: ['DATA READ', 35] +7601-7601 i2c: ['ACK', None] +7602-7617 i2c: ['DATA READ', 1] +7619-7619 i2c: ['ACK', None] +7620-7635 i2c: ['DATA READ', 16] +7637-7637 i2c: ['ACK', None] +7638-7653 i2c: ['DATA READ', 3] +7655-7655 i2c: ['ACK', None] +7656-7671 i2c: ['DATA READ', 19] +7673-7673 i2c: ['NACK', None] +7677-7677 i2c: ['STOP', None] +11405-11405 i2c: ['START', None] +11407-11422 i2c: ['ADDRESS WRITE', 104] +11424-11424 i2c: ['ACK', None] +11425-11440 i2c: ['DATA WRITE', 0] +11442-11442 i2c: ['ACK', None] +11466-11466 i2c: ['START REPEAT', None] +11467-11482 i2c: ['ADDRESS READ', 104] +11484-11484 i2c: ['ACK', None] +11485-11500 i2c: ['DATA READ', 48] +11502-11502 i2c: ['ACK', None] +11503-11518 i2c: ['DATA READ', 53] +11520-11520 i2c: ['ACK', None] +11521-11536 i2c: ['DATA READ', 35] +11538-11538 i2c: ['ACK', None] +11539-11554 i2c: ['DATA READ', 1] +11556-11556 i2c: ['ACK', None] +11557-11572 i2c: ['DATA READ', 16] +11574-11574 i2c: ['ACK', None] +11575-11590 i2c: ['DATA READ', 3] +11592-11592 i2c: ['ACK', None] +11593-11608 i2c: ['DATA READ', 19] +11610-11610 i2c: ['NACK', None] +11614-11614 i2c: ['STOP', None] +15332-15332 i2c: ['START', None] +15333-15348 i2c: ['ADDRESS WRITE', 104] +15350-15350 i2c: ['ACK', None] +15351-15366 i2c: ['DATA WRITE', 0] +15368-15368 i2c: ['ACK', None] +15400-15400 i2c: ['START REPEAT', None] +15401-15416 i2c: ['ADDRESS READ', 104] +15418-15418 i2c: ['ACK', None] +15419-15434 i2c: ['DATA READ', 48] +15436-15436 i2c: ['ACK', None] +15437-15452 i2c: ['DATA READ', 53] +15454-15454 i2c: ['ACK', None] +15455-15470 i2c: ['DATA READ', 35] +15472-15472 i2c: ['ACK', None] +15473-15488 i2c: ['DATA READ', 1] +15490-15490 i2c: ['ACK', None] +15491-15506 i2c: ['DATA READ', 16] +15508-15508 i2c: ['ACK', None] +15509-15524 i2c: ['DATA READ', 3] +15526-15526 i2c: ['ACK', None] +15527-15542 i2c: ['DATA READ', 19] +15544-15544 i2c: ['NACK', None] +15548-15548 i2c: ['STOP', None] +19253-19253 i2c: ['START', None] +19254-19269 i2c: ['ADDRESS WRITE', 104] +19271-19271 i2c: ['ACK', None] +19273-19288 i2c: ['DATA WRITE', 0] +19290-19290 i2c: ['ACK', None] +19359-19359 i2c: ['START REPEAT', None] +19360-19375 i2c: ['ADDRESS READ', 104] +19377-19377 i2c: ['ACK', None] +19378-19393 i2c: ['DATA READ', 48] +19395-19395 i2c: ['ACK', None] +19396-19411 i2c: ['DATA READ', 53] +19413-19413 i2c: ['ACK', None] +19414-19429 i2c: ['DATA READ', 35] +19431-19431 i2c: ['ACK', None] +19432-19447 i2c: ['DATA READ', 1] +19449-19449 i2c: ['ACK', None] +19450-19465 i2c: ['DATA READ', 16] +19467-19467 i2c: ['ACK', None] +19468-19483 i2c: ['DATA READ', 3] +19485-19485 i2c: ['ACK', None] +19486-19501 i2c: ['DATA READ', 19] +19503-19503 i2c: ['NACK', None] +19507-19507 i2c: ['STOP', None] +23211-23211 i2c: ['START', None] +23213-23228 i2c: ['ADDRESS WRITE', 104] +23230-23230 i2c: ['ACK', None] +23264-23279 i2c: ['DATA WRITE', 0] +23281-23281 i2c: ['ACK', None] +23299-23299 i2c: ['START REPEAT', None] +23300-23315 i2c: ['ADDRESS READ', 104] +23317-23317 i2c: ['ACK', None] +23318-23333 i2c: ['DATA READ', 48] +23335-23335 i2c: ['ACK', None] +23336-23351 i2c: ['DATA READ', 53] +23353-23353 i2c: ['ACK', None] +23354-23369 i2c: ['DATA READ', 35] +23371-23371 i2c: ['ACK', None] +23372-23387 i2c: ['DATA READ', 1] +23389-23389 i2c: ['ACK', None] +23390-23405 i2c: ['DATA READ', 16] +23407-23407 i2c: ['ACK', None] +23408-23423 i2c: ['DATA READ', 3] +23425-23425 i2c: ['ACK', None] +23426-23441 i2c: ['DATA READ', 19] +23443-23443 i2c: ['NACK', None] +23447-23447 i2c: ['STOP', None] diff --git a/decoders/i2c/test/test.conf b/decoders/i2c/test/test.conf index 84a3d47..880f360 100644 --- a/decoders/i2c/test/test.conf +++ b/decoders/i2c/test/test.conf @@ -4,11 +4,13 @@ test rtc output i2c annotation class data-read match rtc_ds1307_200khz_data_read.output output i2c annotation class data-write match rtc_ds1307_200khz_data_write.output output i2c annotation match rtc_ds1307_200khz.output + output i2c python match rtc_ds1307_200khz.python test motherboard protocol-decoder i2c probe scl=0 probe sda=3 input i2c/gigabyte_6vle-vxl_i2c/gigabyte_6vle_vxl_i2c.sr output i2c annotation match gigabyte_6vle_vxl_i2c.output + output i2c python match gigabyte_6vle_vxl_i2c.python test xfp protocol-decoder i2c probe scl=0 probe sda=1 |