<?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>Silly Science &#187; spartan</title>
	<atom:link href="http://www.silly-science.co.uk/tag/spartan/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.silly-science.co.uk</link>
	<description>Electronics, Programming and Hacking About</description>
	<lastBuildDate>Tue, 10 Jan 2012 14:21:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Open Workbench Logic Sniffer First Impressions</title>
		<link>http://www.silly-science.co.uk/2010/05/15/open-workbench-logic-sniffer-first-impressions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=open-workbench-logic-sniffer-first-impressions</link>
		<comments>http://www.silly-science.co.uk/2010/05/15/open-workbench-logic-sniffer-first-impressions/#comments</comments>
		<pubDate>Sat, 15 May 2010 21:56:06 +0000</pubDate>
		<dc:creator>The Silly Scientist</dc:creator>
				<category><![CDATA[Other Peoples Projects]]></category>
		<category><![CDATA[fpga]]></category>
		<category><![CDATA[open source hardware]]></category>
		<category><![CDATA[open workbench logic sniffer]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[spartan]]></category>
		<category><![CDATA[xc-3]]></category>
		<category><![CDATA[xilinx]]></category>
		<category><![CDATA[xmos]]></category>

		<guid isPermaLink="false">http://www.silly-science.co.uk/?p=92</guid>
		<description><![CDATA[A while ago I spotted the Open Workbench Logic Sniffer on Hackaday. A logic sniffer . analyser is a useful tool have around the place and at ~$50 with some flying leads to make it up to the free shipping threshold. Seeing as it arrived the other day I thought I would share my first [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;count=none&amp;text=Open%20Workbench%20Logic%20Sniffer%20First%20Impressions" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;count=none&amp;text=Open%20Workbench%20Logic%20Sniffer%20First%20Impressions" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;title=Open%20Workbench%20Logic%20Sniffer%20First%20Impressions" id="wpa2a_2">Share/Bookmark</a></p><p><a href="http://www.silly-science.co.uk/wp-content/uploads/2010/05/sniffer_LRG.jpg"><img class="alignleft size-medium wp-image-93" title="Open Workbench Logic Sniffer" src="http://www.silly-science.co.uk/wp-content/uploads/2010/05/sniffer_LRG-300x225.jpg" alt="Open Workbench Logic Sniffer Board Photo" width="300" height="225" /></a> A while ago I spotted the Open Workbench Logic Sniffer on Hackaday. A logic sniffer . analyser is a useful tool have around the place and at ~$50 with some flying leads to make it up to the free shipping threshold. Seeing as it arrived the other day I thought I would share my first impressions of it...</p>
<p><span id="more-92"></span></p>
<p><strong>The Board</strong></p>
<p>The system comes shipped as a bare board - so I need to get some self adhesive rubber feet for it really - I will also keep my eye out for a potential case as well.</p>
<p>The main components is a Xilinx Spartan FPGA. The whole thing is based on the <a title="SUMP FPGA Logica Analyzer" href="http://www.sump.org/projects/analyzer/">SUMP FPGA base logic analyser</a> - so no big surprises that this is the main work horse!</p>
<p>It also has a Microchip 18F24 which looks like it is handling the USB interface.</p>
<p>The board also has several non-populated through hole headers which are for PIC ICSP, FPGA JTAG and some kind of expansion pins (as well as a set of four labelled TRG1 CK1 TRG0 and CK0). There is also a populated set of ROM ISP headers and what looks like some UART pin headers.</p>
<p>Alongside all this we have a number of indicator LEDs for ARM, Trigger, Power and USB Activity. Also some buttons for update and reset actions.</p>
<p>At the end of the board we have the analyser bus. This has a GND connection at both ends and 16 signals available for connecting flying leads to. The signals are fed into a <a title="LCX16245 Low voltage bidirectonal buffer" href="http://www.fairchildsemi.com/ds/74/74LCX16245.pdf" target="_blank">LCX16245</a> - which is a low voltage bidirectional buffer (so in theory the FPGA could drive the the signals out if you wanted to re-purpose the board!)</p>
<p>Anyway, for more detailed information on the project see the <a title="Logic Sniffer Gadget Factory page" href="http://www.gadgetfactory.net/gf/project/butterflylogic/" target="_blank">Gadget Factory page</a> - this has the <a title="Open Workbench Logic Sniffer User Guide" href="http://dangerousprototypes.com/2010/02/25/prototype-open-logic-sniffer-logic-analyzer-2/" target="_blank">user guide</a>, schematics, board design and software on it as well as installation videos and a video tutorial on UART analysis (something I will be trying soon!).</p>
<p><strong>Installation</strong></p>
<p>Once I had dug out a USB A to Mini-B cable and downloaded the software I was set to go. I had tried getting it to run on Linux (Ubuntu 10.04), but I gave up after about 20 minutes of fiddling and getting nowhere and decided to revert to good old windows XP - so if anyone has any easy to follow instructions on that one let me know!</p>
<p>After extracting the archives I plugged in the device, at which point windows requests a driver. Find the inf folder from the OpenLogic binaries archive, select that and the correct driver will be installed. This creates a virtual COM port. The number of the COM port can be found in the Device Manager (it is the one with Manufacturer = "Microchip Technology, Inc." and Location = "Location 0 (CDC RS-232 Emulation Demo)").</p>
<p>Once this is installed run the OB_Logic_Sniffer.exe file and you get the client.</p>
<p>Select Device -&gt; Capture and you get the Capture setup menu. This enables you to setup triggers, sampling rate and recording size.</p>
<p><strong>Testing</strong></p>
<p>To test it I grabbed my XMOS XC-3 and connected 8 of the the lines to the GPIO port (XS1_PORT_8C on Core 0). I wrote a simple XC program to simply count up in a sequence continuously in a loop at 25Mhz. Here is the setup I used for testing.</p>
<p><a href="http://www.silly-science.co.uk/wp-content/uploads/2010/05/DSC04907.jpg"><img class="aligncenter size-medium wp-image-96" title="Open Workbench Logic Sniffer Test Setup" src="http://www.silly-science.co.uk/wp-content/uploads/2010/05/DSC04907-300x200.jpg" alt="Open Workbench Logic Sniffer connected to XC-3 GPIO port" width="300" height="200" /></a></p>
<p>After fiddling around wondering why Bank 1 wasn't working, I enabled all the banks and discovered that the signals were on bank 3 (channels 16 -24). I have no idea why this is... but hey ho. It is working and the output is below.</p>
<p style="text-align: center;"><a href="http://www.silly-science.co.uk/wp-content/uploads/2010/05/capture.png"><img class="aligncenter size-large wp-image-94" title="First Logic Sniffer Capture" src="http://www.silly-science.co.uk/wp-content/uploads/2010/05/capture-1024x240.png" alt="First Logic Sniffer Capture Showing Binary Counting Sequence" width="1024" height="240" /></a></p>
<p style="text-align: left;"><strong>Conclusion</strong></p>
<p style="text-align: left;">Overall this has the all the makings of a strong tool. It is very affordable @ $45 shipped (available from <a title="Seeed Studio Open Workbench Logic Sniffer" href="http://www.seeedstudio.com/depot/open-workbench-logic-sniffer-p-612.html?cPath=61_68" target="_blank">Seeed Studio</a>) and 16/32 channels of logic analyser @ 100MSPS is certainly not to be sniffed at.</p>
<p style="text-align: left;">Quality of the software is one of the most important things in a logic analyser as without good analysis software they are a waste of time. The Logic Sniffer doesn't disappoint in this area- It has the capabilities to do simple single trigger or a complex 4 stage triggering and the analyser Java based client is easy and intuitive to use. While basic in the professional logic analyser world they are pretty good for most peoples needs. Extension of the triggering modes would be well worth the development time. Also simple improvements such as the ability to type in Hex values would be nice, rather than having to build a trigger mask with tick boxes.</p>
<p style="text-align: left;">Alongside the triggering features is the systems ability to analyse SPI, I2C and UART signals. Expanding this protocol analysis is something that should be actively worked on, though it has a good base (these features will hopefully be subject to another review at a later date).</p>
<p style="text-align: left;">However, the project in its entirety is currently it is a little rough around the edges. A couple of pointers for simple improvements would be:</p>
<ul>
<li>an integrated installer - especially the windows stuff. It's a small point, but they aren't hard to make and it makes the whole software installation process a lot less painful (rather than downloading two zips and having to extract them!)</li>
<li>a simpler firmware upgrade process ( i.e. more integrated PC side software) - the current one looks fairly daunting (even for someone like me who is a relatively experienced user of embedded hardware).</li>
</ul>
<p style="text-align: left;"><em>Over all, as an open source hacking tool, I would give this project 8/10, a few minor improvements would push it up. Open source hardware like this can be functionally good, but is often let down by the lack of polish in the user experience.</em></p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;count=none&amp;text=Open%20Workbench%20Logic%20Sniffer%20First%20Impressions" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;counturl=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;count=none&amp;text=Open%20Workbench%20Logic%20Sniffer%20First%20Impressions" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.silly-science.co.uk%2F2010%2F05%2F15%2Fopen-workbench-logic-sniffer-first-impressions%2F&amp;title=Open%20Workbench%20Logic%20Sniffer%20First%20Impressions" id="wpa2a_4">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.silly-science.co.uk/2010/05/15/open-workbench-logic-sniffer-first-impressions/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

