Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access host serial port from emulator

Status
Not open for further replies.

ronyhuda

Programmer
Joined
May 18, 2004
Messages
4
Location
DE
Hi,

Using the documentation, I've already written a program in embedded visual c++ to access serial port "COM1:" from emulator. Execution of this program in emulator shows that the port is connected.

I used a null modem to connect com1 and com2 of my pc. By using Hyper terminal (for com2), I tried to check whether something is coming from com1. But it seems that my physical com1 is not connected with emulator.

Even I can connect com1 by hyper terminal when emulator program is running.

Can anybody tell me how to map my physical com port with the emulator?

Thanks
rony
 
I can only tell you how to do it in Visual Studio.Net - hopefully you can do something similar in whatever environment you're using.

In VS.Net I go to the 'Tools' menu, select 'Options', go to the 'Device Tools' item and then the 'Devices' sub-item. I select the device I'm interested in. Next to the 'Startup Server' drop-down there is a 'Configure' button. This brings up a dialog with 3 tabs, one of which is 'Hardware'. On that tab there are drop-downs for mapping serial and parallel ports.

Hope that helps.

Nelviticus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top