{"action":"created","issue":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/1024","repository_url":"https://api.github.com/repos/SmingHub/Sming","labels_url":"https://api.github.com/repos/SmingHub/Sming/issues/1024/labels{/name}","comments_url":"https://api.github.com/repos/SmingHub/Sming/issues/1024/comments","events_url":"https://api.github.com/repos/SmingHub/Sming/issues/1024/events","html_url":"https://github.com/SmingHub/Sming/issues/1024","id":213549845,"number":1024,"title":"how to hang ESP module","user":{"login":"kwis2","id":21011549,"avatar_url":"https://avatars1.githubusercontent.com/u/21011549?v=3","gravatar_id":"","url":"https://api.github.com/users/kwis2","html_url":"https://github.com/kwis2","followers_url":"https://api.github.com/users/kwis2/followers","following_url":"https://api.github.com/users/kwis2/following{/other_user}","gists_url":"https://api.github.com/users/kwis2/gists{/gist_id}","starred_url":"https://api.github.com/users/kwis2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwis2/subscriptions","organizations_url":"https://api.github.com/users/kwis2/orgs","repos_url":"https://api.github.com/users/kwis2/repos","events_url":"https://api.github.com/users/kwis2/events{/privacy}","received_events_url":"https://api.github.com/users/kwis2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-11T18:40:50Z","updated_at":"2017-03-13T18:41:36Z","closed_at":null,"body":"According to #1020 there is very simple way to kill ESP with WDT unable to wake up module. I have tested ESP8266-01 and WeMOS modules. Simple program could kill module forever and only hard reset could it awake. Works with any version of Sming from 2.1.5. \r\nThe reason is `System.restart()` command.\r\nI have written very advanced software which after 10 seconds run `System.restart()` and:\r\n\r\n> 19:26:50.328, tick\r\n> 19:26:52.403, tick\r\n> 19:26:52.512, \r\n> 19:26:52.512,  ets Jan  8 2013,rst cause:2, boot mode:(1,6)\r\n> 19:26:52.512, \r\n> 19:26:59.610, \r\n> 19:26:59.610,  ets Jan  8 2013,rst cause:4, boot mode:(1,6)\r\n> 19:26:59.610, \r\n> 19:26:59.610, wdt reset\r\n\r\n**and a few minutes later reset button pressed** \r\n\r\n> 19:29:36.094, goî<0>dŚÇ$`\u0003\u0013\u001Bo'\u0004l`\u0003\u0007\u0003o;Ç›Ű'\u0004\f›lś\u0007d8űgŕ\u0010\u0003\f\u0004r„śÜăŕ\f\u0004\u0004\fb\f'ă|\u0003\u0004l„‡cÄň'oď<0>\u0004\fd`\u0002\u001B\u0013ng\u0004l`\u0003\u000F\u0002'{‡“›g\u0004\fó$l \u0003xónŕ\u0018\u0003\f\f{Śśśăŕä\f\u0004\fc\u0004gă|\u0003Ś$ěŽ‡#Äňnoď<0>\u0004\fd`\u0002Ř\u001B\u0012'o\f$`\u0003\u000F\u0003g{Ź’›o\f\u0004\u0002dl`\u0003\u000Fr›Ű'\u0004\f\u0003ld`\u0003don't use rtc mem data\r\n> 19:29:38.278, ;l<0>dśź|<0>Ś$ŕ|\u0003\u0004\f\u0004Ä\fdě\u0004c<Ç\u0003ä\u001B“›lś\u0007d8űgŕ\u0010\u0003\f\u0004r„śÜăŕ\f\u0004\u0004\fb\f'ă|\u0003\u0004l„‡cÄň'oď<0>\u0004\fd`\u0002\u001B\u0013ng\u0004l`\u0003\u000F\u0002'{‡“tick\r\n> 19:29:40.353, tick\r\n> 19:29:42.318, tick\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/comments/286203878","html_url":"https://github.com/SmingHub/Sming/issues/1024#issuecomment-286203878","issue_url":"https://api.github.com/repos/SmingHub/Sming/issues/1024","id":286203878,"user":{"login":"kwis2","id":21011549,"avatar_url":"https://avatars1.githubusercontent.com/u/21011549?v=3","gravatar_id":"","url":"https://api.github.com/users/kwis2","html_url":"https://github.com/kwis2","followers_url":"https://api.github.com/users/kwis2/followers","following_url":"https://api.github.com/users/kwis2/following{/other_user}","gists_url":"https://api.github.com/users/kwis2/gists{/gist_id}","starred_url":"https://api.github.com/users/kwis2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwis2/subscriptions","organizations_url":"https://api.github.com/users/kwis2/orgs","repos_url":"https://api.github.com/users/kwis2/repos","events_url":"https://api.github.com/users/kwis2/events{/privacy}","received_events_url":"https://api.github.com/users/kwis2/received_events","type":"User","site_admin":false},"created_at":"2017-03-13T18:41:36Z","updated_at":"2017-03-13T18:41:36Z","body":"With ESP8266-01 except TX and RX I have only two pins availiable. GPIO0 and GPIO2, and when I would like to program module I have to pull down GPIO0 while reset. GPIO0 which in your circuit is permanently pulled high, so you are not able to go into programming mode, which is source of my problems. I don't know how you are able to program module - botloader ? \r\nI am wondering if problem with GPIO0 state while `System.restart()` is SDK not Sming problem?"}}
{"actor":{"display_login":"kwis2"}}