{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/2986","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/2986/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/2986/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/2986/events","html_url":"https://github.com/arduino/Arduino/issues/2986","id":68807058,"number":2986,"title":"Arduino IDE sending avrdude commands to avrisp2 too fast","user":{"login":"virtual812","id":5173141,"avatar_url":"https://avatars.githubusercontent.com/u/5173141?v=3","gravatar_id":"","url":"https://api.github.com/users/virtual812","html_url":"https://github.com/virtual812","followers_url":"https://api.github.com/users/virtual812/followers","following_url":"https://api.github.com/users/virtual812/following{/other_user}","gists_url":"https://api.github.com/users/virtual812/gists{/gist_id}","starred_url":"https://api.github.com/users/virtual812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtual812/subscriptions","organizations_url":"https://api.github.com/users/virtual812/orgs","repos_url":"https://api.github.com/users/virtual812/repos","events_url":"https://api.github.com/users/virtual812/events{/privacy}","received_events_url":"https://api.github.com/users/virtual812/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-15T23:14:28Z","updated_at":"2015-04-17T11:50:16Z","closed_at":null,"body":"Hi, have come across an issue when burning a bootloader with the IDE.\r\n\r\nThe IDE sends the 2 avrdude commands too quickly without the AVRispMK2 getting a chance to reset.\r\n\r\nI tested this with a batch file by copy/pasting the avrdude commands from the verbose output of the Arduino IDE window.\r\n\r\nI was able to reproduce the issue by sending the commands 1 after another immediately using a batch file.\r\nI tried the same again with 'wait 1' to add a 1 second delay to the batch file between commands and the issue was resolved.\r\n\r\nThis issue may depend on speed of computer.\r\nIt would be good to experiment with delays as a full 1 second delay may not be required.\r\n\r\nIf anyone has any idea how i might add and accurate sub 1s delay to a batch file I'd be happy to test and report my findings.\r\n\r\nPC is an i5 3570K, 8gig, Win7x64, Intel SSD\r\n\r\nCheers."},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/93971267","html_url":"https://github.com/arduino/Arduino/issues/2986#issuecomment-93971267","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/2986","id":93971267,"user":{"login":"virtual812","id":5173141,"avatar_url":"https://avatars.githubusercontent.com/u/5173141?v=3","gravatar_id":"","url":"https://api.github.com/users/virtual812","html_url":"https://github.com/virtual812","followers_url":"https://api.github.com/users/virtual812/followers","following_url":"https://api.github.com/users/virtual812/following{/other_user}","gists_url":"https://api.github.com/users/virtual812/gists{/gist_id}","starred_url":"https://api.github.com/users/virtual812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtual812/subscriptions","organizations_url":"https://api.github.com/users/virtual812/orgs","repos_url":"https://api.github.com/users/virtual812/repos","events_url":"https://api.github.com/users/virtual812/events{/privacy}","received_events_url":"https://api.github.com/users/virtual812/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T11:50:16Z","updated_at":"2015-04-17T11:50:16Z","body":"Hi jogo,\r\n\r\nMy wording in the original post is a bit wierd now that i look back at it, but i do have a 1s delay working.\r\n\r\nThe goal is for a sub 1s delay (eg: 500milliseconds ?) to see how short a delay causes the problem to re - occur.\r\n\r\nMy hope is that i'm not the only one suffering this issue, and that the people whom work on that part of the IDE can insert a very short delay between sending multiple commands.\r\n\r\nI'm actually curious about it and would be interested in seeing where in the code that the \"Burn Bootloader\" code exists.\r\nI might not make much sense of it , but after getting started with Arduino it has made me appreciate code elsewhere."}}