{"action":"created","issue":{"url":"https://api.github.com/repos/shumatech/BOSSA/issues/10","repository_url":"https://api.github.com/repos/shumatech/BOSSA","labels_url":"https://api.github.com/repos/shumatech/BOSSA/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/shumatech/BOSSA/issues/10/comments","events_url":"https://api.github.com/repos/shumatech/BOSSA/issues/10/events","html_url":"https://github.com/shumatech/BOSSA/pull/10","id":77395241,"number":10,"title":"Add support for Arduino Due's software erase hack","user":{"login":"Timmmm","id":376842,"avatar_url":"https://avatars0.githubusercontent.com/u/376842?v=3","gravatar_id":"","url":"https://api.github.com/users/Timmmm","html_url":"https://github.com/Timmmm","followers_url":"https://api.github.com/users/Timmmm/followers","following_url":"https://api.github.com/users/Timmmm/following{/other_user}","gists_url":"https://api.github.com/users/Timmmm/gists{/gist_id}","starred_url":"https://api.github.com/users/Timmmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timmmm/subscriptions","organizations_url":"https://api.github.com/users/Timmmm/orgs","repos_url":"https://api.github.com/users/Timmmm/repos","events_url":"https://api.github.com/users/Timmmm/events{/privacy}","received_events_url":"https://api.github.com/users/Timmmm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-05-17T20:49:21Z","updated_at":"2017-03-30T19:54:46Z","closed_at":"2016-08-30T09:26:36Z","pull_request":{"url":"https://api.github.com/repos/shumatech/BOSSA/pulls/10","html_url":"https://github.com/shumatech/BOSSA/pull/10","diff_url":"https://github.com/shumatech/BOSSA/pull/10.diff","patch_url":"https://github.com/shumatech/BOSSA/pull/10.patch"},"body":"Note: This pull request includes 8devices' samba_improvement branch because that's what I started with and git is stupidly hard to use. Sorry.\n\n---\n\nThe Arduino Due's USB-to-Serial interface chip has special code that\nwill erase and reset the SAM3X8E if you open a 1200 baud connection and\nimmediately close it. This very simple change adds a command line option\nto bossac to do that (the option is '-a'). If you use this option you\nmust specify the port.\n\nI tested it on Windows and it works fine.\n"},"comment":{"url":"https://api.github.com/repos/shumatech/BOSSA/issues/comments/290525968","html_url":"https://github.com/shumatech/BOSSA/pull/10#issuecomment-290525968","issue_url":"https://api.github.com/repos/shumatech/BOSSA/issues/10","id":290525968,"user":{"login":"kevans91","id":646318,"avatar_url":"https://avatars1.githubusercontent.com/u/646318?v=3","gravatar_id":"","url":"https://api.github.com/users/kevans91","html_url":"https://github.com/kevans91","followers_url":"https://api.github.com/users/kevans91/followers","following_url":"https://api.github.com/users/kevans91/following{/other_user}","gists_url":"https://api.github.com/users/kevans91/gists{/gist_id}","starred_url":"https://api.github.com/users/kevans91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevans91/subscriptions","organizations_url":"https://api.github.com/users/kevans91/orgs","repos_url":"https://api.github.com/users/kevans91/repos","events_url":"https://api.github.com/users/kevans91/events{/privacy}","received_events_url":"https://api.github.com/users/kevans91/received_events","type":"User","site_admin":false},"created_at":"2017-03-30T19:54:45Z","updated_at":"2017-03-30T19:54:45Z","body":"@cmaglie - I also feel this is worth inclusion into BOSSA (hidden behind a flag) for a couple reasons:\r\n\r\n1.) I think we've had some timing weirdness in FreeBSD-land between the 1200bps reset in the IDE and BOSSA being able to actually program the board. Offloading this to the software that's actually going to be programming the board would eliminate any of the Java overhead and increase success rate, at least in our neck of the woods.\r\n\r\n2.) It would be nice to separate this out of the IDE so that BOSSA can stand apart even more from it. Right now, it's completely feasible to have an Arduino setup that contains everything but the IDE/Java bits, but programming the Due requires being a little more familiar with, for instance, stty(1) to open/close a serial port.\r\n\r\n3.) It shouldn't add any real overhead/complexity, maintenance or otherwise, to include this as an optional feature. \r\n\r\nI don't expect @shumatech to care at all about the Arduino-specific points, but if it doesn't add any overhead then I see no reason to object as long as it doesn't bring Arduino problems here. If I were to go ahead and fix this up to work on the different platforms, would it be considered for inclusion?"}}
{"actor":{"display_login":"kevans91"}}