﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>RoboticsConnection User Forum / RoboticsConnection Software Support / Windows CE Support Forum  / IO Exception upon opening COM port on Ebox2300 / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>RoboticsConnection User Forum</description><link>http://www.roboticsconnection.com/userForums/</link><webMaster>info@roboticsconnection.com</webMaster><lastBuildDate>Mon, 06 Oct 2008 11:03:35 GMT</lastBuildDate><ttl>20</ttl><item><title>IO Exception upon opening COM port on Ebox2300</title><link>http://www.roboticsconnection.com/userForums/Topic465-21-1.aspx</link><description>&lt;FONT color=#2b91af size=2&gt;&lt;P&gt;&lt;FONT color=#111111&gt;[font=""]Hello,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111111&gt;I am trying to access either of the serial port of Ebox2300 but IO Exception is raised at sp.Open(); line of the following program:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111111&gt;[code]&lt;BR&gt;SerialPort sp = new SerialPort("COM1", 19200, Parity.None, 8, StopBits.One);&lt;BR&gt;//SerialPort sp = new SerialPort("COM2", 19200, Parity.None, 8, StopBits.One); &lt;BR&gt;//The error is raised even if I change COM1 to COM2&lt;BR&gt;if (sp.IsOpen)&lt;BR&gt;{&lt;BR&gt;sp.Close();&lt;BR&gt;}&lt;BR&gt;sp.Open(); // Here exception is raised.&lt;BR&gt;sp.Close(); [/code]&lt;BR&gt;---------------------------------------&lt;BR&gt;I have downloaded ICOP_Vortex86_60CS_BSP.msi and built my image as per eBox-2300 Jump Start Guide. &lt;BR&gt;I have added Serial Port Support, Com_Card, Com16550 and Com16550 (Second Instance) in addition to the items mentioned in Jump start guide.&lt;BR&gt;To test that cable is properly working, I created a Direct connection for COM1/2 on WinCE running on Ebox2300. And then connected the other end of serial port to my PC. On hypertrm, it shows CLIENT CLIENT... which indicates that serial cable is working correctly.&lt;BR&gt;I have also checked that whether COM1 is mapped to COM2 for output by connecting cable to COM2 but writing COM1 in the code, but here also it raises the IO exception at sp.Open(); line.&lt;BR&gt;Your help will be greatly appreciated.&lt;BR&gt;Thanks!&lt;BR&gt; [/font]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Sat, 26 Apr 2008 09:50:58 GMT</pubDate><dc:creator>ankur</dc:creator></item></channel></rss>