<?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>Stephen&#039;s Weblog &#187; Electronics</title>
	<atom:link href="http://blog.akkit.org/category/hardware/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.akkit.org</link>
	<description>Everything is hackable</description>
	<lastBuildDate>Tue, 31 Jan 2012 07:35:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The road to 3D Printing, part 3</title>
		<link>http://blog.akkit.org/2012/01/31/the-road-to-3d-printing-part-3/</link>
		<comments>http://blog.akkit.org/2012/01/31/the-road-to-3d-printing-part-3/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 07:31:59 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[CNC Controller]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://blog.akkit.org/?p=417</guid>
		<description><![CDATA[As I mentioned earlier, JTAG is a pretty simple protocol. For the ucHelper I&#8217;ve designed a command-oriented serial protocol that allows me to perform various JTAG and UART operations. After some initial trouble with physical connections on the CNC board, it was possible to enumerate the JTAG chain! In order to be sure JTAG was [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned earlier, JTAG is a pretty simple protocol. For the ucHelper I&#8217;ve designed a command-oriented serial protocol that allows me to perform various JTAG and UART operations. After some initial trouble with physical connections on the CNC board, it was possible to enumerate the JTAG chain! In order to be sure JTAG was really working as intended, I took a short detour and wrote an SVF player, and was able to program some existing Xilinx FPGA boards from SVF files (like <a href="http://www.flickr.com/photos/sgstair/6246019350/in/photostream">serialeth</a>).</p>
<p>The ARM Chip I was using on the CNC board (NXP LPC2927) has two JTAG chains &#8211; one of them is a boundary scan / flash (and who knows what else) chain, and the other is for the ARM9 standard debug interface. I only really wanted to program the flash, so I started out with the flash chain &#8211; There was some documentation for the JTAG flash interface of a previous chip in the series so I was hopeful this one would be similar.</p>
<p>Unfortunately it was not meant to be. The enable bits / initial handshake sequence for the flash controller on this chip seems to be entirely different than the earlier one, sometime I may go back and find the right bits to make that work, but I shifted my focus to using the ARM debug interface. The first thing I noticed, is that it didn&#8217;t work :) As it turns out (after connecting the layers of deep indirection in the documentation), you must have a crystal in a specific range of frequencies for it to work; After fixing that though, I began to make progress on that front. the ARM debug interface for this chip is relatively well documented in the ARM9 documentation on ARM&#8217;s site. Documentation always seems to leave something to be desired, but this was at least relatively unambiguous &#8211; and worked!</p>
<p>Effectively, the ARM9 chips (also most other ARM chips), for a debug interface, simply intercept the processor&#8217;s instruction and data busses, and allow you to single step the processor. So you can perform operations by injecting the instruction you wish to execute, and single stepping. You can write a register to an arbitrary memory location, which causes it to be intercepted on the data bus (afterwards you can read the data bus) &#8211; Similarly you can read from memory and it will end up reading the value you insert onto the data bus into a register. It&#8217;s a rather minimal and effective debugging interface, it doesn&#8217;t consume much in the way of hardware resources, though the software to do anything useful with it has to be a bit complicated as a result.</p>
<p>Since the single step operations capture the data bus, it&#8217;s not possible to directly modify or read system memory through them, but there is another special provision for doing this, for executing individual instructions synchronized with the normal CPU clock that can interact with memory. So, I wrote a handful of wrappers that would allow me to manipulate the CPU&#8217;s registers and read from / write to memory, and around that built a small program that wrote the flash using the system&#8217;s internal flash controller.</p>
<p>With that literal pile of work behind me, I set off building software for the ARM chip itself. A short amount of time later, I had a blinking LED (Because this is naturally the most important thing to do with /any/ piece of hardware)</p>
<p><a title="IMG_0826.JPG by sgstair, on Flickr" href="http://www.flickr.com/photos/sgstair/6661934599/"><img src="http://farm8.staticflickr.com/7166/6661934599_9dde973c42.jpg" alt="IMG_0826.JPG" width="500" height="375" /> </a></p>
<p>(Not visible: LEDs blinking)</p>
<p>(Continuity note: Note that the above board is not the same one as the board shown in part 1! At some point in messing with the JTAG chains I became sufficiently frustrated with the quality of connections on the first board, which had been reworked a few too many times perhaps, that I built a second board and took special care in making sure the JTAG chains and other important connections were in good shape. It&#8217;s a bit less than fully populated because&#8230; placing some 400-500 components is HARD!)</p>
<p>(More to come in part 4&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akkit.org/2012/01/31/the-road-to-3d-printing-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The road to 3D printing, part 2</title>
		<link>http://blog.akkit.org/2012/01/28/the-road-to-3d-printing-part-2/</link>
		<comments>http://blog.akkit.org/2012/01/28/the-road-to-3d-printing-part-2/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 22:33:21 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[CNC Controller]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://blog.akkit.org/?p=412</guid>
		<description><![CDATA[Around the middle of December I decided it was finally time to make this project actually work. I took the one CNC board I had assembled, such a long time back, and subjected it to an initial smoke test (connecting the power, that is). There was smoke. Not discouraged by the loss of a chip [...]]]></description>
			<content:encoded><![CDATA[<p>Around the middle of December I decided it was finally time to make this project actually work.</p>
<p>I took the one CNC board I had assembled, such a long time back, and subjected it to an initial smoke test (connecting the power, that is). There was smoke. Not discouraged by the loss of a chip or two, I took a further look. I found that the assembly of the first board had hit a number of major snags; The board was 2oz copper in order to be capable of routing large current loads to the motors &#8211; but the groundplane was exceptionally difficult to solder to, even though the pads have thermals. I found that one of the chips broke because a resistor intended to keep an &#8220;enable&#8221; signal low was not connected to the groundplane, and the other one, a FPGA, was installed backwards (these FPGAs have two circles on the top which could indicate pin 1; Unfortunately the wrong one was chosen and I didn&#8217;t check.)</p>
<p>Undeterred, I pressed forwards with getting this board to work. I replaced the FPGA and rotated the other one, doublechecked a lot of signals (there were still some components on the back side of the board that were not properly connected to ground). All the poor connections were on the back side of the board, the top side had been reflowed and the connections seemed uniformly good there.</p>
<p>After those fixes and some cleanup, ran the smoke test again &#8211; The board powered up without smoke! A first small victory down this path &#8211; But many more things remained.</p>
<p>So, let me tell you about JTAG. I made a <a href="http://blog.akkit.org/2010/07/11/jtag/">post on jtag</a> a long time ago, when I was first starting to mess with it; but for this project I decided to build my own JTAG tools to program the chips involved &amp; for other nefarious purposes.</p>
<p>I have made a few starts  towards my own jtag stack over time, first was an <a href="http://blog.akkit.org/2010/07/25/generic-usb-jtagetc-programmer/">AVR-based board intended to program all manner of things</a> &#8211; This project ultimately stagnated as the jtag level shifting interfered with actually programming the AVR chip itself. Despite a fix, building out the stack was a big project and never was completed.</p>
<p>While I was designing the CNC board though, I had the idea for a more specific debugging helper tool geared for it, and not too long after designing the CNC board, I did build such a device based on a chip I had come to know and love (and built a USB stack for&#8230;) &#8211; this was the ucHelper, PCBs shown below.</p>
<p><a title="IMG_0628.JPG by sgstair, on Flickr" href="http://www.flickr.com/photos/sgstair/5518978591/"><img src="http://farm6.staticflickr.com/5019/5518978591_b0806b09f7.jpg" alt="IMG_0628.JPG" width="500" height="375" /></a></p>
<p>ucHelper is really just a minimal JTAG and serial interface board &#8211; Being exactly what I needed for programming and debugging here though, I got started on writing the code for it.</p>
<p>(more in part 3)</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akkit.org/2012/01/28/the-road-to-3d-printing-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The road to 3D printing, part 1</title>
		<link>http://blog.akkit.org/2012/01/27/the-road-to-3d-printing-part-1/</link>
		<comments>http://blog.akkit.org/2012/01/27/the-road-to-3d-printing-part-1/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 09:29:19 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[CNC Controller]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://blog.akkit.org/?p=404</guid>
		<description><![CDATA[It&#8217;s been just over a year since I decided to seriously pursue building my own 3D printer, and while it has been taking a back seat to a lot of other projects I&#8217;ve been doing, it&#8217;s looking like it will finally come together in the next few weeks! The CNC Controller in the last two [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been just over a year since I decided to seriously pursue building my own 3D printer, and while it has been taking a back seat to a lot of other projects I&#8217;ve been doing, it&#8217;s looking like it will finally come together in the next few weeks!</p>
<p>The CNC Controller in the last two posts was my first big move towards realizing the idea; Being  a stubborn sort, I&#8217;ve wanted to build the entire thing entirely myself &#8211; Historically this has been both a good and a bad decision; I like owning the entire stack in a project, but it comes at a price &#8211; Actually building and completing the project takes a lot longer. The upside is I get a lot of experience from such projects, and learn a lot about a wide variety of things &#8211; this is ultimately the reason I do it so much.</p>
<p>I did finally concede to use an existing 3D Printer hardware design, and near the end of last year built a Prusa Mendel from a kit of printed parts &amp; hardware (pic below)</p>
<p><a title="IMG_0772.JPG by sgstair, on Flickr" href="http://www.flickr.com/photos/sgstair/6180492348/"><img src="http://farm7.staticflickr.com/6159/6180492348_cdf4e8cd80.jpg" alt="IMG_0772.JPG" width="500" height="375" /></a></p>
<p>However I am still quite determined to own the electronics. Around the very end of 2011 I finally decided to put the effort into making this project happen, and started to bring up the CNC board I had designed.</p>
<p>(More in part 2)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akkit.org/2012/01/27/the-road-to-3d-printing-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CNC Controller update</title>
		<link>http://blog.akkit.org/2011/07/23/cnc-controller-update/</link>
		<comments>http://blog.akkit.org/2011/07/23/cnc-controller-update/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 23:54:38 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Circuit Design]]></category>
		<category><![CDATA[CNC Controller]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://blog.akkit.org/?p=398</guid>
		<description><![CDATA[Ah, it&#8217;s been a while. Since I opted to stop posting on a fixed schedule, that seems to have eliminated any hope of regular updates &#8211; oh well. So, I have been largely tied up in a (Very big) project that&#8217;s still secret, I&#8217;m not saying much about it. But there have been a few [...]]]></description>
			<content:encoded><![CDATA[<p>Ah, it&#8217;s been a while.</p>
<p>Since I opted to stop posting on a fixed schedule, that seems to have eliminated any hope of regular updates &#8211; oh well.</p>
<p>So, I have been largely tied up in a (Very big) project that&#8217;s still secret, I&#8217;m not saying much about it. But there have been a few bits of progress in other areas &#8211; Most notably, I finally got a CNC controller board populated!</p>
<p><a title="Fully populated CNC board by sgstair, on Flickr" href="http://www.flickr.com/photos/sgstair/5960635004/"><img src="http://farm7.static.flickr.com/6136/5960635004_ae93eb4986.jpg" alt="Fully populated CNC board" width="500" height="375" /></a></p>
<p>Isn&#8217;t it lovely?  I certainly think so, after all the work that went into getting this far :)</p>
<p>Sadly, I won&#8217;t really get much further at the moment (need to get back to an all-consuming secret project), but this has marked a pretty big milestone in a few of my projects (the reflow controller also works pretty nicely!)</p>
<p>I&#8217;ll be sure to take some time and write up these when I make some more progress (or just get sick of working on the more important stuff again)</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akkit.org/2011/07/23/cnc-controller-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CNC Controller</title>
		<link>http://blog.akkit.org/2011/02/21/cnc-controller/</link>
		<comments>http://blog.akkit.org/2011/02/21/cnc-controller/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 05:53:18 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Circuit Design]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[PCB Layout]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://blog.akkit.org/?p=360</guid>
		<description><![CDATA[Progress! At long last! Over the past month I have been designing a CNC controller for various small projects I&#8217;ve been kicking around (oh things like 3d printing, building a pick&#38;place, and some other random thoughts) Being the hopelessly stubborn sort that I am, I decided to build it from scratch. The design work for [...]]]></description>
			<content:encoded><![CDATA[<p>Progress! At long last!</p>
<p>Over the past month I have been designing a CNC controller for various small projects I&#8217;ve been kicking around (oh things like 3d printing, building a pick&amp;place, and some other random thoughts)</p>
<p>Being the hopelessly stubborn sort that I am, I decided to build it from scratch. The design work for something like this is something I enjoy immensely, and while I don&#8217;t always get everything right the first time (There are a few inefficiencies, but nothing terrible), it&#8217;s been a lot of fun and a good learning experience.</p>
<p>Here&#8217;s an image of the final board design, and past the break is a very long thread of text and images showing the steps getting to this point:</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip27.png"><img class="alignnone size-medium wp-image-387" title="cnc_wip27" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip27-300x186.png" alt="" width="300" height="186" /></a></p>
<p><span id="more-360"></span></p>
<p>(After weeks of looking at this really closely, it seems amazing to me how small the board actually is)</p>
<p>Let&#8217;s start with the big questions:</p>
<p>Why design a stepper motor controller when so many already exist?</p>
<p>Mainly because I hadn&#8217;t done so before, and it seemed like a fun idea. Also because I have the unhealthy tendency to reinvent the wheel, and I&#8217;m not about to do anything to fix that. ;) Additionally though, I wanted to make something better than just the standard off-the-shelf motor controller</p>
<p>What are the design goals for this project?</p>
<p>The core design goal is to be very flexible. This system is rather overkill as a result, it can drive 12V and 5V steppers, and also has a lower current variable voltage rail intended to drive voltages between 5V and 12V. There is an ARM microcontroller that handles all the interface and data management, and it&#8217;s attached to two FPGAs which will be able to drive the steppers with very precise timings. As it stands, the board is designed to drive 5 stepper motors and additionally a bank of 8 standard R/C servos for miscellaneous other stuff; And each of the stepper interfaces could be used to drive two normal motors too, or resistive elements for heating, or &#8230;</p>
<p>Being easy to repurpose and reuse with other systems was a priority too; This design uses motor connectors which should be compatible with the system makerbot is using. For everything else (end stops, etc) it&#8217;s using 2 and 4 pin 1mm pitch JST-SH connectors which are also pretty common. There are two I2C busses which are designed to accept arbitrary sensors or controllers to be added to the system</p>
<p>Will you sell them / release design files / etc?</p>
<p>Likely one or more of the above,  but I want to get it working first.</p>
<p>I&#8217;ll be happy to field other questions, let me know if you have any!</p>
<p>About design challenges:</p>
<p>This board started with  the basic stepper motor design, and in trying to make it as useful as possible &#8211; I wound up with a motor controller as a train of 4 H-Bridges, attached to a local per-motor power rail. Each h-bridge would get two control lines from the FPGA (drive up/down), and one sense line, which tells the FPGA whether the voltage is above about 1V or so. Not a lot of information but will probably come in handy.</p>
<p>Ultimately this area is where the design flaw in this first revision is &#8211; The output stage of the H-Bridge is driven by a pair of FETs, a P-Fet to pull up, and an N-Fet to pull down. Since the P-Fet&#8217;s gate needs to be near the high level (these P-fets will turn on when the voltage is less than the high voltage minus a volt or so), I&#8217;m using a second stage of fets to invert the FPGA signal and make sure it can fully be turned off. I am driving the N-Fet&#8217;s gate directly with the FPGA though, and while the 3.3V signal is high enough to turn on the FET, it&#8217;s not high enough to turn it &#8220;all the way&#8221; on, so it operates in a less efficient mode. This effectively limits the amount of current I can drive efficiently to about 1A instead of 2A or so which I was designing for &#8211; but that&#8217;s not a major loss for my application so I&#8217;m going ahead with this revision anyway. I&#8217;ve found some level shifter chips that will use in subsequent versions which will solve this problem for me though, and drive both P and N FETs fully.</p>
<p>Routing this board was also a fun challenge, I tried to keep as many of the signals as possible on the top layer to have good return paths to ground. Ultimately this didn&#8217;t work out to be perfect, but it&#8217;s pretty good. The motor area in particular is very clean on the back side, and only has the ground plane and local power traces.</p>
<p>In order to make the input section as dense as possible, there are actually two PCB levels. There&#8217;s a second PCB which will stack on top of the first one, attached with one rectangular board-board connector mating, and another one with ribbon cables; This makes it possible to also enclude end-stops, rotary encoder inputs (which may not be really interesting, but may be used for something else entirely) and LEDs per motor. It&#8217;s also used for the I2C connections.</p>
<p>As is my custom, I have taken screenshots of the board&#8217;s layout at various arbitrary points in the design process, and the result is that you can see how the board has evolved over time.</p>
<p>This project has been extremely long running, as far as projects go, so I have accumulated a massive 27 WIP images. They are here below with inline commentary for your amusement:</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip1.png"><img class="alignnone size-medium wp-image-361" title="cnc_wip1" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip1-300x243.png" alt="" width="300" height="243" /></a></p>
<p>First things first &#8211; Settled on a core design and layout, and the set of parts to use. This greatly shaped what the rest of the board ended up looking like</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip2.png"><img class="alignnone size-medium wp-image-362" title="cnc_wip2" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip2-300x200.png" alt="" width="300" height="200" /></a></p>
<p>Added some more important things: Power and interface. The line voltage footprint was added for spacing reasons, and because I am considering building a line voltage -&gt; ATX module to fit on top at some point. But that&#8217;s a crazy project in its own right.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip3.png"><img class="alignnone size-medium wp-image-363" title="cnc_wip3" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip3-141x300.png" alt="" width="141" height="300" /></a></p>
<p>Duplicated the motor tile for all 5 motors&#8230; And ended up with a huge mess of components!</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip4.png"><img class="alignnone size-medium wp-image-364" title="cnc_wip4" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip4-300x174.png" alt="" width="300" height="174" /></a></p>
<p>Mostly sorted out the motor tiles at this point, and added FPGAs</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip5.png"><img class="alignnone size-medium wp-image-365" title="cnc_wip5" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip5-300x187.png" alt="" width="300" height="187" /></a></p>
<p>The power distribution traces have been added. These are &gt;100 mil traces for high current capacity (And the PCB will be 2Oz copper); Oh also added an ARM</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip6.png"><img class="alignnone size-medium wp-image-366" title="cnc_wip6" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip6-300x200.png" alt="" width="300" height="200" /></a></p>
<p>Added the switching power supply for the variable voltage rail, and started working on layout for the per-motor power distribution on the first two tiles. Added 4 R/C servo outputs (was planning on putting the other 4 on the stacked second layer board)</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip7.png"><img class="alignnone size-medium wp-image-367" title="cnc_wip7" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip7-300x196.png" alt="" width="300" height="196" /></a></p>
<p>Decided how the motor tiles should connect to the FPGA, for the first 3 tiles. Started working on routing them, and further layout/routing on the motor3-4 tiles.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip8.png"><img class="alignnone size-medium wp-image-368" title="cnc_wip8" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip8-300x188.png" alt="" width="300" height="188" /></a></p>
<p>Further progress routing attachments to the FPGA</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip9.png"><img class="alignnone size-medium wp-image-369" title="cnc_wip9" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip9-300x188.png" alt="" width="300" height="188" /></a></p>
<p>More traces!</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip10.png"><img class="alignnone size-medium wp-image-370" title="cnc_wip10" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip10-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Yet more traces! Started thinking about second FPGA placement, and R/C servo connector layout</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip11.png"><img class="alignnone size-medium wp-image-371" title="cnc_wip11" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip11-300x185.png" alt="" width="300" height="185" /></a></p>
<p>Many things here! Decided on a scheme for  attaching I/O to the upper level I/O board, Also decided to put all 8 R/C servo interfaces on the bottom level to be consistent (after realizing that the top board would need to stick forward, so the JST connectors will be remotely close to the front of the other pins). And also designed the voltage/current measuring circuts, whose components were stuffed up in the top middle for now.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip12.png"><img class="alignnone size-medium wp-image-372" title="cnc_wip12" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip12-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Started routing the power enable lines from the motor2-3 tiles, this was a bit tricky as there&#8217;s no good place to put the traces except on the back side. With the other constraints in place there really isn&#8217;t another good place to put them.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip13.png"><img class="alignnone size-medium wp-image-373" title="cnc_wip13" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip13-300x188.png" alt="" width="300" height="188" /></a></p>
<p>Starting to route the second FPGA, messed with a ground plane up by the switching power supply.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip14.png"><img class="alignnone size-medium wp-image-374" title="cnc_wip14" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip14-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Routed almost all the rest of the second FPGA!</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip15.png"><img class="alignnone size-medium wp-image-375" title="cnc_wip15" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip15-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Added FPGA jtag connector, started to organize current measuring components, and attached the FPGA2 to the uC in a convenient location</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip16.png"><img class="alignnone size-medium wp-image-376" title="cnc_wip16" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip16-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Added serial level shifter, and finished organizing the current measuring components &#8211; Starting their layout.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip17.png"><img class="alignnone size-medium wp-image-377" title="cnc_wip17" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip17-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Added a serial flash and a second JTAG connector for the ARM. This isn&#8217;t a standard ARM jtag connector, but I didn&#8217;t have space for one, this will work well enough though.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip18.png"><img class="alignnone size-medium wp-image-378" title="cnc_wip18" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip18-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Added components for a &#8220;shutdown&#8221; switch. Decided to add a 3.3V serial connection broken out to a header, and continued stuffing the power measurement components into the space near the CPU.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip19.png"><img class="alignnone size-medium wp-image-379" title="cnc_wip19" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip19-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Started routing power for the first FPGA. There are 3 voltage levels to manage; GND, 3.3V, and 1.2V. Routing strategy was to run 1.2V on the top layer, 3.3V in the middle on the bottom layer, and GND will fill everything else. ARM cpu is similar, except 1.8V rather than 1.2V</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip20.png"><img class="alignnone size-medium wp-image-380" title="cnc_wip20" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip20-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Finished placing and routing (most of) the power measurement components! Also finished layout of the shutdown / serial header components in the middle of the top.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip21.png"><img class="alignnone size-medium wp-image-381" title="cnc_wip21" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip21-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Starting to route some other stuff around, and power for the ARM</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip22.png"><img class="alignnone size-medium wp-image-382" title="cnc_wip22" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip22-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Finished JTAG signals</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip23.png"><img class="alignnone size-medium wp-image-383" title="cnc_wip23" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip23-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Finished ARM chip power routing!</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip24.png"><img class="alignnone size-medium wp-image-384" title="cnc_wip24" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip24-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Now finished second FPGA power too! So very close now :)</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip25.png"><img class="alignnone size-medium wp-image-385" title="cnc_wip25" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip25-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Went back and enabled the Names layer and repositioned all of the uncooperative part labels :)</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip26.png"><img class="alignnone size-medium wp-image-386" title="cnc_wip26" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip26-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Added ground fill. Added lots of vias, started vetting design for bad features in the ground fill &amp; vias too close to pads &amp; etc.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip26.png"></a><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip27.png"><img class="alignnone size-medium wp-image-387" title="cnc_wip27" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnc_wip27-300x186.png" alt="" width="300" height="186" /></a></p>
<p>Add pick&amp;place markers, some silkscreen, further vetting, overall is pretty much done at this point!</p>
<p>That&#8217;s the last image I have &#8211; I have made a few tiny changes since that (found some more vias too close to pads on the back layer)</p>
<p>And after this board was done, I went on to build the I/O board that will sit on top of it. That was far less difficult and the images I have are below:</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnctop_wip1.png"><img class="alignnone size-medium wp-image-388" title="cnctop_wip1" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnctop_wip1-300x79.png" alt="" width="300" height="79" /></a></p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnctop_wip2.png"><img class="alignnone size-medium wp-image-389" title="cnctop_wip2" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnctop_wip2-300x78.png" alt="" width="300" height="78" /></a></p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnctop_wip3.png"><img class="alignnone size-medium wp-image-390" title="cnctop_wip3" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnctop_wip3-300x77.png" alt="" width="300" height="77" /></a></p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2011/02/cnctop_wip4.png"><img class="alignnone size-medium wp-image-391" title="cnctop_wip4" src="http://blog.akkit.org/wp-content/uploads/2011/02/cnctop_wip4-300x78.png" alt="" width="300" height="78" /></a></p>
<p>I&#8217;ve had fun building this board but I&#8217;m rather glad this phase is over. I&#8217;m now sending the design to be produced and will have to order a large pile of parts to populate some boards with :)</p>
<p>Wish me luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akkit.org/2011/02/21/cnc-controller/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Working on stuff</title>
		<link>http://blog.akkit.org/2011/01/17/working-on-stuff/</link>
		<comments>http://blog.akkit.org/2011/01/17/working-on-stuff/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 18:04:43 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://blog.akkit.org/?p=352</guid>
		<description><![CDATA[Ah! It&#8217;s been 2 weeks again already; Work speed for me always varies a lot, but I&#8217;ve been unlucky lately: I put in a lot of effort for one project and then it stalled right near the end. I&#8217;ll go back and finish it and write it up sometime soon though :) In the meantime [...]]]></description>
			<content:encoded><![CDATA[<p>Ah! It&#8217;s been 2 weeks again already; Work speed for me always varies a lot, but I&#8217;ve been unlucky lately: I put in a lot of effort for one project and then it stalled right near the end. I&#8217;ll go back and finish it and write it up sometime soon though :)</p>
<p>In the meantime however, I have received the reflow controller PCBs I mentioned a month ago! Some pictures are up on flickr, one is below &#8211; I don&#8217;t have it working yet but that will become a priority pretty soon.</p>
<p><a title="IMG_0618.JPG by sgstair, on Flickr" href="http://www.flickr.com/photos/sgstair/5358838183/"><img src="http://farm6.static.flickr.com/5049/5358838183_42c28042ba.jpg" alt="IMG_0618.JPG" width="500" height="375" /></a></p>
<p>Coming next:  I&#8217;m currently working pretty hard on a CNC controller for stepper motors and some other things; As usual my ideal is to build my own solution instead of using any existing one, so I&#8217;m desiging my own now. I will post a full writeup on it once I have it completed, but don&#8217;t want to share any details at the moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akkit.org/2011/01/17/working-on-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Many sekrits&#8230;</title>
		<link>http://blog.akkit.org/2010/12/19/many-sekrits/</link>
		<comments>http://blog.akkit.org/2010/12/19/many-sekrits/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 07:56:30 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[PCB Layout]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://blog.akkit.org/?p=339</guid>
		<description><![CDATA[Not a whole lot has happened since my last post; at least not a whole lot of projects that I&#8217;m talking about :) I&#8217;ve been busy working on a Windows Phone 7 game, writing VHDL for one hardware project, thinking through a second hardware project, and will be working on yet another hardware project soon [...]]]></description>
			<content:encoded><![CDATA[<p>Not a whole lot has happened since my last post; at least not a whole lot of projects that I&#8217;m talking about :)</p>
<p>I&#8217;ve been busy working on a Windows Phone 7 game, writing VHDL for one hardware project, thinking through a second hardware project, and will be working on yet another hardware project soon ;) These I will probably post about eventually, but not until they&#8217;re further along&#8230;</p>
<p>Some of these projects are explicitly going to have the first revision done in 2 weeks though, so I should have plenty to talk about then!</p>
<p>I have started getting set up to compile code for the LPC134x chips that I&#8217;m using in everything recently, as I will need to be able to program them shortly &#8211; I&#8217;ve got the <a href="http://sourceforge.net/projects/devkitpro/">devkitARM toolchain</a> installed and am modifying the GBA compilation toolchain to be able to compile for these devices. Just started that earlier today and not quite done yet.</p>
<p>I&#8217;ve also designed circuit boards for a toaster oven reflow controller (including images below) &#8211; This is a two-board solution, one deals primarily with switching the high voltage using optoisolated triacs (thanks <a href="http://blog.elegantinvention.com/">eagan</a> for pointing me in this direction, I was originally thinking of relays) &#8211; The other board is another LPC1342 with a flash chip to store configuration and run data. It has some buttons and an LCD for user interface.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/12/reflow_hv.png"><img class="alignnone size-medium wp-image-340" title="reflow_hv" src="http://blog.akkit.org/wp-content/uploads/2010/12/reflow_hv-300x134.png" alt="" width="300" height="134" /></a></p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/12/reflow_lv.png"><img class="alignnone size-medium wp-image-341" title="reflow_lv" src="http://blog.akkit.org/wp-content/uploads/2010/12/reflow_lv-296x300.png" alt="" width="296" height="300" /></a></p>
<p>These will be in <a href="http://dorkbotpdx.org/wiki/pcb_order">Laen&#8217;s Jan. 3rd order</a>, and I will be trying oven reflow very shortly after they come back :) I also have come up with a few other interesting things to control with this, and will have to report back on my success with that at a later time&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akkit.org/2010/12/19/many-sekrits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bitbox</title>
		<link>http://blog.akkit.org/2010/11/14/bitbox/</link>
		<comments>http://blog.akkit.org/2010/11/14/bitbox/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 21:19:15 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Circuit Design]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[PCB Layout]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://blog.akkit.org/?p=317</guid>
		<description><![CDATA[One big thing I&#8217;ve been working on lately is bitbox! Bitbox started as just a clever idea, but it was just so interesting that I had to make it :) Bitbox is essentially a tiny music player that will play 8-bit music &#8211; sorta like a boombox, but a bit smaller ;) I still have [...]]]></description>
			<content:encoded><![CDATA[<p>One big thing I&#8217;ve been working on lately is bitbox! Bitbox started as just a clever idea, but it was just so interesting that I had to make it :) Bitbox is essentially a tiny music player that will play 8-bit music &#8211; sorta like a boombox, but a bit smaller ;)</p>
<p>I still have some software work ahead of me, but here&#8217;s the (nearly) final circuit board:</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_rev1.png"><img class="alignnone size-medium wp-image-318" title="bitbox_rev1" src="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_rev1-300x138.png" alt="" width="300" height="138" /></a></p>
<p>(I say nearly final because I did go on to make some tweaks after taking this image)</p>
<p>Read on for a train of WIP images and more information&#8230;<span id="more-317"></span></p>
<p>Bitbox has been a bit of a long standing project for me, so I&#8217;m not sure why now seemed like a good idea to finish it &#8211; Perhaps it was because I ran into the <a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&amp;name=568-4944-ND">NXP LPC1343 ARM microcontrollers</a>, which are pretty incredible chips, and rather well suited to this task.</p>
<p>The architecture is pretty straightforward but there are some messy parts in the design; The DAC/Amplifier chip I&#8217;m using receives the I2S  protocol for audio data (and some variants), and the ARM doesn&#8217;t actually produce it nicely &#8211; but I have rigged up some timer outputs and can generate the signals that way (And I&#8217;ll even be able to use the SPI fifo buffer as a outgoing sample buffer!)</p>
<p>This will be my first project trying to manage a rechargable battery, so hopefully I didn&#8217;t make too many mistakes there :) I have some FETs and diodes making sure current won&#8217;t flow the wrong way when running off of either the battery or USB.</p>
<p>Overall this was a pretty complex design, and routing the board (within the space requirements I set out with) has been pretty challenging. It looks pretty good though, I&#8217;ll post more on this once I get some PCBs back and populated.</p>
<p>On with WIP images!</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip1.png"><img class="alignnone size-medium wp-image-319" title="bitbox_wip1" src="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip1-300x244.png" alt="" width="300" height="244" /></a></p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip2.png"><img class="alignnone size-medium wp-image-320" title="bitbox_wip2" src="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip2-300x231.png" alt="" width="300" height="231" /></a></p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip3.png"><img class="alignnone size-medium wp-image-321" title="bitbox_wip3" src="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip3-300x206.png" alt="" width="300" height="206" /></a></p>
<p>(Magic happens)</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip4.png"><img class="alignnone size-medium wp-image-322" title="bitbox_wip4" src="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip4-300x203.png" alt="" width="300" height="203" /></a></p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip5.png"><img class="alignnone size-medium wp-image-323" title="bitbox_wip5" src="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip5-300x202.png" alt="" width="300" height="202" /></a></p>
<p>(At this point you can see the left side of the board shift left a tiny bit, as I work to make more space in the middle)</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip6.png"><img class="alignnone size-medium wp-image-324" title="bitbox_wip6" src="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip6-300x190.png" alt="" width="300" height="190" /></a></p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip7.png"><img class="alignnone size-medium wp-image-325" title="bitbox_wip7" src="http://blog.akkit.org/wp-content/uploads/2010/11/bitbox_wip7-300x138.png" alt="" width="300" height="138" /></a></p>
<p>As I&#8217;m feeling a bit adventurous (and not really interested in soldering a bundle of wires to program these), I&#8217;m also building a test jig! Still working on the exact design, but I&#8217;m planning to use a lot of laser cut acrylic, and I&#8217;ve designed another PCB to sit on top and do the programming. Given the signals I&#8217;ve broken out to test points, it should be possible to do a more comprehensive test in the future by swapping out the test PCB (but still not a complete test &#8211; I&#8217;ll have to work on improving testability of my designs.)</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/11/bitboxtest_rev1.png"><img class="alignnone size-medium wp-image-326" title="bitboxtest_rev1" src="http://blog.akkit.org/wp-content/uploads/2010/11/bitboxtest_rev1-300x155.png" alt="" width="300" height="155" /></a></p>
<p>Questions? Comments? Let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akkit.org/2010/11/14/bitbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Another two weeks&#8230;</title>
		<link>http://blog.akkit.org/2010/08/22/another-two-weeks/</link>
		<comments>http://blog.akkit.org/2010/08/22/another-two-weeks/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 20:46:45 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://blog.akkit.org/?p=287</guid>
		<description><![CDATA[I haven&#8217;t done anything worth mentioning, so here&#8217;s a picture of some PCBs! :) This is the USB Jtag PCB I previously mentioned, and I had it produced in a group PCB order managed by Laen &#8211; They turned out nice and came back pretty quickly, I&#8217;ll definitely be sending him more PCBs As I [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t done anything worth mentioning, so here&#8217;s a picture of some PCBs! :)</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/08/usbjtag_rev1_pcb.jpg"><img class="alignnone size-medium wp-image-288" title="usbjtag_rev1_pcb" src="http://blog.akkit.org/wp-content/uploads/2010/08/usbjtag_rev1_pcb-300x136.jpg" alt="Front and Back of USB Jtag PCB" width="300" height="136" /></a></p>
<p>This is the USB Jtag PCB I previously mentioned, and I had it produced in a <a href="http://dorkbotpdx.org/wiki/pcb_order">group PCB order managed by Laen</a> &#8211; They turned out nice and came back pretty quickly, I&#8217;ll definitely be sending him more PCBs</p>
<p>As I was on vacation though, I just recently ordered the parts to complete these boards, and haven&#8217;t got them yet. I&#8217;ve also been thinking about priorities and am working more heavily on some projects which I won&#8217;t blog about :)</p>
<p>Things are still developing though, keep watching and I should have more to talk about in 2 weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akkit.org/2010/08/22/another-two-weeks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generic USB JTAG/etc Programmer</title>
		<link>http://blog.akkit.org/2010/07/25/generic-usb-jtagetc-programmer/</link>
		<comments>http://blog.akkit.org/2010/07/25/generic-usb-jtagetc-programmer/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 07:03:33 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[PCB Layout]]></category>

		<guid isPermaLink="false">http://blog.akkit.org/?p=273</guid>
		<description><![CDATA[Despite having 2 weeks for this, I haven&#8217;t actually completed anything notable; So I&#8217;m just going to post some WIP images of a PCB I&#8217;ve designed to do general purpose programming (Generally jtag, but also AVR) I&#8217;ve been working out the concepts in software using the modified USB stick (as I mentioned previously) but just [...]]]></description>
			<content:encoded><![CDATA[<p>Despite having 2 weeks for this, I haven&#8217;t actually completed anything notable; So I&#8217;m just going to post some WIP images of a PCB I&#8217;ve designed to do general purpose programming (Generally jtag, but also AVR)</p>
<p>I&#8217;ve been working out the concepts in software using the modified USB stick (as I mentioned previously) but just haven&#8217;t had enough time to allocate to it yet. Soon, though.</p>
<p><span id="more-273"></span></p>
<p>This design is pretty simple; I have the microcontroller (ATMega32U2), a RGB LED, switch, and crystal &#8211; Then around that I am building a set of voltage level translation circuits for the jtag signals, and for additional inputs, outputs, and &#8220;pump&#8221; signals (which can strongly connect to a target&#8217;s V+ level, and drive a significant amount of current)</p>
<p>I&#8217;m including the JTAG interfaces I use commonly  on the board, and I have another additional &#8220;expansion&#8221; slot which I&#8217;ll be building new boards for to connect to yet other interfaces</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_wip1.png"><img class="alignnone size-medium wp-image-276" title="usbjtag_wip1" src="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_wip1-300x282.png" alt="" width="300" height="282" /></a></p>
<p>Schematic done, decided on a rough layout and started placing parts.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_wip2.png"><img class="alignnone size-medium wp-image-277" title="usbjtag_wip2" src="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_wip2-300x256.png" alt="" width="300" height="256" /></a></p>
<p>I got the core signals routed, and routed the level shifted jtag signals around the board, connecting to the side connectors as they go.</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_wip3.png"><img class="alignnone size-medium wp-image-278" title="usbjtag_wip3" src="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_wip3-297x300.png" alt="" width="297" height="300" /></a></p>
<p>Added most of the other level shifting signals</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_wip4.png"><img class="alignnone size-medium wp-image-279" title="usbjtag_wip4" src="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_wip4-287x300.png" alt="" width="287" height="300" /></a></p>
<p>And now the design is essentially complete!</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_rev1.png"><img class="alignnone size-medium wp-image-274" title="usbjtag_rev1" src="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_rev1-285x300.png" alt="" width="285" height="300" /></a></p>
<p>Added ground planes, and vias to keep them well connected / allow plenty of return paths.</p>
<p>At this point I thought I was done&#8230;. Only, oops, I connected the top 3 headers backwards;  I had gone off of the pinout of the socket they plug into. Fortunately I noticed this before trying to produce the board :)</p>
<p><a href="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_rev1a.png"><img class="alignnone size-medium wp-image-275" title="usbjtag_rev1a" src="http://blog.akkit.org/wp-content/uploads/2010/07/usbjtag_rev1a-287x300.png" alt="" width="287" height="300" /></a></p>
<p>Ahh, now they&#8217;re correct.</p>
<p>So I&#8217;m having this board produced pretty soon and will write up more on JTAG once I have done some stuff with this.</p>
<p>In other news I&#8217;m taking a vacation in about 2 weeks! No, I&#8217;m not going anywhere interesting, just visiting family, but perhaps I&#8217;ll have something fun to write about by then :) I certainly have plenty of things I want to do!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.akkit.org/2010/07/25/generic-usb-jtagetc-programmer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

