0

Huzzah ESP8266 Upload Problems
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Sun May 08, 2016 9:46 am

Hmm. that's a different error than we usually see with upload problems.
Are you using the Generic ESP8266 board type? In the Tools menu, do you have the Reset Method set to nodemcu (instead of 'ck')?
Can you try some different USB cables?

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

Re: Huzzah ESP8266 Upload Problems

by pgebhard on Mon May 09, 2016 1:42 pm

I was trying out Platform.io since I was having trouble in the Arduino IDE...had tried the same methods for that, including using the Generic ESP8266 board type and ensuring the nodemcu reset method is set. I'll try that again and also try with some more USB cables and report back here.

pgebhard
 
Posts: 2
Joined: Wed Apr 23, 2014 12:26 pm

Re: Huzzah ESP8266 Upload Problems

by awdriggs on Sat Dec 03, 2016 9:04 pm

Was this issue ever completely resolved? I having problems uploading anything to the Huzzah through the arduino IDE. I get this error.

Code: Select all | TOGGLE FULL SIZE
esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
   setting board to nodemcu
   setting baudrate from 115200 to 115200
   setting port from /dev/tty.usbserial to /dev/cu.SLAB_USBtoUART
   setting address from 0x00000000 to 0x00000000
   espcomm_upload_file
   espcomm_upload_mem
opening port /dev/cu.SLAB_USBtoUART at 115200
error: cannot access /dev/cu.SLAB_USBtoUART

error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed


I'm working on a macbook pro, osx 10.12.1. I've run through all the suggestions in this post and still no luck.

awdriggs
 
Posts: 3
Joined: Sat Dec 03, 2016 4:26 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Sun Dec 04, 2016 10:41 am

Is this a Feather HUZZAH or a HUZZAH breakout?

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

Re: Huzzah ESP8266 Upload Problems

by awdriggs on Sun Dec 04, 2016 9:54 pm

Feather Huzzah

sorry I wasn't more specific.

awdriggs
 
Posts: 3
Joined: Sat Dec 03, 2016 4:26 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Mon Dec 05, 2016 9:36 am

When you try to upload, does the red LED start pulsing faintly?
Do you have anything attached to the Feather?

This is odd, because the Mac appears to be finding the serial port, but Arduino is not able to talk to it.

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

Re: Huzzah ESP8266 Upload Problems

by awdriggs on Mon Dec 05, 2016 10:25 am

I just have some leads soldered to the pwr, gnd, adc, and 0. There is not pulsing LED during the upload just solid red.

I know it is not an issue with the board, I was able to load the blink script from another computer no problem. It was a macbook air also running 10.12.1.

Yesterday I tried to upload the blink sketch after restarting the computer. It took the IDE several minutes but I got a done message with no error, but the sketch did not run on the feather board. All the upload attempts after that produced the same error.

In my troubleshooting I was thinking it might be an issue with permissions. so I did `chmod 775 dev/cu.SLAB_USBtoUART` in the terminal. Still no dice. But I did notice that the cu.SLAB_USBtoUART only shows in the dev folder when the device is plugged into the computer. I'm not sure if this is normal or not.

Could it be an issue with the driver from SI labs? The website has the driver support listed up to 10.11 but not 10.12.

awdriggs
 
Posts: 3
Joined: Sat Dec 03, 2016 4:26 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Mon Dec 05, 2016 1:03 pm

awdriggs wrote:Could it be an issue with the driver from SI labs? The website has the driver support listed up to 10.11 but not 10.12.
Well, you said it worked from another computer running 10.12, right? So that's not the problem.
I'm not sure you should have anything connected to digital 0. That bit is involved in the bootloader operation. Can you move that connection?
You might also try going through a USB hub. There may be something about the USB port on the Air.

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

Re: Huzzah ESP8266 Upload Problems

by MPFritz on Fri Feb 03, 2017 6:40 pm

Any update on this?

I have to admit that the admin are saying, "use a windows machine, or get a FTDI cable" (after we spent money on a console cable) is kinda a crappy thing to say. I hate to be a jerk because I have had great adafruit experiences until this. Hope others are having better luck...

MPFritz
 
