-->
Page 1 of 4

DO I need to erase old nodemcu from chip ?

PostPosted: Mon Mar 30, 2015 6:29 pm
by mickey
DO I need to erase old nodemcu from chip if I want to use it with arduino IDE?
because I keep getting this error just before upload finished:
Code: Select allespcomm_cmd: sending command payload
   serialport_receive_C0: 00 instead of C0
warning: espcomm_sync failed
error: espcomm_open failed

Re: DO I need to erase old nodemcu from chip ?

PostPosted: Mon Mar 30, 2015 6:40 pm
by AlexanderB
Same quesiton, I get a similar error:
Sketch uses 174,082 bytes (33%) of program storage space.
Maximum is 524,288 bytes.

warning: espcomm_sync failed
error: espcomm_open failed


Already tried adding the GPIO 0 ground wire to see if that helps, no difference.

Re: DO I need to erase old nodemcu from chip ?

PostPosted: Mon Mar 30, 2015 7:47 pm
by picstart
This arduino IDE has great prospects. I find esptool to have issues. It is inconsistant. The same usb uart interface and the same esp8266 board ex esp02 will work tirelessly with Nodemcu flashes and with CHERTS eclipse IDE for windows but for uploading a sketch it is flakey. However the arduino sketch upload always seems to work on the second or third try. It could be an issue with taking the esp8266 into uart programming mode at power up..I have GPIO00 jumpered to GND but maybe not.
Anyway try running the upload again immediately after the upload fails.

Re: DO I need to erase old nodemcu from chip ?

PostPosted: Tue Mar 31, 2015 1:42 am
by magnat
If you using OS X try the solution on the end of this issue:
https://github.com/esp8266/Arduino/issues/3