VirtualBox

Ticket #10316 (new defect)

Opened 2 years ago

Last modified 2 years ago

USB hangup with Prolific PL2303 Serial Port

Reported by: sx270169 Owned by:
Priority: major 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

comment:1 Changed 2 years ago by sx270169

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]
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use