{"action":"created","issue":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/474","labels_url":"https://api.github.com/repos/SmingHub/Sming/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/SmingHub/Sming/issues/474/comments","events_url":"https://api.github.com/repos/SmingHub/Sming/issues/474/events","html_url":"https://github.com/SmingHub/Sming/issues/474","id":120742109,"number":474,"title":"Reset when trying to drive GPIO9 as output in DIO Mode and nodemcu devkit 1.0","user":{"login":"robotiko","id":2234237,"avatar_url":"https://avatars.githubusercontent.com/u/2234237?v=3","gravatar_id":"","url":"https://api.github.com/users/robotiko","html_url":"https://github.com/robotiko","followers_url":"https://api.github.com/users/robotiko/followers","following_url":"https://api.github.com/users/robotiko/following{/other_user}","gists_url":"https://api.github.com/users/robotiko/gists{/gist_id}","starred_url":"https://api.github.com/users/robotiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robotiko/subscriptions","organizations_url":"https://api.github.com/users/robotiko/orgs","repos_url":"https://api.github.com/users/robotiko/repos","events_url":"https://api.github.com/users/robotiko/events{/privacy}","received_events_url":"https://api.github.com/users/robotiko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-07T10:25:29Z","updated_at":"2015-12-07T20:16:54Z","closed_at":null,"body":"To not mix issues, this was initially discussed in #398 \r\nAs stated in many places, there is a limited number of ESP devices that can drive GPIO9 due to line usage for flash access in QIO mode. \r\nNodeMCU devkit 1.0 is mainly designed to allow two extra pins (gpio9 and gpio10)  and amica devices are being reported as working ones (I'm testing on two amica devkits 1.0).\r\nGPIO10 works without issue, but after setting gpio9 as output, trying to drive it high or low, device resets. \r\nThere are a lot of ESP gpio9 issues posted in different projects (as reference https://github.com/nodemcu/nodemcu-firmware/issues/809 ) but all seem to work on devkit 1.0  once device is flashed in DIO mode.\r\nIt also seems that after flashing, it wont start flashing until device is reset.  \r\nI tried as rboot and not rboot  dio flashing .. with no luck.  We recently identified that DIO flash was not being propagated to flashing tools and after fixing, the result was the same. \r\nTested in Windows/eclipse with SDK 1.4 and Sming dev version. \r\nAny idea?  working configs\r\nThanks\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SmingHub/Sming/issues/comments/162647389","html_url":"https://github.com/SmingHub/Sming/issues/474#issuecomment-162647389","issue_url":"https://api.github.com/repos/SmingHub/Sming/issues/474","id":162647389,"user":{"login":"flexiti","id":11538048,"avatar_url":"https://avatars.githubusercontent.com/u/11538048?v=3","gravatar_id":"","url":"https://api.github.com/users/flexiti","html_url":"https://github.com/flexiti","followers_url":"https://api.github.com/users/flexiti/followers","following_url":"https://api.github.com/users/flexiti/following{/other_user}","gists_url":"https://api.github.com/users/flexiti/gists{/gist_id}","starred_url":"https://api.github.com/users/flexiti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flexiti/subscriptions","organizations_url":"https://api.github.com/users/flexiti/orgs","repos_url":"https://api.github.com/users/flexiti/repos","events_url":"https://api.github.com/users/flexiti/events{/privacy}","received_events_url":"https://api.github.com/users/flexiti/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T20:16:54Z","updated_at":"2015-12-07T20:16:54Z","body":"If You look on schematic You can see that in DIO mode port GPIO10 is conected to Flash WP, and GPIO9 to Flash HOLD.\r\nThis could easily explain why accidentally GPIO10 work and GPIO9 not.\r\nI would rather was not based on assumptions, only checked how you have connected a flash.\r\n"}}