Posts: 1
Joined: Fri Feb 03, 2017 6:35 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Fri Feb 03, 2017 9:12 pm

You have a Huzzah breakout and you're trying to use it with a Mac? What exactly is the problem you're having? What is the red LED doing when you try to upload?

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

Re: Huzzah ESP8266 Upload Problems

by cbrucewarren on Sat Feb 04, 2017 12:37 am

MPFritz:

I see that this is your first post, so you have not described your problem. I have a MAC and have no problem using a Huzzah (unless you forget to disable deepsleep wiring before trying to upload ! :-) )

cbrucewarren
 
Posts: 77
Joined: Sun Mar 09, 2014 1:57 pm

Re: Huzzah ESP8266 Upload Problems

by cfatbu on Wed Jul 19, 2017 2:57 pm

I'm having a similar problem to others, where I'm trying to get the basic LED flash program to load onto the Huzzah ESP8266 that I recently ordered (7/17). The USB-Serial cable that I originally had didn't seem to work so I purchased the FTDI cable listed on adafruit (working on a Mac Powerbook OS10.12.5).

Question #1: The pinout diagram for the FTDI (https://www.adafruit.com/product/70) shows that its orange pinout, adjacent to the red V+, corresponds to Tx, while the yellow cable corresponds to RX. These are not in the same order as the pinouts on the Huzzah, which have Rx between the V+ and Tx (FTDI: V+, Tx, Rx; Huzzah: V+, Rx, Tx). Does anyone know whether these pinouts do follow this order, or if the FTDI pinout diagram has a mistake and that it does instead match the Huzzah pinout order?

Question #2: Regardless of which way I connect the Tx pins on the board and cable (I've tried both combinations), I continually receive the same error message when I try uploading the LED flash program (using Arduino 1.8.3) listed on the adafruit Huzzah Overview page:

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

I've configured Arduino IDE to:
board: Adafruit Huzzah ESP8266
CPU Freq: 80 MHz
Baud: 9600
Port: /dev/cu.usbserial-AH05JECQ

Background steps: I removed all FTDI drivers on my Mac (the USB-Serial port wasn't recognized previously and now it is). I have a 220 ohm resistor connected between GND & GPIO0 (the blue LED was previously staying solid). The red LED is consistently dim, and I consistently press the GPIO0 and reset buttons prior to each upload attempt.

Does anyone have suggestions on how to upload without getting these errors?

cfatbu
 
Posts: 14
Joined: Wed Jul 19, 2017 2:39 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Thu Jul 20, 2017 10:09 am

Question 1: You have to connect RX to TX and TX to RX. That's why they're crossed. The pinout is correct.

Can you try the Generic ESP8266 profile? Leave the settings at the defaults, except change the Reset method from 'ck' to 'nodemcu'

Also, please post some pictures of your wiring and soldering

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

Re: Huzzah ESP8266 Upload Problems

by cfatbu on Wed Jul 26, 2017 4:39 pm

Thanks for the suggestions. I switched to these settings and had success implementing the LED flash program. I moved on to working with the Adafruit BME280 sensor platform and while I was able to successfully communicate with it, the actual sensor readings (temperature, humidity, pressure) all returned NaN. The BME280 is functioning properly and I'm confident in my code, as I can successfully communicate with it via my Arduino Uno. However, now that I've switched back to the Huzzah, I'm getting the same error messages that I reported in my earlier post, despite using the Generic ESP8266 profile and nodemcu setting. Any other thoughts? I've attached a screenshot of my wiring
IMG_2538.jpg
IMG_2538.jpg (792.63 KiB) Viewed 1232 times
and my code
Screen Shot 2017-07-26 at 4.32.13 PM.png
code & settings
Screen Shot 2017-07-26 at 4.32.13 PM.png (146.54 KiB) Viewed 1232 times
.

cfatbu
 
Posts: 14
Joined: Wed Jul 19, 2017 2:39 pm

Re: Huzzah ESP8266 Upload Problems

by adafruit_support_rick on Thu Jul 27, 2017 10:17 am

Could be pin 15. That must be held high on power-up/reset. MISO may hold it low, depending on what the BME280 does with it. Try switching that to a different pin.

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

Please be positive and constructive with your questions and comments.