<?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>Synthetos</title>
	<atom:link href="http://blog.synthetos.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.synthetos.com</link>
	<description>Complex Ideas...</description>
	<lastBuildDate>Wed, 30 Jun 2010 21:16:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>eZ430 Chronos Watch Unboxing</title>
		<link>http://blog.synthetos.com/ez430-chronos-watch-unboxing/</link>
		<comments>http://blog.synthetos.com/ez430-chronos-watch-unboxing/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 21:12:00 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[msp430]]></category>
		<category><![CDATA[chronos]]></category>
		<category><![CDATA[eZ430]]></category>
		<category><![CDATA[ti]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/ez430-chronos-watch-unboxing/</guid>
		<description><![CDATA[&#160; I have been waiting for my new TI watch since FEB of 09&#8230; I wanted the 433Mhz version.&#160; However digit-key had the 933Mhz in so I jumped at the chance to get one.&#160; So here it is. It comes with an RF Access Point (USB. See Below) and eZ430 emulator.&#160; Pretty cool!&#160; I will [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p><a href="http://www.flickr.com/photos/rileyporter/4750084668/"><img src="http://farm5.static.flickr.com/4120/4750084668_94d9818c03_m.jpg" /></a> </p>
<p>I have been waiting for my new TI watch since FEB of 09&#8230; I wanted the 433Mhz version.&#160; However digit-key had the 933Mhz in so I jumped at the chance to get one.&#160; So here it is.</p>
<p><a href="http://www.flickr.com/photos/rileyporter/4750246174/"><img src="http://farm5.static.flickr.com/4099/4750246174_b816b87070_m.jpg" /></a> </p>
<p>It comes with an RF Access Point (USB. See Below) and eZ430 emulator.&#160; Pretty cool!&#160; I will be messing with the watch to see if I can use the mspgcc dev environment for Linux, OSX use.&#160; However the instructions / CD comes packed with windows utilities.&#160; </p>
<p>I have a few cool ideas for the watch so keep an eye out!</p>
<p>Ril3y</p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/ez430-chronos-watch-unboxing/&title=eZ430+Chronos+Watch+Unboxing&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/ez430-chronos-watch-unboxing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XY Bot Drawing Circles</title>
		<link>http://blog.synthetos.com/xy-bot-drawing-circles/</link>
		<comments>http://blog.synthetos.com/xy-bot-drawing-circles/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 02:03:47 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[TinyG]]></category>
		<category><![CDATA[XY Plotter]]></category>
		<category><![CDATA[gcode]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/xy-bot-drawing-circles/</guid>
		<description><![CDATA[So it finally happened!  Alden finished the XY plotter bot by putting the “table” on the machine.  Now we have finally used the bot to draw something.  Over on the contraptor.org forums there was a bunch of “test gcode” called or referred to as “Contraptor Circle”.  So we went ahead and got the gcode.. Loaded [...]]]></description>
			<content:encoded><![CDATA[<p>So it finally happened!  Alden finished the <a href="http://blog.synthetos.com/xy-plotter-build-2/">XY plotter bot</a> by putting the “table” on the machine.  Now we have finally used the bot to draw something.  Over on the <a href="http://www.contraptor.org">contraptor.org</a> forums there was a bunch of “test gcode” called or referred to as “Contraptor Circle”.  So we went ahead and got the gcode.. Loaded it up into our <a href="https://www.synthetos.com/wiki/index.php?title=Projects:TinyG">TinyG</a> controller (we hard coded it into program memory) then had the XY bot go to work!</p>
<p>Check out the video!</p>
<p>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="data" value="http://www.flickr.com/apps/video/stewart.swf?v=71377" /><param name="flashvars" value="intl_lang=en-us&amp;photo_secret=a3b3ab19bf&amp;photo_id=4698382646" /><param name="bgcolor" value="#000000" /><param name="allowFullScreen" value="true" /><param name="src" value="http://www.flickr.com/apps/video/stewart.swf?v=71377" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" allowfullscreen="true" bgcolor="#000000" flashvars="intl_lang=en-us&amp;photo_secret=a3b3ab19bf&amp;photo_id=4698382646" data="http://www.flickr.com/apps/video/stewart.swf?v=71377"></embed></object></p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/xy-bot-drawing-circles/&title=XY+Bot+Drawing+Circles&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/xy-bot-drawing-circles/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSHfs and OSX</title>
		<link>http://blog.synthetos.com/sshfs-and-osx/</link>
		<comments>http://blog.synthetos.com/sshfs-and-osx/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 22:58:03 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/sshfs-and-osx/</guid>
		<description><![CDATA[If you are anything like me you also rely on ssh for just about everything. I have even started only using SSH for file sharing on my internal home network. In Linux (ubuntu at least) a quick sudo apt-get install sshfs and I was able to copy/view/delete files over an encrypted network connection. It was [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://macfuse.googlecode.com/svn/trunk/core/packaging/images/MacFUSE_Banner.png" /> If you are anything like me you also rely on ssh for just about everything. I have even started only using SSH for file sharing on my internal home network. In Linux (ubuntu at least) a quick</p>
<p>sudo apt-get install sshfs</p>
<p>and I was able to copy/view/delete files over an encrypted network connection. It was very cool&#8230;</p>
<p>Since I am using OSX for my main portable system I have been meaning on looking up how to do this on this os. As it would turn out its very simple. All that is needed two downloads/install and its ready to go.</p>
<p>sshfs GUI client:<br />
<a href="http://code.google.com/p/sshfs-gui/downloads/detail?name=sshfs-gui.1.1.dmg">http://code.google.com/p/sshfs-gui/</a></p>
<p>FUSE file system for OSX:<br />
<a href="http://code.google.com/p/macfuse/">http://code.google.com/p/macfuse/</a></p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/sshfs-and-osx/&title=SSHfs+and+OSX&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/sshfs-and-osx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>XY Plotter Build</title>
		<link>http://blog.synthetos.com/xy-plotter-build-2/</link>
		<comments>http://blog.synthetos.com/xy-plotter-build-2/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 13:09:39 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[Laser Cutting]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/xy-plotter-build-2/</guid>
		<description><![CDATA[The TinyG project has grown into something that is starting to resemble a working stepper driver (4 motors on one board). We needed a way to test code so and laser cuttable XY plotter was designed. We could have made it much smaller however we need to be able to check the Arc code to [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both;"><a class="image-link" href="http://www.flickr.com/photos/rileyporter/4651027144/"><img style="display: inline; float: left; margin: 0 10px 10px 0;" src="http://farm5.static.flickr.com/4067/4651027144_7b24463d51.jpg" alt="" width="500" height="334" align="left" /></a>The TinyG project has grown into something that is starting to resemble a working stepper driver (4 motors on one board). We needed a way to test code so and laser cuttable XY plotter was designed. We could have made it much smaller however we need to be able to check the Arc code to ensure the motors are working together and producing a nice large circle.</p>
<p style="clear: both;"> </p>
<p style="clear: both;"> </p>
<div>You can get all of the files for the laser cut parts at <a href="http://www.thingiverse.com/thing:3279">thingiverse</a>.</div>
<p><br class="spacer_" /></p>
<p style="clear: both;"> </p>
<p style="clear: both;"> </p>
<p style="clear: both;"> </p>
<div><strong>Some stuff about building it:<br />
</strong><br />
All metal is aluminum with the exception of the Y axis &#8220;angle rails&#8221; these are made from home depot steel angle. Both steel and alum angle is 1&#8243; x 1&#8243; x 1/8&#8243;. Possibly the coolest thing about this design is the fact that all the stuff that needs to be accurate is cut with the laser. Another cool feature is your size limitation of this is really only limited by the length of lead screws / angle rail length you can get. This design should be easy to support 6 &#8211; 8 ft tables with no real &#8220;changes&#8221; needed. (I think..)</div>
<p><br class="spacer_" /></p>
<p style="clear: both;"> </p>
<p style="clear: both;"><strong>Motors used were:</strong></p>
<p style="clear: both;">Electronics:Stepper Motors used:<a href="http://alltronics.com/cgi-bin/category.cgi?item=25M002">NEMA 23&#8242;s</a></p>
<p style="clear: both;"> </p>
<p style="clear: both;"> </p>
<p style="clear: both;"> </p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/xy-plotter-build-2/&title=XY+Plotter+Build&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/xy-plotter-build-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Open Bench FPGA Logic Analyzer on Linux Guide</title>
		<link>http://blog.synthetos.com/open-bench-fpga-logic-analyzer-on-linux-guide/</link>
		<comments>http://blog.synthetos.com/open-bench-fpga-logic-analyzer-on-linux-guide/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 12:59:51 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Enclosure Design]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=364</guid>
		<description><![CDATA[I recently purchased a logic analyzer from dangerous prototypes. Yup, same guy that does the bus pirate. Anyhow I wanted to get it going on Ubuntu and thought I would document the process for others. So the first thing I noticed was I needed the rxtx java lib. This lib is responsible for serial port [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both"><a href="http://www.flickr.com/photos/rileyporter/4671554181/" class="image-link"><img src="http://farm2.static.flickr.com/1302/4671554181_8ff5a54802.jpg" height="375" align="left" width="500" style=" display: inline; float: left; margin: 0 10px 10px 0;" /></a>I recently purchased a logic analyzer from dangerous prototypes. Yup, same guy that does the bus pirate. Anyhow I wanted to get it going on Ubuntu and thought I would document the process for others. So the first thing I noticed was I needed the rxtx java lib. This lib is responsible for serial port communications in java. You can read more about it here if you want. Anyhow a quick download from here and extract it and you get the RXTXcomm.jar file. Copy this file into: <br /> /usr/lib/jvm/java-6-openjdk/jre/lib/ext/RXTXcomm.jar</p>
<p style="clear: both">Now you should be able to issue an:</p>
<p style="clear: both">sudo java -jar analyzer.jar</p>
<p style="clear: both">However it still seems a bit buggy. Will update this post when I figure out why.</p>
<p><br class="final-break" style="clear: both" /></p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/open-bench-fpga-logic-analyzer-on-linux-guide/&title=Open+Bench+FPGA+Logic+Analyzer+on+Linux+Guide&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/open-bench-fpga-logic-analyzer-on-linux-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Analyzing USB HID Signals</title>
		<link>http://blog.synthetos.com/analyzing-usb-hid-signals/</link>
		<comments>http://blog.synthetos.com/analyzing-usb-hid-signals/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 22:10:33 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/analyzing-usb-hid-signals/</guid>
		<description><![CDATA[So I started down the path of trying to breakout USB HID signals via the USB Logic analyzer with saleae.com’s “Logic Analyzer” and a custom made&#160; USB break-IN cable.&#160; I learned that attempting to just “tap” the D+ and D- cables then read the bits off the wire is a total fail.&#160; This is due [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/rileyporter/4672307005/"><img title="USB analysis rig" style="display: inline; margin: 0px 10px 0px 0px" height="180" alt="USB analysis rig" src="http://farm2.static.flickr.com/1306/4672307005_02e6c5312a.jpg" width="240" align="left" /></a> So I started down the path of trying to breakout USB HID signals via the USB Logic analyzer with saleae.com’s “Logic Analyzer” and a custom made&#160; USB break-IN cable.&#160; I learned that attempting to just “tap” the D+ and D- cables then read the bits off the wire is a total fail.&#160; This is due to the USB protocol encodes the “bits” in the format of <a href="http://en.wikipedia.org/wiki/Non-return-to-zero">NZRI encoding</a>.&#160; </p>
<p>At first glance I still am trying to figure out how to programmatically de-code NZRI to get to the bits.&#160; After reading / skimming through Craig Peacock’s <a href="http://www.beyondlogic.org/usbnutshell/usb-in-a-nutshell.pdf">USB in a Nutshell</a> its has helped. </p>
<p><a href="http://blog.synthetos.com/wp-content/uploads/2010/06/Screenshot20100605at5.30.54PM.png"><img title="Screen shot 2010-06-05 at 5.30.54 PM" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="331" alt="Screen shot 2010-06-05 at 5.30.54 PM" src="http://blog.synthetos.com/wp-content/uploads/2010/06/Screenshot20100605at5.30.54PM_thumb.png" width="804" border="0" /></a> </p>
<p>Its a bit hard to see but on the D- signal you will see that there is a small line where the D- goes low then jumps back up.&#160; If you look all the way to the right there are a bunch of lines going up and down.&#160; The significance of this is that the first line all the way to the next line is exactly 1ms.</p>
<p>Which in reading AVR’s: <em><strong><a href="http://www.atmel.com/dyn/resources/prod_documents/doc2556.pdf">AVR309: Software Universal Serial Bus (USB)</a></strong></em></p>
<p><em>“In order to&#160; maintain synchronization, USB&#160; demands that this&#160; sync pattern is      <br />transmitted every millisecond in the case of&#160; full&#160; speed&#160; devices, or that both signal lines are&#160; pulled&#160; to zero every&#160; millisecond&#160; in the&#160; case of low&#160; speed devices.”&#160; </em></p>
<p>So what&#8217;s next?&#160; I am going to to look at Dick Streefland’s USB AVR implementation to see how he is de-coding the NZRI data.&#160; For troubleshooting purposes I am looking into writing a protocol analyzer for the logic device.&#160; More to come…</p>
<h4>Additional Links about USB and NZRI encoding:</h4>
<p><strong></strong>    <br />General forum discussion:    <br /><a title="http://bit.ly/aCHK4H" href="http://bit.ly/aCHK4H">http://bit.ly/aCHK4H</a></p>
<p>Dick Streefland’s USB AVR Implementation:   <br /><a href="http://www.xs4all.nl/~dicks/avr/usbtiny/index.html">http://www.xs4all.nl/~dicks/avr/usbtiny/index.html</a></p>
<p> USB in a Nutshell (PDF):   <br /><a title="http://www.beyondlogic.org/usbnutshell/usb-in-a-nutshell.pdf" href="http://www.beyondlogic.org/usbnutshell/usb-in-a-nutshell.pdf">http://www.beyondlogic.org/usbnutshell/usb-in-a-nutshell.pdf</a></p>
<p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:72074bee-ce07-4630-9742-e5ba151c9a7d" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/avr" rel="tag">avr</a>,<a href="http://technorati.com/tags/usb" rel="tag">usb</a>,<a href="http://technorati.com/tags/logic" rel="tag">logic</a>,<a href="http://technorati.com/tags/logic+analyzer" rel="tag">logic analyzer</a>,<a href="http://technorati.com/tags/saleae" rel="tag">saleae</a>,<a href="http://technorati.com/tags/hid" rel="tag">hid</a></div></p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/analyzing-usb-hid-signals/&title=Analyzing+USB+HID+Signals&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/analyzing-usb-hid-signals/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Restoring an Embedded Linux Raid Device</title>
		<link>http://blog.synthetos.com/restoring-an-embedded-linux-raid-device/</link>
		<comments>http://blog.synthetos.com/restoring-an-embedded-linux-raid-device/#comments</comments>
		<pubDate>Sat, 01 May 2010 01:00:05 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[embedded device]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[linear drive]]></category>
		<category><![CDATA[losetup]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[Nas]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[raid controller failed]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[software raid]]></category>
		<category><![CDATA[WDG2NC10000N]]></category>
		<category><![CDATA[Western Digital]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=360</guid>
		<description><![CDATA[So I picked up a Western Digital My Book II World Edition (WDMBWEII) a few years back to place all of my digital &#8220;life&#8221; on. Well being stupid&#8230; (perhaps pre-occupied) I did not have a up-to-date backup of the NAS since 2008 OCT. Needless to day the NAS failed. However, interestingly enough as luck would [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://salestores.com/stores/images/images_747/WDG2NC10000N.jpg" alt="" width="192" height="240" />So I picked up a <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822136083" target="_parent">Western Digital My Book II World Edition</a> (WDMBWEII) a few years back to place all of my digital &#8220;life&#8221; on.  Well being stupid&#8230; (perhaps pre-occupied) I did not have a up-to-date backup of the NAS since 2008 OCT.  Needless to day the NAS failed.  However, interestingly enough as luck would have it the NAS embedded system is the part that failed.  Meaning&#8230; The software raid devices we (Hard Drives) were just fine.. No corruption or anything.  In spirit of helping someone else out that might experience this problem I thought I would document the journey to recovery.</p>
<p>Backups.  You should backup your drives before you try to re-assemble them.  This will take a significant amount of time.  However, should you fat finger something or just have bad luck it will be worth the effort.</p>
<p>Assumptions:  You know what Linux is.  You have a vaild Ubuntu system to use as a &#8220;2 day dedicated raid restore system&#8221;.  You have a way to attach the 2 drives you popped from your WD MBWEII.  I used <a href="http://www.tigerdirect.com/applications/SearchTools/item-details.asp?Sku=T925-1500" target="_parent">this</a>.  You have 1 drive that is 1.5 TB (1tb will do it but its cutting it close)  to put the new images on.</p>
<p>Ok so backup your drives with dd_rescue (you can use dd if you prefer however dd_rescue gives you some nice &#8220;feedback&#8221; to show your backup progress).  Once you do that mount them as &#8220;loop devices&#8221;.  Then you reassemble the raid device with the mdadm command.  Below will walk you through all of this.</p>
<p><span style="color: #ff0000;"><strong><span style="background-color: #ffff00;">BACKUP YOUR DRIVES:</span></strong></span></p>
<p><span style="color: #ff0000;"><strong><span style="color: #cccccc; font-weight: normal;">Find out what the names of your drives are:</span></strong></span></p>
<p>
<strong><em><span style="color: #ff6600;">sudo fdisk -l<br />
</span></em></strong>This should return your drive information.  Look for the 2 drives that appear to be the same size.  So something like:<br />
 /dev/sdb and /dev/sdc<br />
 There will be multiple partitions on each drive.  The partition we want to backup is the /dev/sdX4 this contains the data.  So:</p>
<p><br class="spacer_" /></p>
<p><span style="display: inline;"> </span></p>
<div id="_mcePaste"><span style="color: #ff6600;"><em><strong>sudo dd_rescue /dev/sdb1 /media/drive_to_backup_to<br />
</strong></em></span><br />
 Replace drive_to_backup_to with whatever / wherever you want to place the 465GBish image to.<br />
 Do this for both of the drives then set them aside.</div>
<div id="_mcePaste">Ok 24 hoursish later you should have your images.  Now its time to set them up as virtual devices via the losetup command.  So this is what we are going to do in psuedo speak.  We make both image files local loop back devices.  Then we re-assemble the stripped array (which I believe is a raid 0) fromt he images.  ***Note your original drives you took from the WDMYBEII should be somewhere safe&#8230; You should not need them again.  That is until you remove all your data and want to &#8220;do&#8221; something with them again.   So lets ressaemble the drives and restore our data!</div>
<div id="_mcePaste"><em><strong><span style="color: #ff6600;">sudo losetup /dev/loop0 /path/to/backup_drive1</span></strong></em></div>
<div id="_mcePaste"><em><strong><span style="color: #ff6600;">sudo losetup /dev/loop1 /path/to/backup_drive2</span></strong></em></div>
<div id="_mcePaste">That will setup your created images as &#8220;virtual devices&#8221; .  So now lets reassemble them via mdadm. <br />
<em><strong><span style="color: #ff6600;">sudo mdadm &#8211;assemble /dev/md1  &#8211;force /dev/loop0 /dev/loop1 </span></strong></em></div>
<div id="_mcePaste">I am not sure if &#8211;force is needed however its what I did.</div>
<div id="_mcePaste">Lastly we need to mount this newly created &#8220;raid&#8221;device via the mount command.   I created a mount point for it too.  So:<br />
 sudo mkdir /media/NAS</div>
<div id="_mcePaste">sudo mount /dev/md1 /media/NAS</div>
<div id="_mcePaste">***Note if your mount fails (which mine did not)  it might be asvisible to run an fsck on the /dev/md1 device an then trying again. howeve ryou are on your own on this.</div>
<ol>
<li>Copy your files off quick to another drive and pray for good weather! </li>
<li>Credits:  I got alot of the help from <a href="http://mybookworld.wikidot.com/rescue-procedure-take-2" target="_parent">this</a> post on the WDMBWEII wiki dot page. </li>
</ol>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/restoring-an-embedded-linux-raid-device/&title=Restoring+an+Embedded+Linux+Raid+Device&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/restoring-an-embedded-linux-raid-device/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>GoodFet Built and flashed</title>
		<link>http://blog.synthetos.com/goodfet-built-and-flashed/</link>
		<comments>http://blog.synthetos.com/goodfet-built-and-flashed/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 15:19:05 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[GoodFet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[ftdi]]></category>
		<category><![CDATA[travis goodspeed]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=351</guid>
		<description><![CDATA[Travis Goodspeed was cool enough to toss me a few goodfet PCB&#8217;s in the mail.  I got them quite  a while ago and have been waiting for a good time to assemble one and get it rocking.  At work I have a project that I need an MSP programmer so I can go ahead and [...]]]></description>
			<content:encoded><![CDATA[<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<div class="wp-caption alignleft" style="width: 250px"><a href="http://www.flickr.com/photos/31697990@N00/4514634440/"><img title="GoodFet 2.2" src="http://farm5.static.flickr.com/4035/4514634440_f7b5878478.jpg" alt="" width="240" height="180" /></a><p class="wp-caption-text">I used 603 components in some spots where it called for 402.</p></div>
<p><br class="spacer_" /></p>
<p><a href="http://travisgoodspeed.blogspot.com/">Travis Goodspeed</a> was cool enough to toss me a few <a href="http://goodfet.sourceforge.net/">goodfet</a> PCB&#8217;s in the mail.  I got them quite  a while ago and have been waiting for a good time to assemble one and get it rocking.  At work I have a project that I need an MSP programmer so I can go ahead and flash some code onto a prototype system.  Well that being said it seemed like the perfect time to get this board working.</p>
<p><br class="spacer_" /></p>
<p>You can see how to build this board from the great flick photo travis has <a href="http://goodfet.sourceforge.net/hardware/goodfet22/">here</a>.  Or you can download the <a href="http://goodfet.sourceforge.net/releases/goodfet22.zip">eagle files</a> and go from there.  Pick your prefrered poison.  I just followed the flickr page / notes.  If you are not used to soldering smd stuff I would suggest practice a bit on some cheaper IC&#8217;s as the <a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&amp;name=296-22697-1-ND" target="_blank">MSP4302618</a> is about $13.</p>
<p><br class="spacer_" /></p>
<p>Once you get it all built up (y ou checked for solder bridges right?) you can plug it into a usb port.  The TX and RX light flashes quickly then it just sits there as a VCP on your system (assuming you have the <a href="http://www.ftdichip.com/Drivers/VCP.htm">FTDI drivers</a> installed).  At this point we need to load up the<a href="http://goodfet.sourceforge.net/about/download/"> latest goodfet firmware</a>.  Travis has authored a few python scripts + some other glue code that automates the download and install of the firmware over the net!  A quick ./goodfet.bsl &#8211;fromweb and its on its way.  See screen shot below.   One thing to note is you will need pyserial on your system for the firmware downloader / installer to work.  I did this from OSX however it works just as well on linux.  I have not got this setup working from Windows yet.  I did take 2 mins to try however.  But it does seem like the way windows handles serial ports might blowup the firmware dl/installer script.</p>
<p><br class="spacer_" /></p>
<p style="text-align: center;"><a title="goodfet programmed" href="http://www.flickr.com/photos/31697990@N00/4513095125/"><img class="alignnone" src="http://farm3.static.flickr.com/2134/4513095125_742070fe09_o.png" alt="goodfet programmed" /></a></p>
<p>However as it would seem the way Travis does his hack to where there is not a need for a crystal is still a bit off.  (hes fixing this soon)  You can read the information here on how the non need for a crystal works <a href="http://travisgoodspeed.blogspot.com/2009/10/msp430-info-flash.html">here</a>.  To fix this Travis has a bunch of txt files with different timing values.  The command to execute is.</p>
<p><em><strong><span style="color: #ff6600;">./goodfet.bsl -e -p contrib/infos/2618-002.txt; ./goodfet.bsl -p msp430x2618.hex</span></strong></em></p>
<p>Obviously choose your chip txt file and hex file.  I am using the Goodfet 2.2.  It uses the <a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&amp;name=296-22697-1-ND" target="_blank">MSP4302618</a> so this is the file that I used.  Note, the only 2 files that worked for my specific uC was:</p>
<div id="_mcePaste"><strong>2618-002.txt</strong></div>
<div id="_mcePaste"><strong>2618-004.txt</strong></div>
<p>You can verify that the goodfet is now working by doing a <br />
 <span style="color: #ff6600;"><em><strong>./goodfet.monitor info</strong></em></span></p>
<p><em><strong><span style="color: #ff6600;">ril3y@linux:~/Desktop/goodfet/svngoodfet/trunk/client$ ./goodfet.monitor info</span></strong></em></p>
<p><strong>GoodFET with f26f MCU</strong></p>
<p><em><strong><span style="color: #ff6600;">ril3y@linux:~/Desktop/goodfet/svngoodfet/trunk/client$</span></strong></em></p>
<p>Here is a video of the flashing process.  Note, its super exciting <img src='http://blog.synthetos.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.flickr.com/photos/31697990@N00/4514630688/"><img class="alignnone" title="Fixing the goodfet timing error" src="http://farm5.static.flickr.com/4053/4514630688_a5051abc06_o.jpg" alt="" width="480" height="360" /></a></p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/goodfet-built-and-flashed/&title=GoodFet+Built+and+flashed&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/goodfet-built-and-flashed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>More Enclosures</title>
		<link>http://blog.synthetos.com/more-enclosures/</link>
		<comments>http://blog.synthetos.com/more-enclosures/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 00:34:01 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Enclosure Design]]></category>
		<category><![CDATA[Fabrication]]></category>
		<category><![CDATA[Laser Cutting]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[arduino mega]]></category>
		<category><![CDATA[enclosure]]></category>
		<category><![CDATA[laser]]></category>
		<category><![CDATA[laser cut]]></category>
		<category><![CDATA[laser cutting]]></category>
		<category><![CDATA[mega]]></category>
		<category><![CDATA[product]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=345</guid>
		<description><![CDATA[I have been playing around with creating enclosures for prototyping electronics as of late. Today I took a few hours while my son was napping to create a case for my Arduino Mega that I got recently. The typical wear and tear of breadboarding / protoyping with these cool uC&#8217;s can be pretty harsh, also [...]]]></description>
			<content:encoded><![CDATA[<p><a title="DSC_5744.JPG" href="http://www.flickr.com/photos/31697990@N00/4505685289/"><img class="alignleft" style="float: left;" src="http://farm5.static.flickr.com/4017/4505685289_8784c0de29_m.jpg" alt="DSC_5744.JPG" /></a></p>
<p>I have been playing around with creating enclosures for prototyping electronics as of late.  Today I took a few hours while my son was napping to create a case for my Arduino Mega that I got recently.  The typical wear and tear of breadboarding / protoyping with these cool uC&#8217;s can be pretty harsh, also knowing the common state of my workbench (screws, tools etc all in disarray) I find these cases completely necessary.</p>
<p>With the recent number of orders for the Bus Pirate V3 enclosure it seems obvious that I post up these other designs as products also.  However, these still have quite a bit more testing and tweaking to go through before they are ready for the synthetos web store.</p>
<p>More pics here:</p>
<p><br class="spacer_" /></p>
<p style="text-align: center;"><a title="DSC_5754.JPG" href="http://www.flickr.com/photos/31697990@N00/4506621342/"><img class="alignnone" src="http://farm3.static.flickr.com/2710/4506621342_48aa372380_m.jpg" alt="DSC_5754.JPG" /></a></p>
<p style="text-align: center;"><a title="DSC_5751.JPG" href="http://www.flickr.com/photos/31697990@N00/4505983465/"><img class="alignnone" src="http://farm3.static.flickr.com/2751/4505983465_fd2dbdbcf5_m.jpg" alt="DSC_5751.JPG" /></a></p>
<p style="text-align: center;"><a title="DSC_5749.JPG" href="http://www.flickr.com/photos/31697990@N00/4505973357/"><img class="alignnone" src="http://farm3.static.flickr.com/2097/4505973357_081271c085_m.jpg" alt="DSC_5749.JPG" /></a></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/more-enclosures/&title=More+Enclosures&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/more-enclosures/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mini Proto Desk &#8211; For the Arduino</title>
		<link>http://blog.synthetos.com/mini-proto-desk-for-the-arduino/</link>
		<comments>http://blog.synthetos.com/mini-proto-desk-for-the-arduino/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 03:25:37 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Enclosure Design]]></category>
		<category><![CDATA[Fabrication]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[laser]]></category>
		<category><![CDATA[laser cut]]></category>
		<category><![CDATA[prototype]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=341</guid>
		<description><![CDATA[Here is an idea that I have been kicking around.  An portable arduino &#8220;proto desk&#8221;. This is an smaller and more &#8220;mass produceable&#8221; version of this: www.flickr.com/photos/rileyporter/4349185833/ I hope to perfect this in the next few weeks and possibly put it up on the synthetos.com store (once I officially launch it) The &#8220;proto desk&#8221; is [...]]]></description>
			<content:encoded><![CDATA[<div>
<div>
<p><a title="Mini Prototype Desk - ALPHA DESIGN" href="http://www.flickr.com/photos/31697990@N00/4495859298/"><img src="http://farm5.static.flickr.com/4063/4495859298_96f53dd3cd.jpg" alt="Mini Prototype Desk - ALPHA DESIGN" /></a></p>
<p>Here is an idea that I have been kicking around.  An portable arduino &#8220;proto desk&#8221;. This is an smaller and more &#8220;mass produceable&#8221; version of this:</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><a href="http://www.flickr.com/photos/rileyporter/4349185833/">www.flickr.com/photos/rileyporter/4349185833/</a></p>
<p>I hope to perfect this in the next few weeks and possibly put it up on the synthetos.com store (once I officially launch it)</p>
<p>The &#8220;proto desk&#8221; is missing the 1.8&#8243;x1.4&#8243; breadboard at the moment. (I could not find mine <img src='http://blog.synthetos.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The top 2 openings are containers to place components in. I still need to fix the lettering alignment on the pins and a few holes were not cut (my stupidity) and lastly the DC power connector is a tad bit too high for the rest of the desk to tighten up nicely. Still thinking about what to do about that.</p>
<p>More to come.</p>
</div>
</div>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/mini-proto-desk-for-the-arduino/&title=Mini+Proto+Desk+&#8211;+For+the+Arduino&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/mini-proto-desk-for-the-arduino/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
