﻿<?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  / CE 6 Serial Port Problems / 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>Thu, 04 Dec 2008 14:52:51 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: CE 6 Serial Port Problems</title><link>http://www.roboticsconnection.com/userForums/Topic296-21-1.aspx</link><description>Matthew,&lt;/P&gt;&lt;P&gt;I'm working to get the FTDI drivers working now...I broke my build somehow, and I'm trying to figure out why.  Once I get that working, I'll determine one way or another if the FTDI drivers will work.&lt;/P&gt;&lt;P&gt;Heck, I'm not even getting asked for the correct driver when I plug our USB module in to the USB port! :)&lt;/P&gt;&lt;P&gt;If you learn anything that would be useful to others, please don't hesitate to post! :)&lt;/P&gt;&lt;P&gt;Best Regards!</description><pubDate>Sun, 06 Apr 2008 19:28:23 GMT</pubDate><dc:creator>jsummerour</dc:creator></item><item><title>RE: CE 6 Serial Port Problems</title><link>http://www.roboticsconnection.com/userForums/Topic296-21-1.aspx</link><description>Thanks very much for the help.  I had tried installing the 3.5 beta compact framework and at first it didn't work.  I got to work this morning and it worked.  We have a robotics competition coming up in 2 weeks and unfortunately, I didn't have time to work out the idiosyncrasies of platform builder, so I decided to use Via's Artigo pico-itx system to run the full version of XP.  This is certainly overkill (our tasks could be done with a pic16), but it provides a familiar environment and an easier development process than CE.  It seems to me that there are still a few issues that need to be ironed out in CE 6.  Additionally, we were never able to get USB to serial adapters working.  Whenever we tried to use the FTDI provided drivers, it would either repetitively ask for the driver name, or lock the system up.  I'm sure its possible, but I simply didn't have time to figure it out right now.  &lt;br&gt;&lt;br&gt;Thanks again, and when I get more time, I'll spend some time trying to work out my issues with CE.</description><pubDate>Fri, 04 Apr 2008 21:42:30 GMT</pubDate><dc:creator>mattmiddleton</dc:creator></item><item><title>RE: CE 6 Serial Port Problems</title><link>http://www.roboticsconnection.com/userForums/Topic296-21-1.aspx</link><description>Other folks have definitely had this problem.  You don't need the work around that I described on my website any longer, with the release of .NET CF SP2 described &lt;A href="http://blogs.msdn.com/netcfteam/archive/2007/03/13/net-compact-framework-2-0-sp2-released.aspx"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;With regard to compiling in changes to drivers (which you shouldn't really need with SP2), you need to do a "Clean Sysgen" build, available in the Build | Advanced Build menu.  A regular Sysgen should work as well and will take less time, but I have seen the build system fail to compile changed source modules in the Public source tree before.  A "Clean Sysgen" takes a long time to complete, but will build your changes without fail.</description><pubDate>Fri, 04 Apr 2008 07:02:19 GMT</pubDate><dc:creator>jywilson</dc:creator></item><item><title>RE: CE 6 Serial Port Problems</title><link>http://www.roboticsconnection.com/userForums/Topic296-21-1.aspx</link><description>Hey Matthew,&lt;P&gt;James Y. Wilson is the guy who owns &lt;A href="http://www.learningce.com/"&gt;www.learningce.com&lt;/A&gt;, and he's the guy who wrote the Serializer C++ lib. :cool:  You'll also see posts from him sprinkled throughout the forum.  I know he's been slammed w/ a large project at work, which has a impending deadline, but I'll ping him and get him to provide some feedback to help you get the driver recompiled.&lt;/P&gt;&lt;P&gt;For whatever reason, I've never hit these situations, and a few weeks back, I verified that I'm using the latest CF 2.0 SP2.   Another friend, Jim Hamblin (whos also a freind of James Y. Wilson) has also been hitting these issues.  I'm guessing the fix that they figured out is what Jim posted on his &lt;A href="http://www.learningce.com/"&gt;www.learningce.com&lt;/A&gt; website.&lt;/P&gt;&lt;P&gt;I have added your request to the Serializer.NET Lib TODO list.  I'm expecting that I'll be able to get to it in about three weeks.  We have some new products coming out soon, and I'm trying to get documentation, examples, &amp;amp; website updated right now. :)&lt;/P&gt;&lt;P&gt;At some point, I'm going to make the Serializer .NET Lib src available, but not until I figure out which licencse I want to use.&lt;/P&gt;&lt;P&gt;Best Regards!</description><pubDate>Fri, 04 Apr 2008 05:45:53 GMT</pubDate><dc:creator>jsummerour</dc:creator></item><item><title>CE 6 Serial Port Problems</title><link>http://www.roboticsconnection.com/userForums/Topic296-21-1.aspx</link><description>There seems to be an annoying serial port problem with CE6 and the .NET framework, but I see no mention on these forums or how people have worked around it.&lt;br&gt;&lt;br&gt;I am about to describe the problem, but here is a very clear explanation given by somebody else who has the problem:&lt;br&gt;http://www.learningce.com/816.aspx&lt;br&gt;&lt;br&gt;In the CE6 Serial Port driver, Microsoft disabled the ability to set the queue or buffer size for the serial port.  Apparently, when you call serialport.open in a .NET application, it tries to set this queue size and an exception is thrown.  In my own programs, I can simply ignore this exception and go on my way.  I run into problems when trying to use the .NET library for the Serializer as I cannot add a try catch block around the line that opens the serial port.  I have tried just putting Serializer.Run in a try catch block, but at the moment its not appearing to work.  By that I mean that I took the client server example application, put the Serializer.Run line in a try block and catch any exception.  I have the null modem cable hooked up between my ebox and pc as well.  When I run the client GUI, I can successfully connect to the ebox over the network, but when I use the controls, no serial data is ever sent out of the port.  When writing my own programs, I can get serial port data to work correctly.&lt;br&gt;&lt;br&gt;&lt;br&gt;So in the link above, the guy solved his problem by editing the CE driver code.  Unfortunately, after editing this code, it doesn't seem that this modified code is ever actually getting compiled.  I don't know how to force VS and Platform Builder to rebuild this serial module.   &lt;br&gt;&lt;br&gt;I've made this suggestion before, but it would be very handy if the .NET serializer library accepted a serial port reference instead of just a name and baud rate.  This would allow much more flexibility with the library and allow users to better debug and repair issues with the hardware / software interface.&lt;br&gt;&lt;br&gt;I'm surprised more people aren't having this problem??</description><pubDate>Thu, 03 Apr 2008 08:15:59 GMT</pubDate><dc:creator>mattmiddleton</dc:creator></item></channel></rss>