{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/2626","repository_url":"https://api.github.com/repos/esp8266/Arduino","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/2626/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/2626/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/2626/events","html_url":"https://github.com/esp8266/Arduino/issues/2626","id":184552030,"number":2626,"title":"ESP12E with CP2102","user":{"login":"vishalkothari","id":9194523,"avatar_url":"https://avatars.githubusercontent.com/u/9194523?v=3","gravatar_id":"","url":"https://api.github.com/users/vishalkothari","html_url":"https://github.com/vishalkothari","followers_url":"https://api.github.com/users/vishalkothari/followers","following_url":"https://api.github.com/users/vishalkothari/following{/other_user}","gists_url":"https://api.github.com/users/vishalkothari/gists{/gist_id}","starred_url":"https://api.github.com/users/vishalkothari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishalkothari/subscriptions","organizations_url":"https://api.github.com/users/vishalkothari/orgs","repos_url":"https://api.github.com/users/vishalkothari/repos","events_url":"https://api.github.com/users/vishalkothari/events{/privacy}","received_events_url":"https://api.github.com/users/vishalkothari/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-21T19:32:48Z","updated_at":"2016-10-22T02:14:45Z","closed_at":null,"body":"Hello ESP8266 Arduino community,\r\n\r\nMy setup is as below\r\nHardware:\t\t\tESP-12E\r\nUSB to TTL: cp2102\r\n\r\nSettings in IDE\r\nModule:  \t\t\tGeneric ESP8266 Module\r\nFlash Size: \t\t1MB\r\nCPU Frequency:\t\t80Mhz\r\nFlash Mode:\t\t\tqio\r\nFlash Frequency:\t40Mhz\r\nReset Method:\t\tck \r\nPort: 115200\r\n\r\nWith this setup when I plugin ESP-12E. AT commands are running properly.\r\nFirst error I got was \r\nwarning: espcomm_send_command: cant receive slip payload data\r\n\r\nBy looking at thread\r\nhttps://github.com/esp8266/Arduino/issues/710 and \r\nhttp://arduino.stackexchange.com/questions/20219/upload-with-esptool-fails-with-espcomm-send-command-cant-receive-slip-payload\r\n\r\nI downloaded new version of esptool.py and updated platform.txt\r\n\r\nI am using Windows 7, so I was getting \"error=193, %1 is not a valid Win32 application\" when executing esptool.py.\r\nTo solve this, I used cx_freeze to generate esptool.exe\r\n\r\nNow, when using this generated esptool.exe and trying to upload firmware, I get below error.\r\nesptool.py v1.2-dev\r\nConnecting...\r\n\r\nA fatal error occurred: Failed to connect to ESP8266\r\n\r\nAT firmware commands are still running properly.\r\nAny pointers on how to solve this will be great help.\r\n\r\n\r\nRegards,\r\nVishal Kothari\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/255501390","html_url":"https://github.com/esp8266/Arduino/issues/2626#issuecomment-255501390","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/2626","id":255501390,"user":{"login":"WereCatf","id":5520573,"avatar_url":"https://avatars.githubusercontent.com/u/5520573?v=3","gravatar_id":"","url":"https://api.github.com/users/WereCatf","html_url":"https://github.com/WereCatf","followers_url":"https://api.github.com/users/WereCatf/followers","following_url":"https://api.github.com/users/WereCatf/following{/other_user}","gists_url":"https://api.github.com/users/WereCatf/gists{/gist_id}","starred_url":"https://api.github.com/users/WereCatf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WereCatf/subscriptions","organizations_url":"https://api.github.com/users/WereCatf/orgs","repos_url":"https://api.github.com/users/WereCatf/repos","events_url":"https://api.github.com/users/WereCatf/events{/privacy}","received_events_url":"https://api.github.com/users/WereCatf/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T02:14:45Z","updated_at":"2016-10-22T02:14:45Z","body":"@vishalkothari You need to pull GPIO0 LOW if you wish to flash new code on the ESP8266. If you are using a proper devboard there is probably already a button you can hold down when you reset the board or on Nodemcu and Wemos D1 you just need to select reset method in Arduino IDE as \"Nodemcu\" and it'll do it automatically, but you if you are trying to use a custom design of your own or just a bare ESP8266-module you need to pull the GPIO0 LOW manually yourself.\r\n\r\nhttps://zoetrope.io/tech-blog/esp8266-bootloader-modes-and-gpio-state-startup"}}
{"actor":{"display_login":"WereCatf"}}