{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/2224","repository_url":"https://api.github.com/repos/micropython/micropython","labels_url":"https://api.github.com/repos/micropython/micropython/issues/2224/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/2224/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/2224/events","html_url":"https://github.com/micropython/micropython/issues/2224","id":164208270,"number":2224,"title":"Windows + USB Chipset combinations interfering with micropython USB traffic","user":{"login":"ryannathans","id":1307375,"avatar_url":"https://avatars.githubusercontent.com/u/1307375?v=3","gravatar_id":"","url":"https://api.github.com/users/ryannathans","html_url":"https://github.com/ryannathans","followers_url":"https://api.github.com/users/ryannathans/followers","following_url":"https://api.github.com/users/ryannathans/following{/other_user}","gists_url":"https://api.github.com/users/ryannathans/gists{/gist_id}","starred_url":"https://api.github.com/users/ryannathans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryannathans/subscriptions","organizations_url":"https://api.github.com/users/ryannathans/orgs","repos_url":"https://api.github.com/users/ryannathans/repos","events_url":"https://api.github.com/users/ryannathans/events{/privacy}","received_events_url":"https://api.github.com/users/ryannathans/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-07T01:07:01Z","updated_at":"2016-08-08T13:11:57Z","closed_at":null,"body":"Attempting to run the following with a pyboard\r\n`py -3 run-tests --device COM63 --target pyboard`\r\n\r\non Linux all tests pass\r\non Windows the large tests fail. A perfect example of this is the test basics/int_big_div.py.\r\n\r\nThe generated output from windows python is perfect, but the data obtained from the pyboard appears to be corrupted in random locations when compared. This corruption does not occur on unix.\r\n\r\nhere is an example of the corruption:\r\n\r\n`807129636248249042473169689192672273375203` from the device instead of \r\n`80712963624824904247523071397869999158397`\r\n\r\nSometimes the number is very small (eg 5 digits) when it should be much larger, sometimes the error manifests as extra new lines (0 length digits), sometimes the numbers outputted are very large (eg: 20+ digits longer than they should be). To clarify, random sections of the output from the device appear to be corrupted, these sections change every time the test is run. Oddly, these corruptions do not introduce unusual characters/symbols, just adding or removing or changing numbers.\r\n\r\nThis behavior does not occur when testing with linux.\r\n\r\nHave tested with 4 different windows PCs running windows 8.1 and 10"},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/238230552","html_url":"https://github.com/micropython/micropython/issues/2224#issuecomment-238230552","issue_url":"https://api.github.com/repos/micropython/micropython/issues/2224","id":238230552,"user":{"login":"dpgeorge","id":6187689,"avatar_url":"https://avatars.githubusercontent.com/u/6187689?v=3","gravatar_id":"","url":"https://api.github.com/users/dpgeorge","html_url":"https://github.com/dpgeorge","followers_url":"https://api.github.com/users/dpgeorge/followers","following_url":"https://api.github.com/users/dpgeorge/following{/other_user}","gists_url":"https://api.github.com/users/dpgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/dpgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpgeorge/subscriptions","organizations_url":"https://api.github.com/users/dpgeorge/orgs","repos_url":"https://api.github.com/users/dpgeorge/repos","events_url":"https://api.github.com/users/dpgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/dpgeorge/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T13:11:57Z","updated_at":"2016-08-08T13:11:57Z","body":"I did see very similar behaviour under Linux, but it's very hard to reproduce.  It could be a bug in the pyboard VCP implementation where characters in the outgoing buffer are lost or jumbled up."}}
{"actor":{"display_login":"dpgeorge"}}