<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>topics may include: circuits &amp; embedded, code, [pedal] bikes</description><title>Mostly Unfinished</title><generator>Tumblr (3.0; @straypointer)</generator><link>http://straypointer.tumblr.com/</link><item><title>revision 2a - received a couple weeks ago; including a snazzy...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_m3dcvpY4FH1r8c5rao1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;revision 2a - received a couple weeks ago; including a snazzy ground plane.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/22227530788</link><guid>http://straypointer.tumblr.com/post/22227530788</guid><pubDate>Tue, 01 May 2012 19:19:00 -0500</pubDate><category>electronics</category></item><item><title>Revision 2a ordered</title><description>&lt;p&gt;I will do a more through post in the next few days, but I&amp;#8217;ve since received &amp;amp; populated my rev.2 boards and fully proved them.  I managed to freeze one AVR chip by setting the fuses incorrectly, but once I replaced that and set them [correctly!] it seems to be happy.&lt;/p&gt;
&lt;p&gt;The board had a few minor silkscreen errors (labels in the wrong position,) and so since I have a friend who wants one, I decided to do another spin to correct those and to add a ground plane.  As most things are in EagleCAD, it&amp;#8217;s pretty easy once you understand the way Eagle works.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/19936912027</link><guid>http://straypointer.tumblr.com/post/19936912027</guid><pubDate>Sun, 25 Mar 2012 22:16:19 -0500</pubDate></item><item><title>Lessons Learned</title><description>&lt;p&gt;While the AVR portion of my board works perfectly, I&amp;#8217;ve had difficulty making the power &amp;amp; CPLD circuitry work.  As I write this, I have just sent rev.2 to the board house and I&amp;#8217;m hoping their turnaround time is quicker than last time.&lt;/p&gt;
&lt;p&gt;Some things I&amp;#8217;ve learned while destroying my board in an effort to make it work:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Adjustable voltage regulators have a different pinout from standard 5V LM7805. When this is incorrect, you send 13V down the &amp;#8216;out&amp;#8217; instead of the &amp;#8216;in&amp;#8217;.&lt;/li&gt;
&lt;li&gt;Voltage dividers do not work for power circuitry.  While I&amp;#8217;m sure the answer has to do &lt;a href="http://en.wikipedia.org/wiki/Kirchhoff's_circuit_laws"&gt;KVL&lt;/a&gt; or other properly explained physics; the programmer in me is just going to accept it and move on.  My solution (albeit a bit of a hack,) is to just drive the AVR at 3.3V - which it seems okay with - and make the voltage regulator output 3.3V across the board.  This eliminates the resistors and allowed me to shorten the board up; making it cheaper to produce in the process.&lt;/li&gt;
&lt;li&gt;When using EagleCAD and organizing your board layout - make sure that things like decoupling capacitors are near the pins they are meant to be decoupling.  The &amp;#8216;rats-nest&amp;#8217; function will optimize them away and combine in them ways that don&amp;#8217;t exactly meet their intended purpose.&lt;/li&gt;
&lt;li&gt;Trying to desolder a surface mount IC without a hot-air gun is a fruitless endeavor.  Not enough pins come free at any one time and if you try to pry it up, you take pads with it.&lt;/li&gt;
&lt;/ul&gt;</description><link>http://straypointer.tumblr.com/post/18291460108</link><guid>http://straypointer.tumblr.com/post/18291460108</guid><pubDate>Sat, 25 Feb 2012 21:16:13 -0600</pubDate><category>electronics</category></item><item><title>Here is a photo of the board fully populated.  This was taken...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lzf1rwU52T1r8c5rao1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Here is a photo of the board fully populated.  This was taken before I took the exacto-knife and soldering iron back to it several times.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/17642265453</link><guid>http://straypointer.tumblr.com/post/17642265453</guid><pubDate>Tue, 14 Feb 2012 21:59:00 -0600</pubDate><category>electronics</category></item><item><title>The circuit boards arrived about a week ago.  It’s pretty...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lz70nea5Ja1r8c5rao1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;The circuit boards arrived about a week ago.  It’s pretty cool to see my design in physical form.  I’ve since populated it and found several errors, one of them pretty bad.  The AVR part of the circuit works great, but the power supply and CPLD are not happy.  I will post more photos of the process, but long story short - I’m going to be making a rev.2; but I’m hoping to get rev.1 working 100% before I do so.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/17534865054</link><guid>http://straypointer.tumblr.com/post/17534865054</guid><pubDate>Sun, 12 Feb 2012 22:03:00 -0600</pubDate><category>electronics</category></item><item><title>CPLD+Ethernet?</title><description>&lt;p&gt;&lt;div&gt;I believe I have all the parts I need to assemble my PCB when it arrives&amp;#8230; I&amp;#8217;m putting together an idea for an actual useful project using at least the AVR portion of my development board.  I&amp;#8217;ll post more about it when I actually start on it, but it has something to do with our furnace going out last weekend.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Anyways, I&amp;#8217;ve come across the idea of &amp;#8216;bit-banging&amp;#8217; a UDP packet out via Ethernet &amp;#8212; rather than supporting the entire Ethernet/IP stack.  The fpga4fun.com site is good at providing a starting point for lots of different problems.  I don&amp;#8217;t believe he still updates it, but he has enough out there to be a valuable resource.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.fpga4fun.com/10BASE-T0.html"&gt;&lt;a href="http://www.fpga4fun.com/10BASE-T0.html"&gt;http://www.fpga4fun.com/10BASE-T0.html&lt;/a&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I&amp;#8217;m curious if the CPLD is large enough to run this Verilog program&amp;#8230; i&amp;#8217;m guessing not, but might be fun to try&amp;#8230;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/16504958413</link><guid>http://straypointer.tumblr.com/post/16504958413</guid><pubDate>Wed, 25 Jan 2012 21:51:00 -0600</pubDate><category>electronics</category></item><item><title>Dakota Jazz Club - a brief review</title><description>&lt;p&gt;I was asked, via email, to submit our comments about the Dakota Jazz Club to the coupon site from which we had obtained a $10 coupon.  I thought it made for a decent quick-hit blog post - so I copy-pasted my text below.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Overall a decent but not great experience.  The pork tenderloin &amp;amp; short ribs dishes were excellent, but the pommes frites were disappointing. The ketchup served alongside was literally just a Heinz bottle&amp;#8212;we sort of expected a homemade ketchup for the price/setting. The bacon in the chocolate cake caused it to be disappointing. Wine prices were fairly high for by-the-glass, we only had two total because of it. Service was good overall. I doubt we will rush back, unless we are going for a performance; it did not seem like a good value.&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://straypointer.tumblr.com/post/15950267599</link><guid>http://straypointer.tumblr.com/post/15950267599</guid><pubDate>Mon, 16 Jan 2012 10:24:10 -0600</pubDate><category>restaurant</category><category>review</category><category>food</category></item><item><title>boards ordered, mistake found</title><description>&lt;p&gt;I ordered my PCB&amp;#8217;s last night, and already this morning I found a [minor] mistake.  I had added a rudimentary power supply to the board in case you wanted to use it apart from a USB/pin-sourced voltage source.  However, in my rush, I assumed that the circuit I was creating output 5V AND 3.3V, whereas it is outputting one or the other.  I think I can hack in some resistors once the boards arrive to divide 5V down to 3.3V, or worst case, just cut the traces and require an external 3.3V source.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/15626911916</link><guid>http://straypointer.tumblr.com/post/15626911916</guid><pubDate>Tue, 10 Jan 2012 12:49:18 -0600</pubDate><category>electronics</category></item><item><title>it helps to have the right pin...</title><description>&lt;p&gt;I was finally successful in getting my CPLD to blink an LED on and off.  Thanks to a bunch of Googling, I figured out how to set the AVR&amp;#8217;s fuse-bits to output it&amp;#8217;s own internal clock on port B0, and once I actually routed it into the correct CPLD input (had it in P44 instead of P43,) it worked!&lt;/p&gt;
&lt;p&gt;I believe the next step is to finalize my board design and get it ordered.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/15543127636</link><guid>http://straypointer.tumblr.com/post/15543127636</guid><pubDate>Sun, 08 Jan 2012 19:47:00 -0600</pubDate><category>electronics</category></item><item><title>CPLDs 101 - days 2-4</title><description>&lt;p&gt;I&amp;#8217;ve learned a fair amount in the past few days, but I imagine a formally trained EE-type out there would&amp;#8217;ve known all of this already.  I hope my experiences illuminate the path for other software people interested in dabbling in some more advanced electronics/programmable-logic.&lt;/p&gt;
&lt;p&gt;I ordered a knockoff(?) Xilinx USB JTAG cable from eBay a couple weeks ago, and after about 3 hours of trying to make it work, nothing.  The next day, I installed an older version of Xilinx ISE (12.2-which was specifically mentioned on the listing) and I made it work after only a couple tries.  It recognized my hand-soldered XC9536XL right away-as my previous post&amp;#8217;s image shows-which is a nice boost to the ego.  I then endeavored to write a simple &lt;a href="http://en.wikipedia.org/wiki/Verilog"&gt;Verilog&lt;/a&gt; &amp;#8220;program&amp;#8221; which would toggle an LED on and off.&lt;/p&gt;
&lt;p&gt;aside: calling anything written in Verilog (or &lt;a href="http://en.wikipedia.org/wiki/Vhdl"&gt;VHDL&lt;/a&gt;) a program is probably incorrect as you are not describing a sequential series of events, rather you are describing how a bunch of gates and other circuitry will be hooked together to achieve your desired effect.&lt;/p&gt;
&lt;p&gt;The result of my code was nothing other than a half-lit LED, which extinguished itself as soon as I probed it with a multimeter.&lt;/p&gt;
&lt;p&gt;Following some &amp;#8220;application notes&amp;#8221; and other online guidance, I wired some &lt;a href="http://en.wikipedia.org/wiki/Decoupling_capacitor"&gt;decoupling capacitors&lt;/a&gt; to the board in the appropriate places figuring that would solve it.  Nothing.  I was about to give up for the evening, when browsing through options inside of the Xilinx environment, I discovered my critical error:&lt;/p&gt;
&lt;p&gt;I had selected the wrong chip package in Xilinx ISE (PC44 instead of VQ44).  I basically told it I had an apple when in fact, I had an orange.  So when I said &amp;#8220;do something with pin #1&amp;#8221; it probably interpreted it as &amp;#8220;do something with pin #37&amp;#8221;.&lt;/p&gt;
&lt;p&gt;Another crucial fact I just learned after much Googling: CPLD&amp;#8217;s do not come with their own internal clocks.  So any code that I write in response to a clock-edge will do exactly nothing&amp;#8230; which is most of the code that I&amp;#8217;m interested in.&lt;/p&gt;
&lt;p&gt;The final discovery of the evening was that the platform cable wants power applied to it from outside of USB.  It took me several minutes of trying to get the cable working again tonight to figure out that fact, and once it&amp;#8217;s hooked up to my board&amp;#8217;s power source, it&amp;#8217;s [mostly] reliable.&lt;/p&gt;
&lt;p&gt;So that&amp;#8217;s where I&amp;#8217;m leaving it tonight, probably a good thing I haven&amp;#8217;t ordered my boards yet as now I have to make sure to correctly incorporate an external clock signal.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/15434016044</link><guid>http://straypointer.tumblr.com/post/15434016044</guid><pubDate>Fri, 06 Jan 2012 22:03:21 -0600</pubDate><category>electronics</category></item><item><title>success!  details to follow at some point…</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_lxc9gwNF4o1r8c5rao1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;success!  details to follow at some point…&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/15353601685</link><guid>http://straypointer.tumblr.com/post/15353601685</guid><pubDate>Thu, 05 Jan 2012 12:46:08 -0600</pubDate></item><item><title>First ever surface-mount soldering completed.  Surprised at how...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lx34gkT2Zy1r8c5rao1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;First ever surface-mount soldering completed.  Surprised at how fast my respective DigiKey and SparkFun orders got here.  I guess I jumped in at the deep end with a VQFP44 package and not just individual resistors/capacitors/etc.  Big lesson I learned is that you don’t need too much solder - had a few ugly bridges to cleanup on the first couple sides.  But in the end, each trace tests fine and I don’t believe there are any bridges.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/15095267721</link><guid>http://straypointer.tumblr.com/post/15095267721</guid><pubDate>Sat, 31 Dec 2011 14:19:32 -0600</pubDate><category>electronics</category></item><item><title>Pretty sure this is only the second device (and first open source device) I&amp;#8217;ve come across,...</title><description>&lt;p&gt;Pretty sure this is only the second device (and first open source device) I&amp;#8217;ve come across, admittedly without looking too terribly hard, that utilizes the flexibility of FPGA&amp;#8217;s to have their programming updated.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://dangerousprototypes.com/docs/Open_Bench_Logic_Sniffer"&gt;&lt;a href="http://dangerousprototypes.com/docs/Open_Bench_Logic_Sniffer"&gt;http://dangerousprototypes.com/docs/Open_Bench_Logic_Sniffer&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/14979156646</link><guid>http://straypointer.tumblr.com/post/14979156646</guid><pubDate>Thu, 29 Dec 2011 10:57:00 -0600</pubDate><category>electronics</category></item><item><title>This is the first revision of my development board.  I...</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_lwy3wgGxIs1r8c5rao1_400.png"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;This is the first revision of my development board.  I couldn’t come up with a great name, so it’s called the ‘tiger’ board; for right now anyways… after my wife’s cat.  The plan is to expose most pins of an AVR micro and a Xilinx CPLD independently.  It should be programmable by their respective programs, but the massive # of breakouts will allow me to combine them in different ways.  The circuit board came out a bit larger than I anticipated, mainly due to needing a lot of space for labels (important for a dev board,) so the cost may be a bit higher.  I’m not sure if I should order it now since lead times take several weeks, but I will probably wait at least a few days to think about it more and make sure there are no glaring errors.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/14953054527</link><guid>http://straypointer.tumblr.com/post/14953054527</guid><pubDate>Wed, 28 Dec 2011 21:19:00 -0600</pubDate><category>electronics</category></item><item><title>JTAG "standard"</title><description>&lt;p&gt;For now I&amp;#8217;m going to use this blog as an engineering journal of sorts.  If I continue to post, it probably won&amp;#8217;t be exclusively nerd territory, but it will be steered firmly in that direction.&lt;/p&gt;
&lt;p&gt;I am planning to create a development board of sorts as a learning exercise in several things: surface mount soldering skills, microcontrollers, and CPLDs/FPGAs.  I&amp;#8217;ve researched the latter two perhaps the most of all, trying to determine the cheapest route to create something useful and hold my interest.  One of the acronyms floating around all of these devices is &lt;a href="http://en.wikipedia.org/wiki/Jtag"&gt;JTAG&lt;/a&gt;.  It&amp;#8217;s a standard that encompasses many uses, notably debugging hardware and in the case of devices that require programming, twiddling bits to install new code into programmable hardware.&lt;/p&gt;
&lt;p&gt;Some things I have learned:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;JTAG defines the 4-5 pins that must be exposed - TDI, TDO, TCK, TMS, TRST (optional) - see the wikipedia entry for more info.&lt;/li&gt;
&lt;li&gt;There are some programming standards such as XVSF that can be used to program devices such as CPLDs using JTAG.&lt;/li&gt;
&lt;li&gt;Each hardware manufacturer has their own cable and header spec.  Xilinx, for example, seems to be 2 rows of 7 pins, spaced at 2mm instead of 0.1&amp;#8221; (100 mils).  So to program a Xilinx development board, you need a Xilinx cable, and in all likelihood, a Xilinx programmer to talk to the Xilinx software.  Some exceptions and workarounds seem to exist, such as using the Dangerous Prototypes Bus Pirate to program a CPLD.  &lt;a href="http://dangerousprototypes.com/docs/Bus_Pirate_JTAG_XSVF_player"&gt;example&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Whether you buy a Bus Pirate or a knockoff(?) Xilinx JTAG USB Platform Cable (see eBay,) the price seems to range from about $30-$50.&lt;/li&gt;
&lt;li&gt;When creating ones own board, it is a wise idea to explore the specific JTAG requirements of each component up front.  I am planning to go the Xilinx route, so I&amp;#8217;ll probably put a 2x7-2mm header on the board.  With a &amp;#8216;flying&amp;#8217; cable, the header doesn&amp;#8217;t matter as much, as long as the pins (see above) are there.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;My interpretation of JTAG is: your device must expose at least 4 signals/pins and follow a standard protocol of signalling using said pins to your respective devices.  That&amp;#8217;s it.  Everything else is up to the manufacturer of how easy or difficult they want to make it to use and what it&amp;#8217;s used for.  It&amp;#8217;s not much of a standard really.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/14687046555</link><guid>http://straypointer.tumblr.com/post/14687046555</guid><pubDate>Fri, 23 Dec 2011 15:33:43 -0600</pubDate><category>electronics</category></item><item><title>http://www.bigmessowires.com/</title><description>&lt;a href="http://www.bigmessowires.com/"&gt;http://www.bigmessowires.com/&lt;/a&gt;: &lt;p&gt;This blog is becoming one of my favorite entries in my RSS reader.  Lots of cool acronyms like: CPLD, ISP…  I admire the fact that his projects may have a limited (but very devoted) appeal, he sticks with it and sees it through to completion.  I have a hard time sticking to a project that I’m not being paid to do, especially if I find someone else on the internet who has already done it.  I think that’s an obstacle I need to overcome.&lt;/p&gt;
&lt;p&gt;Anyways, check it out if you’re into emulation, reverse engineering, or making new stuff work with old hardware.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/14489679378</link><guid>http://straypointer.tumblr.com/post/14489679378</guid><pubDate>Mon, 19 Dec 2011 20:45:00 -0600</pubDate><category>electronics</category></item><item><title>minutiae</title><description>&lt;p&gt;Hobbies enumerated, approximately in decreasing order of importance:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Cycling&lt;/li&gt;
&lt;li&gt;Cooking, Food, and Local Restaurants&lt;/li&gt;
&lt;li&gt;Electronics&lt;/li&gt;
&lt;li&gt;Coding&lt;/li&gt;
&lt;li&gt;Photography&lt;/li&gt;
&lt;li&gt;Wine, Beer, etc.&lt;/li&gt;
&lt;li&gt;Cars and Road Racing (F1, ALMS, MotoGP, etc.)&lt;/li&gt;
&lt;li&gt;Golf&lt;/li&gt;
&lt;li&gt;Games&lt;/li&gt;
&lt;li&gt;Reading&lt;/li&gt;
&lt;li&gt;Writing&lt;/li&gt;
&lt;li&gt;Guitar&lt;/li&gt;
&lt;li&gt;Tennis&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Things I have time, money, or motivation for in any given week:&lt;/p&gt;
&lt;p&gt;[pick two]&lt;/p&gt;
&lt;p&gt;This is just a rambling post to see how this Tumblr thing works.  I might turn it into a geeky blog type thing about code or electronics or whatever.&lt;/p&gt;</description><link>http://straypointer.tumblr.com/post/14476733420</link><guid>http://straypointer.tumblr.com/post/14476733420</guid><pubDate>Mon, 19 Dec 2011 16:49:00 -0600</pubDate></item></channel></rss>
