Disable debug messages on serial port.
- From: BrownB <cristian.brunelli@xxxxxxxxxxx>
- Date: Fri, 5 Sep 2008 09:29:40 -0700 (PDT)
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
.
- Follow-Ups:
- Re: Disable debug messages on serial port.
- From: Bruce Eitman [eMVP]
- Re: Disable debug messages on serial port.
- From: Paul G. Tobey [eMVP]
- Re: Disable debug messages on serial port.
- From: Bruce Eitman [eMVP]
- Re: Disable debug messages on serial port.
- Prev by Date: Re: KITLinterruptthread
- Next by Date: Re: Disable debug messages on serial port.
- Previous by thread: KITLinterruptthread
- Next by thread: Re: Disable debug messages on serial port.
- Index(es):
Relevant Pages
|