3

When trying to use the ESP8266 Node MCU or Multiple Feather Huzzah's I get the following error. I can program Arduino Uno & Mega without issue.

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

I have tried all the many fixes on the web, the real issue is that all of these devices work fine with a windows machine. Also I use VMM and QEMU, I built a Windows 10 VM and Ubuntu 20.04 - When I share ttyS0 with either of these VM's I can program the 8266 just fine, but I can not directly from my host running 22.04. I can work with the VM's but I would rather not.

Any help would be appreciated.

Rohit Gupta
6122 gold badges5 silver badges18 bronze badges
asked Jun 8, 2022 at 21:03
4
  • I'm curious to know whether or not you can connect to an already programmed board and get serial data in and out of it. Commented Jun 9, 2022 at 0:17
  • all of these devices work fine with a windows ... then your problem is with linux serial port ... nothing to do with Arduino ... you are asking at the wrong place Commented Jun 9, 2022 at 0:18
  • is it this problem? arduino.stackexchange.com/questions/86211/… Commented Jun 9, 2022 at 4:47
  • @timemage - I had the same issue will 4 esp8266's all had code running on them. The issue ended up being a conflict or something with the CP210x driver. I found this solution in a separate post - it fixed my issue and I was able to replicate and validate this worked on a second 22.04 machine. Commented Jun 13, 2022 at 16:37

1 Answer 1

2

I found this solution in a separate post - it fixed my issue and I was able to replicate and validate this worked on a second 22.04 machine.

systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
systemctl stop brltty.service
systemctl disable brltty.service
Juraj
18.3k4 gold badges31 silver badges49 bronze badges
answered Jun 13, 2022 at 16:37
1
  • this solution work also for me. thanks a lot. but what a stupid error. Commented Jun 21, 2024 at 7:06

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.