<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JC's useless ramblings and uneventful life &#187; Embedded Systems</title>
	<atom:link href="http://tinymicros.com/blog/category/embedded-systems/feed/" rel="self" type="application/rss+xml" />
	<link>http://tinymicros.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 12 Jun 2009 19:41:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Creeping featuritis bites hard</title>
		<link>http://tinymicros.com/blog/2008/09/03/creeping-featuritis-bites-hard/</link>
		<comments>http://tinymicros.com/blog/2008/09/03/creeping-featuritis-bites-hard/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 20:35:15 +0000</pubDate>
		<dc:creator>jcwren</dc:creator>
				<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[cp/m]]></category>
		<category><![CDATA[microprocessor]]></category>
		<category><![CDATA[z80]]></category>

		<guid isPermaLink="false">http://tinymicros.com/blog/?p=75</guid>
		<description><![CDATA[Back in 2003, I designed this Z80 SBC as a proof of concept for using a PIO to control a compact flash card or IDE hard drive. In spite of a few dumb layout errors, I proved it would work and had adequate throughput. The page linked to above gets a dozen hits per month [...]]]></description>
			<content:encoded><![CDATA[<p>Back in 2003, I designed this <a href="http://www.tinymicros.com/wiki/Z80_SBC">Z80 SBC</a> as a proof of concept for using a PIO to control a compact flash card or IDE hard drive.  In spite of a few dumb layout errors, I proved it would work and had adequate throughput.</p>
<p>The page linked to above gets a dozen hits per month or so, and I get an inquiry roughly every 2 months asking if a PCB is available.  Because I never did anything with the Z80 SBC afterwards, or pursued the SOAPOC design, I regretfully inform the enquirers that no PCB is available.</p>
<p>In about half of these inquiries, it&#8217;s mentioned that they&#8217;d really like to be able build a little system that&#8217;s easy to wrap their head around, uses through-hole construction, and brings back the fun of PCs from the days before 2.4Ghz processors, 500GB drives, and massive operating systems.</p>
<p>The last week or so, I&#8217;ve started thinking about revising the Z80 SBC to satisfy these people.  I find myself thinking &#8220;Adding Ethernet would be pretty easy.  And VGA video would be nice&#8230;&#8221;  And before you know it, you&#8217;re looking at a <a href="http://en.wikipedia.org/wiki/Ball_Grid_Array">BGA</a> <a href="http://en.wikipedia.org/wiki/Fpga">FPGA</a>, and something that&#8217;s completely incomprehensible to someone who has an interest in computers but hasn&#8217;t kept up with all the latest techologies.</p>
<p><span id="more-75"></span>Once video was there, it seems only logical to add a PS/2 keyboard.  If you have video, you don&#8217;t want to have to hook up a serial terminal, which requires another monitor (at least if you want to see both at the same time).  And if you&#8217;ve got hardware support for a PS/2 keyboard, adding mouse support isn&#8217;t much of a step&#8230;  Before you know it, what you&#8217;ve wound up with is a Z80-based IBM PC. </p>
<p>And wouldn&#8217;t bank switched memory be nice?  Now we could run MP/M, or CP/M 3&#8230;</p>
<p>I decided I needed to focus on the core of the project.  A Z80 with 64K of usable memory, <strong>maybe</strong> bank switched memory, two serial ports, CTC, and CF/IDE storage.  This is the minimum really necessary to have a usable system to store and retrieve data.  </p>
<p>It&#8217;s getting harder to find 64K memory, so likely something larger would be used, and the rest wasted, unless bank switching is implemented.  The boot ROM gets similar treatment, although perhaps some jumpers or switches to allow different booting (CP/M boot in one bank, maybe a simple Forth interpreter in another).  No Ethernet, no video, no keyboard, no&#8230;</p>
<p>Now that I&#8217;ve simplified the SBC back to it&#8217;s essence, can anything else be reduced?  The <a href="http://en.wikipedia.org/wiki/Generic_array_logic">GAL</a> is somewhat essential, as it reduces the gate count dramatically.  It&#8217;s true that the majority of people can&#8217;t program them at home, but on the flip side, the equations and JEDEC file are available, and surely SOMEONE can be found that program the part (I&#8217;ll offer them for little more than the cost of the part and mailing).</p>
<p>The current design uses a traditional LM7805 regulator, a very inefficient device.  I&#8217;m unsure how much current the 2.5&#8243; drive might pull (200ma to 400ma), but I do know that if we use a 12V input voltage, we&#8217;re dropping 7 volts at somewhere around 500ma, that&#8217;s 3.5 watts.  That&#8217;s smokin&#8217; hot, and if we wanted to use a battery to power the SBC, it&#8217;s grossly inefficient.  One of the design constraints will be to use readily available parts for the switcher, preferably from a supplier like Mouser or Jameco.</p>
<p>In regards to the compact flash slot, I first considered putting the CF socket on the SBC itself.  I nixed that idea for two reasons.  It makes the SBC PCB larger by about 2.25 inches, and it introduces a surface mount part.  The better solution is to put a 40 or 44 pin connector on the SBC, and provide either a kit or an assembled PCB with the CF socket that plugs into it.   This solution is desirable for several reasons.  It allows a small CF-only solution, plugging an IDE drive directly to the SBC, or providing another PCB that supports both CF and IDE (so programs may be copied about).</p>
<p>However the design finalizes, one thing it will have available is an expansion connector.  If a video + keyboard + Ethernet daughter card is ever designed, it&#8217;ll have a place to plug in.  And if the user wants to control something in the real world (and not just reminiscence by running WordStar), there&#8217;s a place to connect a little home-brew board.</p>
<p>At this point, I think I&#8217;ve boiled it down to the Z80, 64K, 2 serial ports, CTC, GAL, CF and/or IDE, expansion connector, and switching power supply.  And that&#8217;s it.</p>
<p>Really.</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Ftinymicros.com%2Fblog%2F2008%2F09%2F03%2Fcreeping-featuritis-bites-hard%2F&amp;title=Creeping%20featuritis%20bites%20hard&amp;notes=Back%20in%202003%2C%20I%20designed%20this%20Z80%20SBC%20as%20a%20proof%20of%20concept%20for%20using%20a%20PIO%20to%20control%20a%20compact%20flash%20card%20or%20IDE%20hard%20drive.%20%20In%20spite%20of%20a%20few%20dumb%20layout%20errors%2C%20I%20proved%20it%20would%20work%20and%20had%20adequate%20throughput.%0D%0A%0D%0AThe%20page%20linked%20to%20above%20gets" title="del.icio.us"><img src="http://tinymicros.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftinymicros.com%2Fblog%2F2008%2F09%2F03%2Fcreeping-featuritis-bites-hard%2F&amp;title=Creeping%20featuritis%20bites%20hard&amp;bodytext=Back%20in%202003%2C%20I%20designed%20this%20Z80%20SBC%20as%20a%20proof%20of%20concept%20for%20using%20a%20PIO%20to%20control%20a%20compact%20flash%20card%20or%20IDE%20hard%20drive.%20%20In%20spite%20of%20a%20few%20dumb%20layout%20errors%2C%20I%20proved%20it%20would%20work%20and%20had%20adequate%20throughput.%0D%0A%0D%0AThe%20page%20linked%20to%20above%20gets" title="Digg"><img src="http://tinymicros.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Ftinymicros.com%2Fblog%2F2008%2F09%2F03%2Fcreeping-featuritis-bites-hard%2F&amp;title=Creeping%20featuritis%20bites%20hard" title="Reddit"><img src="http://tinymicros.com/blog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ftinymicros.com%2Fblog%2F2008%2F09%2F03%2Fcreeping-featuritis-bites-hard%2F&amp;title=Creeping%20featuritis%20bites%20hard" title="Mixx"><img src="http://tinymicros.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftinymicros.com%2Fblog%2F2008%2F09%2F03%2Fcreeping-featuritis-bites-hard%2F&amp;title=Creeping%20featuritis%20bites%20hard" title="StumbleUpon"><img src="http://tinymicros.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ftinymicros.com%2Fblog%2F2008%2F09%2F03%2Fcreeping-featuritis-bites-hard%2F&amp;title=Creeping%20featuritis%20bites%20hard&amp;annotation=Back%20in%202003%2C%20I%20designed%20this%20Z80%20SBC%20as%20a%20proof%20of%20concept%20for%20using%20a%20PIO%20to%20control%20a%20compact%20flash%20card%20or%20IDE%20hard%20drive.%20%20In%20spite%20of%20a%20few%20dumb%20layout%20errors%2C%20I%20proved%20it%20would%20work%20and%20had%20adequate%20throughput.%0D%0A%0D%0AThe%20page%20linked%20to%20above%20gets" title="Google Bookmarks"><img src="http://tinymicros.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftinymicros.com%2Fblog%2F2008%2F09%2F03%2Fcreeping-featuritis-bites-hard%2F&amp;t=Creeping%20featuritis%20bites%20hard" title="Facebook"><img src="http://tinymicros.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://tinymicros.com/blog/2008/09/03/creeping-featuritis-bites-hard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
