Hi Greg, the ticket is referred to serial handshake but ... I'm not using any kind of hanshake and the signal lines are disconnected. I guess that the RI is floating and the proof is that with the serial monitor I see RI flashing also when using the application on the host (VM not running). It seems that the virtual com is not giving back the received char to the application but the driver received it as from the status flag.
Anyway, after your reply I took a closer look to tickets and I found some similarity with #1548, but ... I am missing a single character (the device reply) as shown in the log of the host. I don't know the code behind VB UART, but I don't think that buffering could solve this issue. Egon > Looks like you're seeing a problem already documented in ticket 812. > > Greg > > > On Wed, Jan 20, 2010 at 08:00:48PM +0100, Egon Carusi wrote: >> Hi all, >> I'm experiencing a trange problem with a Windows ( XP SP3 ) Guest >> running on a Windows ( 7 x64 ) Host and serial communications. >> >> I'm trying to serial flashing an STM32 MCU (using ST flash loader app) >> from the guest, but ... it just stop sending data to the MCU after few >> bytes. Device recognition and setup works flawess. >> Obiviously, same application with same device works on Host. >> >> Serial port onguest is configued as COM1 host device (manually >> configured on guest from device manager). >> >> After some unsuccesful tries I decide to monitor the serial port to >> verify guest behaviour. >> Here are the results with stripped serial and device initialization >> since they appears to be the same in both (I have those logs if >> needed). The first Write is also the first big chunk of data sent >> (with big I mean > 10 bytes) >> >> HOST (working) >> >> 000282: Write Request (DOWN), 20.01.2010 19:19:25.303 +0.0 >> Buffer size: 0xfc bytes >> ?00 50 00 20 F1 00 00 08 EC 00 00 08 EC 00 00 08?? .P. ?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 71 1F 00 08?? ?...?...?...q... >> ?EC 00 00 08 EC 00 00 08 A1 1F 00 08 F1 1F 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 41 70 00 08?? ?...?...?...Ap.. >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 B1 92 00 08?? ?...?...?...??.. >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 E1 74 00 08?? ?...?...?...?t.. >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 FE E7 00 00?? ?...?...?...??.. >> ?72 B6 14 48 14 49 A0 EB 01 00 80 F3?????????????? r?.H.I??..?? >> 000283: Write Request (UP), 20.01.2010 19:19:25.373 +0.070 >> Buffer size: 0xfc bytes >> Status: 0x00000000 >> >> 000284: Write Request (DOWN), 20.01.2010 19:19:25.373 +0.0 >> Buffer size: 0x1 bytes >> ?CA??????????????????????????????????????????????? ? >> >> 000285: Write Request (UP), 20.01.2010 19:19:25.373 +0.0 >> Buffer size: 0x1 bytes >> Status: 0x00000000 >> >> 000286: Read Request (DOWN), 20.01.2010 19:19:25.373 +0.0 >> Buffer size: 0x0 bytes >> >> 000287: Read Request (UP), 20.01.2010 19:19:25.383 +0.010 >> Buffer size: 0x1 bytes >> Status: 0x00000000 >> ?79??????????????????????????????????????????????? y >> >> >> GUEST (not working) >> >> 000324: Write Request (DOWN), 20.01.2010 18:47:31.757 +0.0 >> Buffer size: 0xfc bytes >> ?00 50 00 20 F1 00 00 08 EC 00 00 08 EC 00 00 08?? .P. ?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 71 1F 00 08?? ?...?...?...q... >> ?EC 00 00 08 EC 00 00 08 A1 1F 00 08 F1 1F 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 41 70 00 08?? ?...?...?...Ap.. >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 B1 92 00 08?? ?...?...?...??.. >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 EC 00 00 08?? ?...?...?...?... >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 E1 74 00 08?? ?...?...?...?t.. >> ?EC 00 00 08 EC 00 00 08 EC 00 00 08 FE E7 00 00?? ?...?...?...??.. >> ?72 B6 14 48 14 49 A0 EB 01 00 80 F3?????????????? r?.H.I??..?? >> 000325: Write Request (UP), 20.01.2010 18:47:31.766 +0.009 >> Buffer size: 0xfc bytes >> Status: 0x00000000 >> >> 000326: Write Request (DOWN), 20.01.2010 18:47:31.766 +0.0 >> Buffer size: 0x1 bytes >> ?CA??????????????????????????????????????????????? ? >> >> 000327: Write Request (UP), 20.01.2010 18:47:31.766 +0.0 >> Buffer size: 0x1 bytes >> Status: 0x00000000 >> >> 000328: Read Request (DOWN), 20.01.2010 18:47:31.766 +0.0 >> Buffer size: 0x0 bytes >> >> 000329: Read Request (UP), 20.01.2010 18:47:40.592 +8.826 >> Buffer size: 0x0 bytes >> Status: 0x00000102 >> >> In this last Read Request the read timeout elapsed but ... in the >> status appers to be a byte received (EV_RXFLAG set) but no data >> returned ... >> >> Anyway you may also notice that EV_RING is set ... serial comm is >> three wire no handshake and i noticed RING and some other signals >> moving also on HOST. >> >> Can someone confirm that this is a problem on VB or I have to >> investigate with ST? >> >> Thanks, >> Egon >> >> _______________________________________________ >> vbox-users mailing list >> vbox-users@virtualbox.org >> http://vbox.innotek.de/mailman/listinfo/vbox-users >> _______________________________________________ vbox-users mailing list vbox-users@virtualbox.org http://vbox.innotek.de/mailman/listinfo/vbox-users