"make flash" can't work in 32bit linux.

roctwo
Posts: 95
Joined: Mon Nov 28, 2016 3:12 am

"make flash" can't work in 32bit linux.

Postby roctwo » Thu Mar 02, 2017 12:09 am

Hi!
"make flash" can't work in 32bits linux.Is that right?Can "make flash" work in 64bits linux?If it is,when will you make "make flash" work in 32bits linux.
root@esp8266-VirtualBox:/mnt/Share/esp32/myapp/esp32-cam-demo217# make flash
Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
esptool.py v2.0-beta1
Connecting...........................................

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Best regards.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: "make flash" can't work in 32bit linux.

Postby WiFive » Thu Mar 02, 2017 12:25 am

There is some other posts about serial port inside VM issue.

viewtopic.php?t=1042
viewtopic.php?t=562

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: "make flash" can't work in 32bit linux.

Postby ESP_Angus » Fri Mar 03, 2017 6:14 am

A fix for this issue (automatic resets not working in VMs) is in the esptool master branch and will be in IDF master soon.

In the meantime, you can do either one of two things:
- Manually hold down the "BOOT" button while flashing.
OR
- In "make menuconfig", "Serial Flasher Config" set "Before Flashing Config" to "Reset with ESP32R0 Windows Workaround"

(Originally this issue was reported and reproduced on Windows, but it can happen on VMs of any OS.)

Who is online

Users browsing this forum: Bing [Bot], fanmen1, Google [Bot], Vineethad and 219 guests