Re: Mapping ports in emulator - PPC is deaf - addendum!
- From: "Barry Bond [MS]" <barrybo@xxxxxxxxxxxxx>
- Date: Fri, 8 Sep 2006 11:15:25 -0700
Mapping serial port 0 to your PC's COM1 sounds like this right
configuration. Inside the emulator, serial port 0 is known as COM1:.
One thing you might try doing is explicitly setting baud rate and character
length for the serial port from inside the emulator. There is a known bug
in the emulator where the serial port driver and emulated serial port
hardware don't agree on their initial states. If this doesn't work, please
post a message to the Device Emulator General forum at
http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=76&rw=true&SiteID=1
and we'll help you from there.
Barry
<PaulRAndrews@xxxxxxxxx> wrote in message
news:1157720460.042809.212720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I understand the ports in the PPC now after browsing the registry.
Still don't understand why I can write out of COM1 but not read.
Paul
PaulRAndrews@xxxxxxxxx wrote:
Scenario:
developing application for PPC 2003 SE/WM5.0 in VS 2005 which uses
a serial port on the PPC.
I have mapped serial port 0 to COM1
Problems:
Three ports are listed using SerialPort.GetPortNames()
COM1 -- ok
COM3 -- ok
COM9 -- doesn't exist?!?!?!?
There are four ports on my PC
COM1 -- Hardware Serial Port
COM2 -- USB-To-Serial
COM3 -- Internal Modem
COM4 -- USB-To-Serial
When I connect two instances of Hyperterminal together (COM2 &
COM1), I can communicate fine.
I close one instance (COM1) of HyperTerminal and debug the
application in the emulator.
The program running in the emulator sends data to the HyperTerminal
session fine but the DataReceived event never fires when going the
other way.
Also, the check box to create text console window on COM1 is
disabled in the emulator File->Configure menu not the
Tools->Options->Device Tools menu in the IDE (the settings are not
carried across from the IDE).
Any assistance in configuring would be greatly appreciated!!!!
Paul.
.
- Follow-Ups:
- Re: Mapping ports in emulator - PPC is deaf - addendum!
- From: PaulRAndrews
- Re: Mapping ports in emulator - PPC is deaf - addendum!
- References:
- Mapping ports in emulator - PPC is deaf!
- From: PaulRAndrews
- Re: Mapping ports in emulator - PPC is deaf - addendum!
- From: PaulRAndrews
- Mapping ports in emulator - PPC is deaf!
- Prev by Date: Re: Using Skin and FormFactor in VC2005
- Next by Date: Re: Mapping ports in emulator - PPC is deaf - addendum!
- Previous by thread: Re: Mapping ports in emulator - PPC is deaf - addendum!
- Next by thread: Re: Mapping ports in emulator - PPC is deaf - addendum!
- Index(es):
Relevant Pages
|
Loading