{"action":"created","issue":{"url":"https://api.github.com/repos/platformio/platformio/issues/587","repository_url":"https://api.github.com/repos/platformio/platformio","labels_url":"https://api.github.com/repos/platformio/platformio/issues/587/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platformio/issues/587/comments","events_url":"https://api.github.com/repos/platformio/platformio/issues/587/events","html_url":"https://github.com/platformio/platformio/issues/587","id":142069145,"number":587,"title":"avrdude binary buggy","user":{"login":"pfrankw","id":6452799,"avatar_url":"https://avatars.githubusercontent.com/u/6452799?v=3","gravatar_id":"","url":"https://api.github.com/users/pfrankw","html_url":"https://github.com/pfrankw","followers_url":"https://api.github.com/users/pfrankw/followers","following_url":"https://api.github.com/users/pfrankw/following{/other_user}","gists_url":"https://api.github.com/users/pfrankw/gists{/gist_id}","starred_url":"https://api.github.com/users/pfrankw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfrankw/subscriptions","organizations_url":"https://api.github.com/users/pfrankw/orgs","repos_url":"https://api.github.com/users/pfrankw/repos","events_url":"https://api.github.com/users/pfrankw/events{/privacy}","received_events_url":"https://api.github.com/users/pfrankw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/platformio/platformio/labels/enhancement","name":"enhancement","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"valeros","id":886732,"avatar_url":"https://avatars.githubusercontent.com/u/886732?v=3","gravatar_id":"","url":"https://api.github.com/users/valeros","html_url":"https://github.com/valeros","followers_url":"https://api.github.com/users/valeros/followers","following_url":"https://api.github.com/users/valeros/following{/other_user}","gists_url":"https://api.github.com/users/valeros/gists{/gist_id}","starred_url":"https://api.github.com/users/valeros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeros/subscriptions","organizations_url":"https://api.github.com/users/valeros/orgs","repos_url":"https://api.github.com/users/valeros/repos","events_url":"https://api.github.com/users/valeros/events{/privacy}","received_events_url":"https://api.github.com/users/valeros/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/platformio/platformio/milestones/37","html_url":"https://github.com/platformio/platformio/milestones/2.8.6","labels_url":"https://api.github.com/repos/platformio/platformio/milestones/37/labels","id":1620599,"number":37,"title":"2.8.6","description":"","creator":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":2,"state":"open","created_at":"2016-03-03T16:41:35Z","updated_at":"2016-03-19T14:58:51Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-03-19T14:58:01Z","updated_at":"2016-03-19T19:32:08Z","closed_at":null,"body":"### Configuration\r\n\r\n**Operating system**: Ubuntu 14.04\r\n\r\n**PlatformIO Version**: 2.8.5\r\n\r\n### Description of problem\r\nThe avrdude binary seems buggy because it cannot often upload the same code the arduino IDE uploads perfectly.\r\n\r\nThis avrdude binary version just works randomly, most of the times it goes on error and very rarely works. We can say it works about 10% of times.\r\nOf course the code is not modified, I just repeatedly clicked the upload button until it works.\r\n\r\n### Workaround\r\nJust substitute the PlatformIO's avrdude binary with the Arduino IDE's one.\r\n\r\n### Configuration\r\nUbuntu 14.04 VM with Arduino Nano v3 clone with CH340G chip.\r\n"},"comment":{"url":"https://api.github.com/repos/platformio/platformio/issues/comments/198774702","html_url":"https://github.com/platformio/platformio/issues/587#issuecomment-198774702","issue_url":"https://api.github.com/repos/platformio/platformio/issues/587","id":198774702,"user":{"login":"pfrankw","id":6452799,"avatar_url":"https://avatars.githubusercontent.com/u/6452799?v=3","gravatar_id":"","url":"https://api.github.com/users/pfrankw","html_url":"https://github.com/pfrankw","followers_url":"https://api.github.com/users/pfrankw/followers","following_url":"https://api.github.com/users/pfrankw/following{/other_user}","gists_url":"https://api.github.com/users/pfrankw/gists{/gist_id}","starred_url":"https://api.github.com/users/pfrankw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfrankw/subscriptions","organizations_url":"https://api.github.com/users/pfrankw/orgs","repos_url":"https://api.github.com/users/pfrankw/repos","events_url":"https://api.github.com/users/pfrankw/events{/privacy}","received_events_url":"https://api.github.com/users/pfrankw/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T19:32:08Z","updated_at":"2016-03-19T19:32:08Z","body":"I have some news:\r\n\r\nWhen I manually execute (form the terminal plugin in the Platformio IDE): `platformio run --target upload` I successfully upload the code 100% of times even with the avrdude binary shipped with the project.\r\n\r\nBut when I use the upload button on the left of the IDE I do get the aforementioned 90% \"fail rate\".\r\n\r\nI understand that this is super-strange and maybe it is related to my configuration (VM + clone arduino) so it is ok if the issue gets a lower priority."}}