Page 1 of 1

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

Posted: Thu Mar 02, 2017 12:09 am
by roctwo
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.

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

Posted: Thu Mar 02, 2017 12:25 am
by WiFive
There is some other posts about serial port inside VM issue.

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

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

Posted: Fri Mar 03, 2017 6:14 am
by ESP_Angus
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.)