[vbox-dev] usb firmware upload

v.brusa at joinsnc.com v.brusa at joinsnc.com
Tue Oct 6 10:05:26 GMT 2020


Hi all,
I have this strange behavior when I use arduino ide on VirtualBox 6.1.14 
(virtualbox-6.1_6.1.14-140239~Debian~buster_amd64.deb) on 
windows10/debian10 virtual machine.

bossac cannot terminate firmware upload on usb development board.

dmesg on debian10 virtual machine report on insert usb development board:

[  640.935588] usb 1-2: new full-speed USB device number 6 using ohci-pci
[  641.427835] usb 1-2: New USB device found, idVendor=239a, 
idProduct=800b, bcdDevice= 1.00
[  641.427838] usb 1-2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[  641.427839] usb 1-2: Product: Feather M0
[  641.427841] usb 1-2: Manufacturer: Adafruit
[  641.427842] usb 1-2: SerialNumber: D64388B2514D4D5447202020FF01242E
[  641.431256] cdc_acm 1-2:1.0: ttyACM0: USB ACM device

arduino ide upload detect port ttyACM0 and report:

Forcing reset using 1200bps open/close on port /dev/ttyACM0
PORTS {/dev/ttyACM0, } / {/dev/ttyACM0, } => {}
PORTS {/dev/ttyACM0, } / {/dev/ttyACM0, } => {}.
.
.
.
.
PORTS {/dev/ttyACM0, } / {/dev/ttyACM0, } => {}
PORTS {/dev/ttyACM0, } / {/dev/ttyACM0, } => {}
PORTS {/dev/ttyACM0, } / {/dev/ttyACM0, } => {}
Uploading using selected port: /dev/ttyACM0
/home/brusa/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3/bossac 
-i -d --port=ttyACM0 -U true -i -e -w -v 
/tmp/arduino_build_379594/sketch_oct06a.ino.bin -R
################# and after a few minutes #########################
Set binary mode
No device found on ttyACM0
An error occurred while uploading the sketch
Send auto-baud
Set binary mode


If I use VirtualBox 5.2 everything works correctly


any idea?

thanks

Vittorio Brusa Zappellini




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20201006/c22d3657/attachment.html>


More information about the vbox-dev mailing list