<?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 Embedded Bridge</title>
	<atom:link href="http://embeddedgurus.com/embedded-bridge/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://embeddedgurus.com/embedded-bridge</link>
	<description>A Blog by Gary Stringham</description>
	<lastBuildDate>Wed, 15 Jun 2011 13:23:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on The (not so) Exciting World of Documentation by Peter Bushell</title>
		<link>http://embeddedgurus.com/embedded-bridge/2011/02/the-not-so-exciting-world-of-documentation/comment-page-1/#comment-1981</link>
		<dc:creator>Peter Bushell</dc:creator>
		<pubDate>Wed, 15 Jun 2011 13:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/embedded-bridge/?p=52#comment-1981</guid>
		<description>So the hardware guys should not use characters like&quot;/&quot; in their pin names!</description>
		<content:encoded><![CDATA[<p>So the hardware guys should not use characters like&#8221;/&#8221; in their pin names!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Abiding by Industry Standards by Lundin</title>
		<link>http://embeddedgurus.com/embedded-bridge/2011/06/abiding-by-industry-standards/comment-page-1/#comment-1936</link>
		<dc:creator>Lundin</dc:creator>
		<pubDate>Tue, 07 Jun 2011 14:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/embedded-bridge/?p=57#comment-1936</guid>
		<description>How many who work with RS-232 have actually read the EIA RS-232 document? I haven&#039;t, even though I have had far more than the recommended daily intake of this horrible, ancient little bus. Even though I tend to regularly end up with various boring technical standards. Can you even order the document from somewhere? EIA is hardly a widely recognized standard institute, and from what I recently heard, they are no more. It is hard to follow a standard when you don&#039;t know what the standard says. 

But at least RS-232 was adopted by a minor standard institute. Other serial buses like SPI and I2C aren&#039;t as fortunate, and they tend to be implemented (and named) in new creative ways for every chip manufacturer using them. These are truly &quot;customized standards&quot;, you have to RTFM in extreme detail before even considering using the specific SPI/I2C chip, to see which creative non-standard ideas they decided to implement this time. Compare these with CAN which is a formal ISO/IEC standard, I have never had any protocol/timing-related problems when setting up two CAN controllers to speak with each other, while such problems are mandatory when using SPI and I2C.</description>
		<content:encoded><![CDATA[<p>How many who work with RS-232 have actually read the EIA RS-232 document? I haven&#8217;t, even though I have had far more than the recommended daily intake of this horrible, ancient little bus. Even though I tend to regularly end up with various boring technical standards. Can you even order the document from somewhere? EIA is hardly a widely recognized standard institute, and from what I recently heard, they are no more. It is hard to follow a standard when you don&#8217;t know what the standard says. </p>
<p>But at least RS-232 was adopted by a minor standard institute. Other serial buses like SPI and I2C aren&#8217;t as fortunate, and they tend to be implemented (and named) in new creative ways for every chip manufacturer using them. These are truly &#8220;customized standards&#8221;, you have to RTFM in extreme detail before even considering using the specific SPI/I2C chip, to see which creative non-standard ideas they decided to implement this time. Compare these with CAN which is a formal ISO/IEC standard, I have never had any protocol/timing-related problems when setting up two CAN controllers to speak with each other, while such problems are mandatory when using SPI and I2C.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The (not so) Exciting World of Documentation by VLABS-NEWSLETTER &#8211; 8 &#124; Vayavya&#039;s Blog</title>
		<link>http://embeddedgurus.com/embedded-bridge/2011/02/the-not-so-exciting-world-of-documentation/comment-page-1/#comment-1921</link>
		<dc:creator>VLABS-NEWSLETTER &#8211; 8 &#124; Vayavya&#039;s Blog</dc:creator>
		<pubDate>Fri, 03 Jun 2011 15:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/embedded-bridge/?p=52#comment-1921</guid>
		<description>[...] The (not so) Exciting World of Documentation. [...]</description>
		<content:encoded><![CDATA[<p>[...] The (not so) Exciting World of Documentation. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The (not so) Exciting World of Documentation by David</title>
		<link>http://embeddedgurus.com/embedded-bridge/2011/02/the-not-so-exciting-world-of-documentation/comment-page-1/#comment-1616</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 20 Mar 2011 14:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/embedded-bridge/?p=52#comment-1616</guid>
		<description>I have been on both sides of this issue since I regularly design both firmware and hardware.  The main issue I&#039;ve encountered is engineering management seems to view hardware documentation as just another task to be completed on their list to be compliant to the documentation task flow.  I’ve also seen this all important task assigned to a new engineer that may have little or no legacy knowledge of the design. Or worse, it could be assigned to an engineer that has poor command of the English language.  It is not given a high priority and the need to have this completed in detail is not frequently allocated sufficient time.

If filling a hardware roll, I love performing this job as it gives me a chance to re-review the schematics, design strategy, logic levels / timing, and CPLD equations, etc.  This could be invaluable to the quality and integrity of the design and may filter out any remaining bugs or oversights.  I wish this task were taken more seriously and in my opinion, it all comes down to money.</description>
		<content:encoded><![CDATA[<p>I have been on both sides of this issue since I regularly design both firmware and hardware.  The main issue I&#8217;ve encountered is engineering management seems to view hardware documentation as just another task to be completed on their list to be compliant to the documentation task flow.  I’ve also seen this all important task assigned to a new engineer that may have little or no legacy knowledge of the design. Or worse, it could be assigned to an engineer that has poor command of the English language.  It is not given a high priority and the need to have this completed in detail is not frequently allocated sufficient time.</p>
<p>If filling a hardware roll, I love performing this job as it gives me a chance to re-review the schematics, design strategy, logic levels / timing, and CPLD equations, etc.  This could be invaluable to the quality and integrity of the design and may filter out any remaining bugs or oversights.  I wish this task were taken more seriously and in my opinion, it all comes down to money.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The (not so) Exciting World of Documentation by Kevin Ford</title>
		<link>http://embeddedgurus.com/embedded-bridge/2011/02/the-not-so-exciting-world-of-documentation/comment-page-1/#comment-1517</link>
		<dc:creator>Kevin Ford</dc:creator>
		<pubDate>Wed, 02 Mar 2011 18:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/embedded-bridge/?p=52#comment-1517</guid>
		<description>The reference section of hardware documentation should point to related schematic pages.  Hardware documentation may sometimes be unclear.  Careful examination of the schematic helps bring questions and relevant details into focus. Well rounded firmware engineers should use all available hardware documentation at their disposal.</description>
		<content:encoded><![CDATA[<p>The reference section of hardware documentation should point to related schematic pages.  Hardware documentation may sometimes be unclear.  Careful examination of the schematic helps bring questions and relevant details into focus. Well rounded firmware engineers should use all available hardware documentation at their disposal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The (not so) Exciting World of Documentation by kalpak dabir</title>
		<link>http://embeddedgurus.com/embedded-bridge/2011/02/the-not-so-exciting-world-of-documentation/comment-page-1/#comment-1483</link>
		<dc:creator>kalpak dabir</dc:creator>
		<pubDate>Sat, 26 Feb 2011 15:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/embedded-bridge/?p=52#comment-1483</guid>
		<description>Another best practice, mentioned in a previous article on Embeddedgurus.com is the pin ( I/O) names in firmware must match the names in schematic.</description>
		<content:encoded><![CDATA[<p>Another best practice, mentioned in a previous article on Embeddedgurus.com is the pin ( I/O) names in firmware must match the names in schematic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Different Bit Types in Different Registers by Gary Stringham</title>
		<link>http://embeddedgurus.com/embedded-bridge/2010/03/different-bit-types-in-different-registers/comment-page-1/#comment-22</link>
		<dc:creator>Gary Stringham</dc:creator>
		<pubDate>Fri, 02 Apr 2010 06:07:55 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/embedded-bridge/?p=25#comment-22</guid>
		<description>ISRs have to access hw registers however, they cannot, while servicing an interrupt, be blocked on a mutex. So mutexes cannot be used there. Hw registers being accessed only by one thread and that thread only do not need mutexes. 

Mutexes are needed when different threads need to access the same hw registers. However, mutexes still have their flaws. Each and every thread in all of their respective hw register accesses must use the same mutexing technique. If even one thread doesn’t, the system is exposed.

This is where the design of the hw can help, by assigning, where possible, bits into registers only needed by one thread. For registers that do need to be accessed by multiple threads (such as GPIO ports), atomic register access mechanisms (see &lt;a href=&quot;http://www.garystringham.com/newsletter.shtml?nid=039&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; for examples) can be employed to eliminate any need for mutexes.</description>
		<content:encoded><![CDATA[<p>ISRs have to access hw registers however, they cannot, while servicing an interrupt, be blocked on a mutex. So mutexes cannot be used there. Hw registers being accessed only by one thread and that thread only do not need mutexes. </p>
<p>Mutexes are needed when different threads need to access the same hw registers. However, mutexes still have their flaws. Each and every thread in all of their respective hw register accesses must use the same mutexing technique. If even one thread doesn’t, the system is exposed.</p>
<p>This is where the design of the hw can help, by assigning, where possible, bits into registers only needed by one thread. For registers that do need to be accessed by multiple threads (such as GPIO ports), atomic register access mechanisms (see <a href="http://www.garystringham.com/newsletter.shtml?nid=039" rel="nofollow">here</a> for examples) can be employed to eliminate any need for mutexes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Different Bit Types in Different Registers by Daryl Fortney</title>
		<link>http://embeddedgurus.com/embedded-bridge/2010/03/different-bit-types-in-different-registers/comment-page-1/#comment-21</link>
		<dc:creator>Daryl Fortney</dc:creator>
		<pubDate>Fri, 02 Apr 2010 01:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/embedded-bridge/?p=25#comment-21</guid>
		<description>in multi-threaded systems all accesses to hw registers no matter what their &#039;mechanism&#039; is MUST be handled using mutexes.</description>
		<content:encoded><![CDATA[<p>in multi-threaded systems all accesses to hw registers no matter what their &#8216;mechanism&#8217; is MUST be handled using mutexes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Different Bit Types in Different Registers by Gary Stringham</title>
		<link>http://embeddedgurus.com/embedded-bridge/2010/03/different-bit-types-in-different-registers/comment-page-1/#comment-17</link>
		<dc:creator>Gary Stringham</dc:creator>
		<pubDate>Thu, 01 Apr 2010 15:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/embedded-bridge/?p=25#comment-17</guid>
		<description>What I&#039;ve seen happen is that hardware engineers will focus on optimizing the hardware side, such as packing in and overloading unrelated bits in the same register but it comes with a high firmware price in code size and complexity. And likewise, firmware engineers request that hardware be designed a certain way which optimizes firmware but makes hardware complex. An increase in complexity leads to an increase in defects, debugability, maintainability, and future growth. When resources are limited, such as address space or firmware space, hardware and firmware engineers need to collaborate to make sure optimizing one side does not negatively impact the other.</description>
		<content:encoded><![CDATA[<p>What I&#8217;ve seen happen is that hardware engineers will focus on optimizing the hardware side, such as packing in and overloading unrelated bits in the same register but it comes with a high firmware price in code size and complexity. And likewise, firmware engineers request that hardware be designed a certain way which optimizes firmware but makes hardware complex. An increase in complexity leads to an increase in defects, debugability, maintainability, and future growth. When resources are limited, such as address space or firmware space, hardware and firmware engineers need to collaborate to make sure optimizing one side does not negatively impact the other.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Different Bit Types in Different Registers by Nigel Jones</title>
		<link>http://embeddedgurus.com/embedded-bridge/2010/03/different-bit-types-in-different-registers/comment-page-1/#comment-13</link>
		<dc:creator>Nigel Jones</dc:creator>
		<pubDate>Wed, 31 Mar 2010 11:46:37 +0000</pubDate>
		<guid isPermaLink="false">http://embeddedgurus.com/embedded-bridge/?p=25#comment-13</guid>
		<description>It gets even more interesting when the very act of reading a register is sufficient to clear a bit! Sometimes this can make for very efficient code. Other times it can make for exactly the sort of problems you described here.

This and your previous post both allude to the issue of bit allocation to registers. It&#039;s a tough problem, particularly on small processors with limited address space. Different companies have adopted different strategies on this, so I&#039;d be interested to get your opinions on this topic in future posts.</description>
		<content:encoded><![CDATA[<p>It gets even more interesting when the very act of reading a register is sufficient to clear a bit! Sometimes this can make for very efficient code. Other times it can make for exactly the sort of problems you described here.</p>
<p>This and your previous post both allude to the issue of bit allocation to registers. It&#8217;s a tough problem, particularly on small processors with limited address space. Different companies have adopted different strategies on this, so I&#8217;d be interested to get your opinions on this topic in future posts.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

