Re: Disable debug messages on serial port.

Tech-Archive recommends: Fix windows errors by optimizing your registry



Remember that you can call any serial port at all on the system "COM1:".
There is no association between the serial port at address 0x378 and
COM<anything>. That association occurs entirely under the control of your
registry settings. A common problem with Windows CE is assuming that the
port that DOS calls COM1 will also be called COM1 in Windows CE. It might
be, if you set up the registry that way, but it might not and frequently
will not be if you are using a serial port for serial debug messages. The
x86 BSPs usually use what DOS would call COM1 for that, so they instead call
the port that DOS would call COM2 COM1 instead.

Paul T.

"BrownB" <cristian.brunelli@xxxxxxxxxxx> wrote in message
news:ac448980-8b72-48cb-9da9-62e4009ed5e0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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: Can a USB driver exposed functions like RS232 COM port?
    ... I mean a Serial Appliation S/W talk to USB port? ... you can create a USB class driver which makes your cable ... If you would have all that but a serial port on hand held device, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Can a USB driver exposed functions like RS232 COM port?
    ... the connection from USB to the serial port connected to whatever is on the ... you can create a USB class driver which makes your cable ... If you would have all that but a serial port on hand held device, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Can a USB driver exposed functions like RS232 COM port?
    ... the connection from USB to the serial port connected to whatever is on the ... you can create a USB class driver which makes your cable ... If you would have all that but a serial port on hand held device, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Can a USB driver exposed functions like RS232 COM port?
    ... So I need to use an USB port. ... so you have a hand held device, which will run Citrix ICA client on it. ... If you would have all that but a serial port on hand held device, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Please advice for USB interaction
    ... USB port for this. ... I hope you understand that a USB port accepts only digital signals and ... If you use the serial port, ...
    (comp.os.linux.hardware)