<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/rt-com/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/rt-com/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 29 Dec 2017 21:50:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/rt-com/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#1 Initialization Problem</title><link>https://sourceforge.net/p/rt-com/bugs/1/?limit=25#79f3</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Jochen Küpper&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jochen Küpper</dc:creator><pubDate>Fri, 29 Dec 2017 21:50:37 -0000</pubDate><guid>https://sourceforge.net2f1156d05a138d0db43cd22342afd358a288322a</guid></item><item><title>#2 Initialization Problem </title><link>https://sourceforge.net/p/rt-com/bugs/2/?limit=25#5e82</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Jochen Küpper&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jochen Küpper</dc:creator><pubDate>Fri, 29 Dec 2017 21:50:11 -0000</pubDate><guid>https://sourceforge.net6a490e60f98fd453f0576620651d8893080ad633</guid></item><item><title>Initialization Problem </title><link>https://sourceforge.net/p/rt-com/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm using the driver for communcations on a single &lt;br /&gt;
wire &lt;br /&gt;
serial port. In the arbitration phase it is possible, &lt;br /&gt;
that collisions between two senders are occures. If &lt;br /&gt;
this happens, the uart chip hanges in rare cases! A &lt;br /&gt;
remove of the module and the rt_com driver module &lt;br /&gt;
followed up by an insmod does not solve the problem! &lt;br /&gt;
Never receive a byte! I tried to &amp;amp;quot;insmod&amp;amp;quot; the original &lt;br /&gt;
serial driver and &amp;amp;quot;rmmod&amp;amp;quot; it without any use. Then I &lt;br /&gt;
reactivated my rtl module and the rt_com driver and &lt;br /&gt;
now &lt;br /&gt;
it works again. This suggest me, that an &lt;br /&gt;
initialization &lt;br /&gt;
problem exists. I took a look to the original serial &lt;br /&gt;
driver source in verification with the rt_com source &lt;br /&gt;
and find a missing dummy read out of the data &lt;br /&gt;
register. &lt;br /&gt;
I'm not so conform with things like diff etc, becaus &lt;br /&gt;
I'm a newbee of linux programming.... &lt;/p&gt;
&lt;p&gt;Here are the code, that I've inserted and that works &lt;br /&gt;
well! &lt;/p&gt;
&lt;p&gt;int rt_com_setup( unsigned int com, int baud, unsigned &lt;br /&gt;
int parity, &lt;br /&gt;
unsigned int stopbits, unsigned int wordlength ) &lt;br /&gt;
{ &lt;br /&gt;
..... &lt;br /&gt;
p-&amp;amp;gt;error = 0; //!! init. last error code &lt;br /&gt;
// -------------------- &lt;br /&gt;
/* disable FIFO's */ &lt;br /&gt;
outb(0x06, base + RT_COM_FCR); &lt;br /&gt;
(void)inb(base+ RT_COM_RXB); /* read data port to &lt;br /&gt;
reset things */ &lt;br /&gt;
// -------------- &lt;/p&gt;
&lt;p&gt;if( 0 == baud ) { &lt;br /&gt;
/* return */ &lt;br /&gt;
...... &lt;br /&gt;
} &lt;br /&gt;
------- snip ------ &lt;/p&gt;
&lt;p&gt;Greetings &lt;/p&gt;
&lt;p&gt;Thomas  &lt;br /&gt;
&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 25 Jul 2001 09:00:20 -0000</pubDate><guid>https://sourceforge.net9eacd5defdb1ccd8d4d3a13ab0ccb888844a07a8</guid></item><item><title>Initialization Problem </title><link>https://sourceforge.net/p/rt-com/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 2 has been modified: Initialization Problem &lt;br/&gt;
Edited By: Jochen Küpper (kuepper)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;br/&gt;
Owner updated: None =&amp;gt; u'kuepper'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 25 Jul 2001 09:00:20 -0000</pubDate><guid>https://sourceforge.net19a6e73ed24904f12209bc16bb5c86fe59da6591</guid></item><item><title>Initialization Problem</title><link>https://sourceforge.net/p/rt-com/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm using the driver for communcations on a single wire&lt;br /&gt;
serial port. In the arbitration phase it is possible,&lt;br /&gt;
that collisions between two senders are occures. If&lt;br /&gt;
this happens, the uart chip hanges in rare cases! A&lt;br /&gt;
remove of the module and the  rt_com driver module&lt;br /&gt;
followed up by an insmod does not solve the problem!&lt;br /&gt;
Never receive a byte! I tried to &amp;amp;quot;insmod&amp;amp;quot; the original&lt;br /&gt;
serial driver and &amp;amp;quot;rmmod&amp;amp;quot; it without any use. Then I&lt;br /&gt;
reactivated my rtl module and the rt_com driver and now&lt;br /&gt;
it works again. This suggest me, that an initialization&lt;br /&gt;
problem exists. I took a look to the original serial&lt;br /&gt;
driver source in verification with the rt_com source&lt;br /&gt;
and find a missing dummy read out of the data register. &lt;br /&gt;
I'm not so conform with things like diff etc, becaus&lt;br /&gt;
I'm a newbee of linux programming....&lt;/p&gt;
&lt;p&gt;Here are the code, that I've inserted and that works&lt;br /&gt;
well!&lt;/p&gt;
&lt;p&gt;int rt_com_setup( unsigned int com, int baud, unsigned&lt;br /&gt;
int parity,&lt;br /&gt;
          unsigned int stopbits, unsigned int wordlength )&lt;br /&gt;
{&lt;br /&gt;
.....&lt;br /&gt;
p-&amp;amp;gt;error = 0; //!! init. last error code&lt;br /&gt;
// --------------------&lt;br /&gt;
/* disable FIFO's */&lt;br /&gt;
outb(0x06, base + RT_COM_FCR);&lt;br /&gt;
(void)inb(base+ RT_COM_RXB);    /* read data port to&lt;br /&gt;
reset things */&lt;br /&gt;
// --------------&lt;/p&gt;
&lt;p&gt;if( 0 == baud ) {&lt;br /&gt;
/* return */&lt;br /&gt;
......&lt;br /&gt;
}&lt;br /&gt;
------- snip ------&lt;/p&gt;
&lt;p&gt;Greetings&lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 02 Jul 2001 12:43:16 -0000</pubDate><guid>https://sourceforge.net89b690f912bc3afcd00a10a0adc976d661fb7f5c</guid></item><item><title>Initialization Problem</title><link>https://sourceforge.net/p/rt-com/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 1 has been modified: Initialization Problem&lt;br/&gt;
Edited By: Jochen Küpper (kuepper)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;br/&gt;
Owner updated: None =&amp;gt; u'kuepper'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 02 Jul 2001 12:43:16 -0000</pubDate><guid>https://sourceforge.nete25c84bdb1f9b707e8013e598667168fc00c3331</guid></item></channel></rss>