0

Unable to upload blink sketch to Feather Huzzah 8266
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Unable to upload blink sketch to Feather Huzzah 8266

by sfgilmore on Thu May 30, 2019 11:03 pm

I need some help with a brand new Feather Huzzah that I am trying to get setup. After following the setup steps on the product page, I tried uploading the example blink sketch through the Arduino IDE. When I do this, I am getting an espcomm_upload_mem error back (below). I tried following the advice in this thread (viewtopic.php?f=19&t=91951), but these suggestions have not worked for me.

Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.9 (Windows 10), Board: "Adafruit Feather HUZZAH ESP8266, 80 MHz, Flash, 4M (3M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Sketch uses 247936 bytes (23%) of program storage space. Maximum is 1044464 bytes.
Global variables use 28016 bytes (34%) of dynamic memory, leaving 53904 bytes for local variables. Maximum is 81920 bytes.
Uploading 252080 bytes from C:\Users\AppData\Local\Temp\arduino_build_94720/huzzah_test.ino.bin to flash at 0x00000000
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
sfgilmore
 
Posts: 5
Joined: Tue Dec 24, 2013 4:19 pm

Re: Unable to upload blink sketch to Feather Huzzah 8266

by adafruit_support_mike on Fri May 31, 2019 3:19 am

As an initial sanity check, verify your USB cable by using it to connect some other, known-working device to the computer.

There's a plague of charge-only cables out there with USB connectors at both ends, but no wires for the data signals. We see people get caught by them every day.

Just swapping cables doesn't fix anything. It's become normal for people to say they had to test three or four cables before finding one that supported a data connection. You need the true positive of a working connection to rule out the false negative of a charge-only cable.

adafruit_support_mike
 
Posts: 57354
Joined: Thu Feb 11, 2010 2:51 pm

Re: Unable to upload blink sketch to Feather Huzzah 8266

by sfgilmore on Fri May 31, 2019 3:46 am

Yes, I've seen a lot of discussion on that in the forums. When I enable the serial monitor on the connection to the board at 115200 baud, I am able to see the board scanning wifi networks and can see some other text if I hit reset on the board. So it seems to be transmitting data.

adafruit_support_mike wrote:As an initial sanity check, verify your USB cable by using it to connect some other, known-working device to the computer.

There's a plague of charge-only cables out there with USB connectors at both ends, but no wires for the data signals. We see people get caught by them every day.

Just swapping cables doesn't fix anything. It's become normal for people to say they had to test three or four cables before finding one that supported a data connection. You need the true positive of a working connection to rule out the false negative of a charge-only cable.
sfgilmore
 
Posts: 5
Joined: Tue Dec 24, 2013 4:19 pm

Re: Unable to upload blink sketch to Feather Huzzah 8266

by adafruit_support_mike on Sat Jun 01, 2019 2:55 am

Okay, we can check that off the list.

Open the Arduino IDE's preferences, enalble verbose messages during upload, and try doing the upload again. The contents of the debug pane will have more detailed information about what's going wrong.

adafruit_support_mike
 
Posts: 57354
Joined: Thu Feb 11, 2010 2:51 pm

Re: Unable to upload blink sketch to Feather Huzzah 8266

by sfgilmore on Sun Jun 02, 2019 11:03 pm

Ok, here is the output:

Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.9 (Windows 10), Board: "Adafruit Feather HUZZAH ESP8266, 80 MHz, Flash, 4M (3M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Sketch uses 247936 bytes (23%) of program storage space. Maximum is 1044464 bytes.
Global variables use 28016 bytes (34%) of dynamic memory, leaving 53904 bytes for local variables. Maximum is 81920 bytes.
C:\Users\seanf\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.13/esptool.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -cf C:\Users\AppData\Local\Temp\arduino_build_551751/huzzah_test.ino.bin
esptool v0.4.13 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
   setting board to nodemcu
   setting baudrate from 115200 to 115200
   setting port from COM1 to COM3
