esptool on virtual box

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
uraich
Posts: 56
Joined: Tue Mar 26, 2019 12:24 pm

esptool on virtual box

Post by uraich » Mon Mar 29, 2021 3:54 pm

I am using MicroPython on Ubuntu since quite some time without any problems. Now I am forced to give it a try on Windows via virtual box. Everything seems to work fine except esptool.
esptool.PNG
esptool.PNG (31.38 KiB) Viewed 1501 times
It is not a hardware problem as esptool works fine with the ESP board on Ubuntu and it also works on the Windows side. Looks like there this some problem with DTS DTR when passing from the virtual box to the Windows driver. Does anybody have experience with this type of problem?
minicom and thonny also work ok from within the virtual box.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: esptool on virtual box

Post by Roberthh » Mon Mar 29, 2021 5:05 pm

Can you switch manually to boot loader mode by connecting GPIO0 to GND and pushing reset?

uraich
Posts: 56
Joined: Tue Mar 26, 2019 12:24 pm

Re: esptool on virtual box

Post by uraich » Mon Mar 29, 2021 8:08 pm

Yes, that works. So the problem is that DTS DTR are not correctly passed from virtual box to the Windows driver. Putting the short for flashing Micropython from time to time is ok for me.
Thanks Robert

Post Reply