Dear comunity,
As written in subject, I'm facing problems uploading binaries to the esp8266 microcontroller.
Environment: via linuxulator (ubuntu/debian-env) the espressif-RTOS-sdk and the xtensa-lx106-toolchain is installed (tried to install from scratch natively before, but I failed). The hello_world-example in espressif's RTOS-SDK compiles with the linuxulator-installation from freebsd-userspace (IDF_PATH is set to /compat/ubuntu/<path-to-environment>) without errors.
When trying to upload to the contoller via
the system shows the following:
When trying to get connection via
I'm receiving:
Of cause I searched at the troubleshooting-docs of espressif, but I didn't find a proper solution. It's not a hardware/wiring problem as under linux it runs with the esp8266-SDK/xtensa-gcc above (plus same cable and wiring).
When trying using the freebsd native py311-esptool, it fails with the same error.
Somebody may have a useful hint where to look further?
Best regards and
thank you for reading
Paule
As written in subject, I'm facing problems uploading binaries to the esp8266 microcontroller.
Environment: via linuxulator (ubuntu/debian-env) the espressif-RTOS-sdk and the xtensa-lx106-toolchain is installed (tried to install from scratch natively before, but I failed). The hello_world-example in espressif's RTOS-SDK compiles with the linuxulator-installation from freebsd-userspace (IDF_PATH is set to /compat/ubuntu/<path-to-environment>) without errors.
When trying to upload to the contoller via
Code:
gmake flash
Code:
Toolchain version: esp-2020r3-49-gd5524c1
Compiler version: 8.4.0
Python requirements from /compat/ubuntu/home/userdir/.esp/ESP8266_RTOS_SDK/requirements.txt are satisfied.
App "hello-world" version: v3.4-112-gda7ce37b
Flashing binaries to serial port /dev/cuaU0 (app at offset 0x10000)...
esptool.py v2.4.0
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header
gmake: *** [/compat/ubuntu/home/userdir/.esp/ESP8266_RTOS_SDK/components/esptool_py/Makefile.projbuild:76: flash] Error 2
When trying to get connection via
Code:
esptool.py --trace --port /dev/cuaU0 flash_id
Code:
esptool.py v4.10.0
Serial port /dev/cuaU0
Connecting...TRACE +0.000 command op=0x08 data len=36 wait_response=1 timeout=0.100 data=
0707122055555555 5555555555555555 | ... UUUUUUUUUUUU
5555555555555555 5555555555555555 | UUUUUUUUUUUUUUUU
55555555 | UUUU
<repeated above output lots of times>
.
A fatal error occurred: Failed to connect to Espressif device: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
When trying using the freebsd native py311-esptool, it fails with the same error.
Somebody may have a useful hint where to look further?
Best regards and
thank you for reading
Paule