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
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to