<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Gil&#039;s Development Journal</title>
	<atom:link href="http://gilzu.com/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://gilzu.com</link>
	<description></description>
	<lastBuildDate>Tue, 17 May 2011 06:47:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>Comment on Speed Challange: MineSweeper &#8211; Postmorterm by Ran Argaman</title>
		<link>http://gilzu.com/?p=27#comment-6</link>
		<dc:creator>Ran Argaman</dc:creator>
		<pubDate>Tue, 17 May 2011 06:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://gilzu.com/?p=27#comment-6</guid>
		<description>Nice one!</description>
		<content:encoded><![CDATA[<p>Nice one!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Serial Port Hell by Gil</title>
		<link>http://gilzu.com/?p=6#comment-5</link>
		<dc:creator>Gil</dc:creator>
		<pubDate>Thu, 12 May 2011 21:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://gilzu.com/?p=6#comment-5</guid>
		<description>I made sure to read two bytes every time.
also, it&#039;s easy to re-sync: clear the recieve buffer :)</description>
		<content:encoded><![CDATA[<p>I made sure to read two bytes every time.<br />
also, it&#8217;s easy to re-sync: clear the recieve buffer <img src='http://gilzu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Serial Port Hell by Chris</title>
		<link>http://gilzu.com/?p=6#comment-4</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 12 May 2011 19:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://gilzu.com/?p=6#comment-4</guid>
		<description>Thanks for the reply.  

I was in the process of creating another readbuffer for the parity bytes, but it sounds like your way is easier.  Have you had any trouble syncing your app between the data bits and the parity bits?  It seems like it will work as long as you always read even byte increments.  

I will give it a try and let you know how it works.  Thanks again.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply.  </p>
<p>I was in the process of creating another readbuffer for the parity bytes, but it sounds like your way is easier.  Have you had any trouble syncing your app between the data bits and the parity bits?  It seems like it will work as long as you always read even byte increments.  </p>
<p>I will give it a try and let you know how it works.  Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Serial Port Hell by Gil</title>
		<link>http://gilzu.com/?p=6#comment-3</link>
		<dc:creator>Gil</dc:creator>
		<pubDate>Thu, 12 May 2011 14:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://gilzu.com/?p=6#comment-3</guid>
		<description>Actually, the solution is inside isr.c ! 

Search for SerialPutChar(...) which puts a character into the recieve buffer.

You&#039;ll have to change in two locations: first is where no error occurred and the second is where a parity error has occurred.
for each of them add another call to SerialPutChar(...), this time with the parity information.

Make sure &lt;strong&gt;NOT&lt;/strong&gt; to change other calls to SerialPutChar(...) since they are crucial to reading the buffer properly.
Also take into account the current Parity settings, since an error with the PARITY_SPACE means parity bit = 1 and an error with the PARITY_MARK means parity bit = 0. This brings ReadFile() an extra byte with parity for each read byte.

let me know how it worked out for you :)</description>
		<content:encoded><![CDATA[<p>Actually, the solution is inside isr.c ! </p>
<p>Search for SerialPutChar(&#8230;) which puts a character into the recieve buffer.</p>
<p>You&#8217;ll have to change in two locations: first is where no error occurred and the second is where a parity error has occurred.<br />
for each of them add another call to SerialPutChar(&#8230;), this time with the parity information.</p>
<p>Make sure <strong>NOT</strong> to change other calls to SerialPutChar(&#8230;) since they are crucial to reading the buffer properly.<br />
Also take into account the current Parity settings, since an error with the PARITY_SPACE means parity bit = 1 and an error with the PARITY_MARK means parity bit = 0. This brings ReadFile() an extra byte with parity for each read byte.</p>
<p>let me know how it worked out for you <img src='http://gilzu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Serial Port Hell by Chris</title>
		<link>http://gilzu.com/?p=6#comment-2</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 10 May 2011 23:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://gilzu.com/?p=6#comment-2</guid>
		<description>I am having the same exact issue and have resorted to the WinDDK as well.  Just curious how you finally ended up reporting the parity information back from the driver.  Did you have to create a custom IOCTL or were you able to somehow get the information from ReadFile?  Thanks</description>
		<content:encoded><![CDATA[<p>I am having the same exact issue and have resorted to the WinDDK as well.  Just curious how you finally ended up reporting the parity information back from the driver.  Did you have to create a custom IOCTL or were you able to somehow get the information from ReadFile?  Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