An error occurred while uploading the sketch
   setting address from 0x00000000 to 0x00000000
   espcomm_upload_file
   espcomm_upload_mem
   setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   espcomm_send_command: receiving 4 bytes of data
resetting board
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
resetting board
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   read 0, requested 1
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   espcomm_send_command: receiving 4 bytes of data
trying to connect
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   espcomm_send_command: receiving 4 bytes of data
   espcomm_send_command: receiving 4 bytes of data
   espcomm_send_command: receiving 4 bytes of data
   espcomm_send_command: receiving 4 bytes of data
   espcomm_send_command: receiving 4 bytes of data
   espcomm_send_command: receiving 4 bytes of data
   espcomm_send_command: receiving 4 bytes of data
   espcomm_send_command: receiving 4 bytes of data
Uploading 252080 bytes from C:\Users\seanf\AppData\Local\Temp\arduino_build_551751/huzzah_test.ino.bin to flash at 0x00000000
   erasing flash
   size: 03d8b0 address: 000000
   first_sector_index: 0
   total_sector_count: 62
   head_sector_count: 16
   adjusted_sector_count: 46
   erase_size: 02e000
   espcomm_send_command: sending command header
   espcomm_send_command: sending command payload
   setting serial port timeouts to 15000 ms
   read 0, requested 1
   setting serial port timeouts to 1000 ms
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
closing bootloader
   flush start
   setting serial port timeouts to 1 ms
   setting serial port timeouts to 1000 ms
   flush complete
error: espcomm_upload_mem failed

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
sfgilmore
 
Posts: 5
Joined: Tue Dec 24, 2013 4:19 pm

Re: Unable to upload blink sketch to Feather Huzzah 8266

by adafruit_support_mike on Mon Jun 03, 2019 12:36 am

Thank you, that does show a lot of failures at the connection level.

What do you see in the Device Manager when the Feather is connected to the computer?

adafruit_support_mike
 
Posts: 57354
Joined: Thu Feb 11, 2010 2:51 pm

Re: Unable to upload blink sketch to Feather Huzzah 8266

by sfgilmore on Mon Jun 03, 2019 10:25 pm

On COM3, I see it listed as "Silicon Labs CP210X USB to UART Bridge" and Windows 10 claims that "This device is working properly."

adafruit_support_mike wrote:Thank you, that does show a lot of failures at the connection level.

What do you see in the Device Manager when the Feather is connected to the computer?
sfgilmore
 
Posts: 5
Joined: Tue Dec 24, 2013 4:19 pm

Re: Unable to upload blink sketch to Feather Huzzah 8266

by adafruit_support_mike on Tue Jun 04, 2019 1:53 am

That suggests the problem is somewhere farther into the board then.

Post a photo showing the component side of the Feather, and any connections you might have made to it please. 800x600 images usually work best.

adafruit_support_mike
 
Posts: 57354
Joined: Thu Feb 11, 2010 2:51 pm

Re: Unable to upload blink sketch to Feather Huzzah 8266

by sfgilmore on Tue Jun 04, 2019 10:57 pm

Nothing attached to the board at this point, just wanted to verify that everything was working normally before I started my project. I ordered it with the female headers pre-soldered on.



adafruit_support_mike wrote:That suggests the problem is somewhere farther into the board then.

Post a photo showing the component side of the Feather, and any connections you might have made to it please. 800x600 images usually work best.
Attachments
IMG_20190604_001859.png
IMG_20190604_001859.png (779.57 KiB) Viewed 28 times
IMG_20190604_001847 (1).png
IMG_20190604_001847 (1).png (740.05 KiB) Viewed 28 times
sfgilmore
 
Posts: 5
Joined: Tue Dec 24, 2013 4:19 pm

Re: Unable to upload blink sketch to Feather Huzzah 8266

by adafruit_support_mike on Tue Jun 04, 2019 11:43 pm

Ah.. that isn't an ESP8266. It's an ESP32.

Try using the ESP32 board support package and build target.. see how that works.

adafruit_support_mike
 
Posts: 57354
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.