{"action":"created","issue":{"url":"https://api.github.com/repos/baerwolf/USBaspLoader/issues/16","repository_url":"https://api.github.com/repos/baerwolf/USBaspLoader","labels_url":"https://api.github.com/repos/baerwolf/USBaspLoader/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/baerwolf/USBaspLoader/issues/16/comments","events_url":"https://api.github.com/repos/baerwolf/USBaspLoader/issues/16/events","html_url":"https://github.com/baerwolf/USBaspLoader/issues/16","id":131955694,"number":16,"title":"Help on options","user":{"login":"dvv","id":211335,"avatar_url":"https://avatars.githubusercontent.com/u/211335?v=3","gravatar_id":"","url":"https://api.github.com/users/dvv","html_url":"https://github.com/dvv","followers_url":"https://api.github.com/users/dvv/followers","following_url":"https://api.github.com/users/dvv/following{/other_user}","gists_url":"https://api.github.com/users/dvv/gists{/gist_id}","starred_url":"https://api.github.com/users/dvv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvv/subscriptions","organizations_url":"https://api.github.com/users/dvv/orgs","repos_url":"https://api.github.com/users/dvv/repos","events_url":"https://api.github.com/users/dvv/events{/privacy}","received_events_url":"https://api.github.com/users/dvv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-07T10:14:49Z","updated_at":"2016-02-07T14:25:10Z","closed_at":null,"body":"Hello!\r\n\r\nWhat set of options should I have enabled to achieve the following behavior:\r\n1. on reset enter usbasp mode\r\n2. after 3 seconds of inactivity go to main app\r\n3. if there were activity and usbasp were used to upload the firmware, restart\r\n\r\nRight now I use the following `$(DEFINES)`\r\n```c\r\n-DCONFIG_NO__CHIP_ERASE -DCONFIG_NO__ONDEMAND_PAGEERASE -DCONFIG_NO__PRESERVE_WATCHDOG -DCONFIG_HAVE__BOOTLOADER_ALWAYSENTERPROGRAMMODE -DCONFIG_BOOTLOADER_LOOPCYCLES_TIMEOUT=16 -DCONFIG_HAVE__BOOTLOADER_ABORTTIMEOUTONACT -DBOOTLOADER_CAN_EXIT=1 -DHAVE_BOOTLOADER_HIDDENEXITCOMMAND=1 -DCONFIG_HAVE__BOOTLOADER_IGNOREPROGBUTTON\r\n```\r\n\r\nbut it fails to do point 3.\r\n\r\nOr, if I could achieve that with `HAVE_BOOTLOADER_HIDDENEXITCOMMAND`, how to issue the exit sequence via `avrdude`?\r\n\r\nTIA,\r\n--Vladimir\r\n"},"comment":{"url":"https://api.github.com/repos/baerwolf/USBaspLoader/issues/comments/181022010","html_url":"https://github.com/baerwolf/USBaspLoader/issues/16#issuecomment-181022010","issue_url":"https://api.github.com/repos/baerwolf/USBaspLoader/issues/16","id":181022010,"user":{"login":"baerwolf","id":1092625,"avatar_url":"https://avatars.githubusercontent.com/u/1092625?v=3","gravatar_id":"","url":"https://api.github.com/users/baerwolf","html_url":"https://github.com/baerwolf","followers_url":"https://api.github.com/users/baerwolf/followers","following_url":"https://api.github.com/users/baerwolf/following{/other_user}","gists_url":"https://api.github.com/users/baerwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/baerwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baerwolf/subscriptions","organizations_url":"https://api.github.com/users/baerwolf/orgs","repos_url":"https://api.github.com/users/baerwolf/repos","events_url":"https://api.github.com/users/baerwolf/events{/privacy}","received_events_url":"https://api.github.com/users/baerwolf/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T14:25:10Z","updated_at":"2016-02-07T14:25:10Z","body":"Hi Vladimir\r\n\r\nFor\r\n\r\n1.) enable \"CONFIG_HAVE__BOOTLOADER_ALWAYSENTERPROGRAMMODE\"\r\n2.) enable \"CONFIG_BOOTLOADER_LOOPCYCLES_TIMEOUT=16\"\r\n3.) DO NOT enable \"CONFIG_HAVE__BOOTLOADER_ABORTTIMEOUTONACT\"\r\n(do use timeout also after activity)\r\n\r\n4.) if you do not have prog-button enable \"CONFIG_HAVE__BOOTLOADER_IGNOREPROGBUTTON\"\r\n\r\nBR Stephan\r\n"}}