VirtualBox

Opened 12 years ago

Closed 8 years ago

#10316 closed defect (obsolete)

USB hangup with Prolific PL2303 Serial Port

Reported by: sx270169 Owned by:
Component: USB Version: VirtualBox 4.1.8
Keywords: Cc:
Guest type: Linux Host type: Linux

Description

I have a strange problem concerning programming a Atmel Atmega16 Microcontroller from a Ubuntu 10.10 32 Bit system, running as guest in a Virtualbox 4.1.8. The Virtualbox host is a Ubuntu 11.04 64 Bit system. If programming (using avrdude) with a Programmer based on a FTDI chip, everythings works as desired. When I programm with the same type but new genearation of programmer (inside is a Prolific 2303 IC) then after 3-4 programming actions the programmer hangs up.

I monitored the bytes transfered from avrdude over the /dev/ttyUSB0 on guest over the /dev/ttyUSB3 on host system, using kernel module usbmon and th tool usbdump.

There I can see, that suddenly Virtualbox stops to send the bytes from the guest system to the host system.

Is there anyone, who has some recommendations for me to solve this problem?

Here is the montoring result:

Guest system (Ubuntu 11.10 32 Bit with VirtualBox Guest Addtions 4.1.8)

3.678067 -->2 7: 1b01 0001 0e01 14 3.691069 3<-- 1: 1b 3.693013 3<-- 16: 0100 0b0e 0100 0841 5652 4953 505f 3274 3.988874 -->2 8: 1b02 0002 0e03 9086 9.007678 -->2 7: 1b02 0001 0e01 17

on Host system (Ubuntu 11.04 64 Bit with Virtualbox 4.1.8 r75467:

3.680298 -->2 7: 1b01 0001 0e01 14 3.681245 3<-- 1: 1b 3.682745 3<-- 16: 0100 0b0e 0100 0841 5652 4953 505f 3274

now missing the next 8 bytes (1b02 0002 0e03 9086) and 7 bytes (1b02 0001 0e01 17) sent by the Ubuntu 11.10 guest system.

As result the programmer will not see any request, so it is not sending an response. The programming software avrdude is not getting any response from programmer an will result in the error ...

avrdude: Send: . [1b] . [02] . [00] . [02] . [0e] . [03] . [90] . [86] avrdude: ser_recv(): programmer is not responding avrdude: stk500_2_ReceiveMessage(): timeout avrdude: Send: . [1b] . [02] . [00] . [01] . [0e] . [01] . [17]

Change History (2)

comment:1 by sx270169, 12 years ago

Monitoring results in better format:

Virtualbox guest:

  3.678067 -->2  7: 1b01 0001 0e01 14
  3.691069 3<--  1: 1b
  3.693013 3<-- 16: 0100 0b0e 0100 0841 5652 4953 505f 3274
  3.988874 -->2  8: 1b02 0002 0e03 9086
  9.007678 -->2  7: 1b02 0001 0e01 17

Virtualbox host:

  3.680298 -->2  7: 1b01 0001 0e01 14
  3.681245 3<--  1: 1b
  3.682745 3<-- 16: 0100 0b0e 0100 0841 5652 4953 505f 3274

avrdude (programming software) running in Virtualbox gust:

avrdude: Send: . [1b] . [02] . [00] . [02] . [0e] . [03] . [90] . [86] 
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [02] . [00] . [01] . [0e] . [01] . [17]

comment:2 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use