0

Huzzah ESP8266 Upload Problems
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Huzzah ESP8266 Upload Problems

by krt72012 on Mon Jun 15, 2015 10:35 pm

I'm having trouble uploading anything to my Huzzah ESP8266. This is the error I get in the Arduino IDE:

Sketch uses 191,536 bytes (36%) of program storage space. Maximum is 524,288 bytes.
Uploading 35520 bytes from /var/folders/yq/2gkzqyv96cj0k2s24p8_9q_r0000gn/T/build859208514862201885.tmp/sketch_jun15a.cpp_00000.bin to flash at 0x00000000
error: failed reading byte
warning: espcomm_cmd: cant receive slip payload data
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed

Screenshot of Arduino IDE Settings Included.

I am using Mac OSX (newest) and the serial device shows up as attached to the computer successfully.
Attachments
Screen Shot 2015-06-15 at 10.34.00 PM.png
Screen Shot 2015-06-15 at 10.34.00 PM.png (94.71 KiB) Viewed 3666 times

krt72012
 
Posts: 9
Joined: Mon Feb 02, 2015 6:06 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Tue Jun 16, 2015 9:51 am

Unfortunately, some people have been having problems with the ESP8266 and Arduino on MacOSX.
Would it be possible for you to use Windows for this project?

adafruit_support_rick
 
Posts: 34749
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Huzzah ESP8266 Upload Problems

by adafruit2 on Tue Jun 16, 2015 12:35 pm

Warning has been added to product page - we're not sure why but the ready to go ESP8266 package (https://github.com/esp8266) works but not our addon :/

adafruit2
Site Admin
 
Posts: 15222
Joined: Fri Mar 11, 2005 7:36 pm

Re: Huzzah ESP8266 Upload Problems

by krt72012 on Tue Jun 16, 2015 2:49 pm

adafruit_support_rick wrote:Unfortunately, some people have been having problems with the ESP8266 and Arduino on MacOSX.
Would it be possible for you to use Windows for this project?


Yes I can, I will give that a try after trying adafruit2's suggestion. Thanks!

adafruit2 wrote:Warning has been added to product page - we're not sure why but the ready to go ESP8266 package (https://github.com/esp8266) works but not our addon :/


Alright no problem, thanks for the help!

krt72012
 
Posts: 9
Joined: Mon Feb 02, 2015 6:06 pm

Re: Huzzah ESP8266 Upload Problems

by goliatone on Sat Oct 17, 2015 1:56 pm

Are there any updates on this? I bought three Huzzah boards, and I get the same error on all three. I'm trying to upload the blink without delay sample sketch. I get the following error:

Code: Select all | TOGGLE FULL SIZE
Sketch uses 201,122 bytes (19%) of program storage space. Maximum is 1,044,464 bytes.
Global variables use 44,608 bytes (54%) of dynamic memory, leaving 37,312 bytes for local variables. Maximum is 81,920 bytes.
Uploading 205264 bytes from /var/folders/ll/_77nyzz52tqfzdgkwbsg12xm0000gn/T/build8752112628142832207.tmp/BlinkWithoutDelay.cpp.bin to flash at 0x00000000
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed


I'm on a Mac, with no access to a Windows box

goliatone
 
Posts: 7
Joined: Sat Mar 14, 2015 9:34 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Sat Oct 17, 2015 2:55 pm

Which serial cable are you using? We have reports of problems with this one:
https://www.adafruit.com/product/954

The FTDI cable works fine on MacOSX:
https://www.adafruit.com/product/70

adafruit_support_rick
 
Posts: 34749
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Huzzah ESP8266 Upload Problems

by rmwutr on Sat Jan 16, 2016 9:58 am

@adafruit_support_rick

I too am having similar problems with the Huzzah. I have the serial cable with reports of the problem. Would the problem be fixed with FTDI cable? If so, I can order that.

rmwutr
 
Posts: 6
Joined: Sun Nov 11, 2012 2:39 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Sat Jan 16, 2016 12:26 pm

I use the FTDI cable with it on my MBP. It works just fine.

adafruit_support_rick
 
Posts: 34749
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Huzzah ESP8266 Upload Problems

by light_dayforger on Wed Apr 13, 2016 11:31 pm

Hi All,

First time poster here! I love everything that Adafruit lists on their shop, so I figured I'd give the Huzzah ESP8266 a shot.

I followed the tutorial here: https://learn.adafruit.com/adafruit-huz ... rduino-ide I got up to the point of uploading the test sketch to the board, but was faced with the infamous errors:
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed


I know I am not the only one who has experienced this, so I did some digging. Here is my setup and what I tried to do to get this working:
Setup:
OS: OS 10.10.5 and tried also on Windows 8
Arduino IDE: 1.6.8 on both OSs
Cables Tried: TTY and FTDI (both from Adafruit's shop)
Board specifics: CPU at 80 MHz, 115200 baud, Port (the appropriate one for the cable; confirmed in Device Manager on Win and System Profiler on Mac)
Huzzah ESP8266 Version: Latest! Received it 1 day ago!

Symptoms:
1. Sketch compiles fine.
2. On upload the FTDI cable starts blinking red, but nothing gets pushed to the board.

Things I verified:
1. Board is in bootload mode. Saw the blue WiFi LED flash briefly, and GPIO0 is dim red.
2. Solder joints appear to be OK. No cross solder and no cold solders.
3. Tested with TTY cable by swapping TX and RX (hoping the pinout was wrong), but still no go.

This is not my first time tinkering: been playing with Arduino UNO and various Pi's, so I am trying to figure out what else am I missing here. Any help/leads would be appreciated in troubleshooting this :)!

Best,

light_forger

light_dayforger
 
Posts: 25
Joined: Wed Apr 13, 2016 11:20 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Thu Apr 14, 2016 2:17 am

Did you change the Reset Method from ck to nodemcu?

adafruit_support_rick
 
Posts: 34749
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Huzzah ESP8266 Upload Problems

by light_dayforger on Thu Apr 14, 2016 8:19 am

Hi Rick,

Thanks for the quick reply. I don't believe I have. How does one go about doing this?

PS: I installed the FTDI drivers for the cable but also no luck on that either.

Best,

light_forger

light_dayforger
 
Posts: 25
Joined: Wed Apr 13, 2016 11:20 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Thu Apr 14, 2016 9:19 am

You should be using the Generic ESP8266 Module board type. In the board type dropdown menu, you will see "Reset method"
nodemcu.png
nodemcu.png (255.35 KiB) Viewed 2780 times

adafruit_support_rick
 
Posts: 34749
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Huzzah ESP8266 Upload Problems

by light_dayforger on Thu Apr 14, 2016 7:56 pm

Rick,

I tried what you suggested and put the board in bootload mode. This worked for me. Any idea why the Huzzah ESP8266 package didn't work?

Thanks, by the way, for all the help! This was a life saver!

light_forger

light_dayforger
 
Posts: 25
Joined: Wed Apr 13, 2016 11:20 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Fri Apr 15, 2016 9:02 am

There are some problems with the Adafruit ESP8266 board support package. While those are being worked out, we don't recommend using it.

adafruit_support_rick
 
Posts: 34749
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Huzzah ESP8266 Upload Problems

by light_dayforger on Fri Apr 15, 2016 10:19 pm

Thanks again, Rick. Bummer about the Huzzah package :/

Maybe put a link to this thread on the tutorial page, so others can see your solution? https://learn.adafruit.com/adafruit-huz ... t/overview

light_forger

light_dayforger
 
Posts: 25
Joined: Wed Apr 13, 2016 11:20 pm

Please be positive and constructive with your questions and comments.