Disable debug messages on serial port.



Hello, I found a big security problem, here is the description.

I use a WinCE5 board to communicate through COM1 to my device, which
is a high voltage system. I'm working on the USB at the moment, so
that I need to attach and detach a USB device from the board.
Suddenly, the COM controlled system starts with an unwanted task: to
grow its voltage over its maximum. I had to stop it by turning it off
very quick, otherwise serial damages could occur on the board.

Now, I found what was wrong: on the COM port, keeped open by my
application to constantly communicate with the controlled system, are
sent ERROR MESSAGES SENT BY THE USB HOST DRIVER.....

The error message is this:
CQueuedPipe::ISP1161Hc_ServePTD - error(5),Count(1),
CQueuedPipe::ISP1161Hc_ServePTD - error(5),Count(2),

Now, the image I'm using is a Release image, but the COM I use (and I
can't change it ) is the debug port, where I get boot messages from my
WinCE board.

I think that this could be very harmful: imagine what could happen if
we want to use COM port to communicate with a dangerous system!!!

Have anyone experienced a similar fact? How could I be shure that the
COM port is not used to send debug messages? Thanks.

BrownB
.



Relevant Pages

  • Re: Configuring PC to see CE 6.0 usb serial virtual COM port?
    ... I'm trying to communicate between the PC and my WinCE 6.0 device using the ... USB device as a virtual COM port. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: A simple USB question
    ... am using the USB to communicate with a legacy application running on ... This application can only communicate on a COM port. ... If your legacy driver can only recognize a single COM port per USB device, you could create a 'compound device', which acts to the outside as a USB-hub. ...
    (comp.arch.embedded)
  • Configuring PC to see CE 6.0 usb serial virtual COM port?
    ... I'm trying to communicate between the PC and my WinCE 6.0 device using the ... USB device as a virtual COM port. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Visual Basic Dot Net Code to Communicate with a weight scale
    ... > If its emulating a serial port, you can simply continue using the COMM port ... > If it is its own device, then you will need to communicate with that device. ... > Remember that USB is not the device, USB is just the Bus that gets you to ...
    (microsoft.public.dotnet.languages.vb)
  • Re: USB not 2.0?
    ... is it USB 2.0 or USB 1.1? ... with error messages. ... On the front panel of the PC are a couple of USB connectors which I use ... USB port is "not ...
    (microsoft.public.windowsxp.basics)