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.
Huzzah ESP8266 Upload Problems
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- krt72012
- Posts: 9
- Joined: Mon Feb 02, 2015 6:06 pm
Huzzah ESP8266 Upload Problems
- Attachments
-
- Screen Shot 2015-06-15 at 10.34.00 PM.png (94.71 KiB) Viewed 7984 times
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Huzzah ESP8266 Upload Problems
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?
Would it be possible for you to use Windows for this project?
- adafruit2
- Posts: 22148
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Huzzah ESP8266 Upload Problems
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 :/
- krt72012
- Posts: 9
- Joined: Mon Feb 02, 2015 6:06 pm
Re: Huzzah ESP8266 Upload Problems
Yes I can, I will give that a try after trying adafruit2's suggestion. Thanks!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?
Alright no problem, thanks for the help!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 :/
- goliatone
- Posts: 7
- Joined: Sat Mar 14, 2015 9:34 pm
Re: Huzzah ESP8266 Upload Problems
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:
I'm on a Mac, with no access to a Windows box
Code: Select all
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
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Huzzah ESP8266 Upload Problems
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
https://www.adafruit.com/product/954
The FTDI cable works fine on MacOSX:
https://www.adafruit.com/product/70
- rmwutr
- Posts: 6
- Joined: Sun Nov 11, 2012 2:39 pm
Re: Huzzah ESP8266 Upload Problems
@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.
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.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Huzzah ESP8266 Upload Problems
I use the FTDI cable with it on my MBP. It works just fine.
- light_dayforger
- Posts: 25
- Joined: Wed Apr 13, 2016 11:20 pm
Re: Huzzah ESP8266 Upload Problems
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
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
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Huzzah ESP8266 Upload Problems
Did you change the Reset Method from ck to nodemcu?
- light_dayforger
- Posts: 25
- Joined: Wed Apr 13, 2016 11:20 pm
Re: Huzzah ESP8266 Upload Problems
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
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
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Huzzah ESP8266 Upload Problems
You should be using the Generic ESP8266 Module board type. In the board type dropdown menu, you will see "Reset method"
- light_dayforger
- Posts: 25
- Joined: Wed Apr 13, 2016 11:20 pm
Re: Huzzah ESP8266 Upload Problems
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
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
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Huzzah ESP8266 Upload Problems
There are some problems with the Adafruit ESP8266 board support package. While those are being worked out, we don't recommend using it.
- light_dayforger
- Posts: 25
- Joined: Wed Apr 13, 2016 11:20 pm
Re: Huzzah ESP8266 Upload Problems
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
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
Please be positive and constructive with your questions and comments.