{"action":"created","issue":{"url":"https://api.github.com/repos/themadinventor/esptool/issues/22","labels_url":"https://api.github.com/repos/themadinventor/esptool/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/themadinventor/esptool/issues/22/comments","events_url":"https://api.github.com/repos/themadinventor/esptool/issues/22/events","html_url":"https://github.com/themadinventor/esptool/issues/22","id":57722677,"number":22,"title":"'Failed to connect' with multiple messages","user":{"login":"jqdoumen","id":2404711,"avatar_url":"https://avatars.githubusercontent.com/u/2404711?v=3","gravatar_id":"","url":"https://api.github.com/users/jqdoumen","html_url":"https://github.com/jqdoumen","followers_url":"https://api.github.com/users/jqdoumen/followers","following_url":"https://api.github.com/users/jqdoumen/following{/other_user}","gists_url":"https://api.github.com/users/jqdoumen/gists{/gist_id}","starred_url":"https://api.github.com/users/jqdoumen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jqdoumen/subscriptions","organizations_url":"https://api.github.com/users/jqdoumen/orgs","repos_url":"https://api.github.com/users/jqdoumen/repos","events_url":"https://api.github.com/users/jqdoumen/events{/privacy}","received_events_url":"https://api.github.com/users/jqdoumen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-15T08:21:46Z","updated_at":"2015-02-19T13:02:57Z","closed_at":null,"body":"Downloaded esptool, connected GPIO2 to 3.3V and GPIO0 to ground, booted up and executed the esptool as follows (with resulting output). \r\n\r\n$ sudo esptool.py --port /dev/tty.usbmodem1451 write_flash 0x000000 Firmware.bin \r\nConnecting...\r\nTraceback (most recent call last):\r\nFile \"/usr/local/bin/esptool.py\", line 5, in <module>\r\npkg_resources.run_script('esptool==0.1.0', 'esptool.py')\r\nFile \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py\", line 492, in run_script\r\nself.require(requires)[0].run_script(script_name, ns)\r\nFile \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py\", line 1357, in run_script\r\nexec_(script_code, namespace, namespace)\r\nFile \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py\", line 47, in exec_\r\nexec(\"\"\"exec code in globs, locs\"\"\")\r\nFile \"<string>\", line 1, in <module>\r\nFile \"/Library/Python/2.7/site-packages/esptool-0.1.0-py2.7.egg/EGG-INFO/scripts/esptool.py\", line 471, in <module>\r\n\r\nFile \"/Library/Python/2.7/site-packages/esptool-0.1.0-py2.7.egg/EGG-INFO/scripts/esptool.py\", line 149, in connect\r\n\r\nException: Failed to connect\r\n\r\nGiven the error messages, and not a trace of similar issues reported by others, is this due to the code? The 'failed to connect' could be interpreted by a wrong connection on the board or so, but the error messages makes me assume there is something not right with the esptool. \r\n"},"comment":{"url":"https://api.github.com/repos/themadinventor/esptool/issues/comments/75048205","html_url":"https://github.com/themadinventor/esptool/issues/22#issuecomment-75048205","issue_url":"https://api.github.com/repos/themadinventor/esptool/issues/22","id":75048205,"user":{"login":"a-pedde","id":9742380,"avatar_url":"https://avatars.githubusercontent.com/u/9742380?v=3","gravatar_id":"","url":"https://api.github.com/users/a-pedde","html_url":"https://github.com/a-pedde","followers_url":"https://api.github.com/users/a-pedde/followers","following_url":"https://api.github.com/users/a-pedde/following{/other_user}","gists_url":"https://api.github.com/users/a-pedde/gists{/gist_id}","starred_url":"https://api.github.com/users/a-pedde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-pedde/subscriptions","organizations_url":"https://api.github.com/users/a-pedde/orgs","repos_url":"https://api.github.com/users/a-pedde/repos","events_url":"https://api.github.com/users/a-pedde/events{/privacy}","received_events_url":"https://api.github.com/users/a-pedde/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T13:02:57Z","updated_at":"2015-02-19T13:02:57Z","body":"you shouldn't use the resistors to get 3,3v for VCC!\r\nits only for the tx/rx lines.\r\nyou can't use the arduino-board to programm the ESP without disconnecting the atmega-chip.\r\n\r\ntry to get a proper LDO (LM 1117 T3,3, TS 2940 CZ33, maybe your L78L33 is ok if it has more then 200mA output current) + 2 caps shown in the datasheets of the LDO you get.\r\n\r\ni dont think the 3,3v from arduino would be enough to connect to wifi (maybe this was the reason for the brick while you tried to flash your module via WiFi?)\r\n\r\nThe 3,3v out of the cheap FTDI/SILABS/... USB2UART adapters aren't enough for proper usage with the esp8266, too\r\n\r\n"}}