Trouble programming using Linux Mint virtualbox on Windows 10 host
Posted: Sun Mar 17, 2019 3:02 am
Folks,
I'm having trouble programming a devkit c v4 (and another board) using a virtualbox running Linux Mint (latest version) guest on a Windows 10 host.
I added the user to the dialout group.
I captured the "Silicon Labs CP2012N USB to UART bridge controller" usb driver to the virtualbox. The corresponding device then disappears from Windows device manager as expected. When attempting programming, the red activity light on the usb icon at the bottom of the virtualbox window flashes.
There is another driver in the list that seems associated with the same hardware: "Cygnal Integrated Products Inc, CP210x UART bridge/myavr mySmartUSB light [0100]" that I can't seem to capture.
make flash runs and I get the dots and underscores, then "timed out waiting for packet header".
Connecting using putty on the guest at 115200 works and shows the normal ESP32 boot message.
I also tried with a different design of target board with an FTDI adapter. This had the same result (no connection), and via the status lights I could see activity on both the transmit and receive lines when programming was being attempted (and no lights when programming was not going on). Putty worked with this setup also.
Also tried slower speeds, but no change.
The same hardware in the same ports work fine when directly programming from Windows 10 after closing the virtualbox.
Any suggestions?
Thanks
I'm having trouble programming a devkit c v4 (and another board) using a virtualbox running Linux Mint (latest version) guest on a Windows 10 host.
I added the user to the dialout group.
I captured the "Silicon Labs CP2012N USB to UART bridge controller" usb driver to the virtualbox. The corresponding device then disappears from Windows device manager as expected. When attempting programming, the red activity light on the usb icon at the bottom of the virtualbox window flashes.
There is another driver in the list that seems associated with the same hardware: "Cygnal Integrated Products Inc, CP210x UART bridge/myavr mySmartUSB light [0100]" that I can't seem to capture.
make flash runs and I get the dots and underscores, then "timed out waiting for packet header".
Connecting using putty on the guest at 115200 works and shows the normal ESP32 boot message.
I also tried with a different design of target board with an FTDI adapter. This had the same result (no connection), and via the status lights I could see activity on both the transmit and receive lines when programming was being attempted (and no lights when programming was not going on). Putty worked with this setup also.
Also tried slower speeds, but no change.
The same hardware in the same ports work fine when directly programming from Windows 10 after closing the virtualbox.
Any suggestions?
Thanks