<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Happily JTAG</title>
		<link>http://forums.leaflabs.com/topic.php?id=572</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:13:03 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=572" rel="self" type="application/rss+xml" />

		<item>
			<title>mbolivar on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3239</link>
			<pubDate>Mon, 27 Dec 2010 17:26:07 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">3239@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Adam,&#60;/p&#62;
&#60;p&#62;Thanks for all your hard work! It's very much appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3222</link>
			<pubDate>Sun, 26 Dec 2010 23:03:45 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3222@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ok, all the JTAG adapter board kits are now spoken for.&#60;/p&#62;
&#60;p&#62;If you did not get one of the free ones - I am trying to figure out how to make these generally available. Send me an email at adamf at pobox dot com and I will let you know what I figure out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>JonnyBoats on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3219</link>
			<pubDate>Sun, 26 Dec 2010 18:06:23 +0000</pubDate>
			<dc:creator>JonnyBoats</dc:creator>
			<guid isPermaLink="false">3219@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I just sent you an email as well.&#60;/p&#62;
&#60;p&#62;Thank you so much for all your hard work developing this. and to everyone that helped as well.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ianmga on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3218</link>
			<pubDate>Sun, 26 Dec 2010 17:42:01 +0000</pubDate>
			<dc:creator>ianmga</dc:creator>
			<guid isPermaLink="false">3218@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Me me me! I sent you an email...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3217</link>
			<pubDate>Sun, 26 Dec 2010 14:12:13 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3217@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;One clarification: this adapter board is only known to work with the Olimex ARM-USB-OCD debugger:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.olimex.com/dev/arm-usb-ocd.html&#34; rel=&#34;nofollow&#34;&#62;http://www.olimex.com/dev/arm-usb-ocd.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It is known NOT to work with Olimex's ARM-USB-TINY - I have one of those too and tested it, but it does not work. I don't know what the difference is, but there is one. :-(
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3216</link>
			<pubDate>Sun, 26 Dec 2010 01:30:11 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3216@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I got the Maple JTAG Adapter prototypes back from Laen and Dorkbot PDX. They look great. I built one and it works! Thank you okie, gbulmer, and soundcyst for your help!&#60;/p&#62;
&#60;p&#62;Here are some pictures in case you are interested:&#60;/p&#62;
&#60;p&#62;Bare board front:&#60;br /&#62;
&#60;a href=&#34;http://imgur.com/81SvI&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/81SvI&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Assembled board front:&#60;br /&#62;
&#60;a href=&#34;http://imgur.com/cjaIU&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/cjaIU&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Assembled board back:&#60;br /&#62;
&#60;a href=&#34;http://imgur.com/WqPOu&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/WqPOu&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Assembled board side:&#60;br /&#62;
&#60;a href=&#34;http://imgur.com/IXG2y&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/IXG2y&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Assembled board hooked up to Maple and Olimex ARM-USB-OCD:&#60;br /&#62;
&#60;a href=&#34;http://imgur.com/KfAHG&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/KfAHG&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I soldered the 8-pin connector to the back of the adapter board because it is that way on the Maple - that way I could just use a straight-through ribbon cable. If you have yours on the front of the Maple, then put the 8-pin connector on the front of your adapter.&#60;/p&#62;
&#60;p&#62;LeafLabs folks, I will send you one. Everyone else - I have enough parts for four more - if you want a Maple JTAG adapter kit for free, and are in the US, send me your name and mailing address to adamf at pobox dot com. I will send a kit (board plus parts) to the first four people who email me. Yes, for free. :-)&#60;/p&#62;
&#60;p&#62;As for what next - I don't want to be in the business of selling these, but am willing to do another run of boards at DorkBot PDX if people are interested. The boards work out to be about $2.50 each, and the cable, connectors, and resistors probably add another several dollars. &#60;/p&#62;
&#60;p&#62;One idea would be for the LeafLabs folks to have these kits on hand for people who need them. They sure make it easy to get started with JTAG debugging. Another idea is to do an update on the adapter to use surface mount devices and have it built by a board house.&#60;/p&#62;
&#60;p&#62;I will also update the board to the new ARM-standard 10-pin JTAG connector once a board with it comes out from LeafLabs.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3197</link>
			<pubDate>Wed, 22 Dec 2010 15:33:00 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">3197@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;just fyi, you can also use disableUSB() from libmaple/usb/usb.h if you don't feel like modifying wirish.c&#60;/p&#62;
&#60;p&#62;(which will at least disable the ISR)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3191</link>
			<pubDate>Tue, 21 Dec 2010 23:16:31 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3191@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;perry,&#60;/p&#62;
&#60;p&#62;Disabling the USB interrupts works perfectly the way you suggest - now I can single step in the debugger without landing in the USB ISR.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3128</link>
			<pubDate>Tue, 14 Dec 2010 23:10:37 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3128@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks perry, I will try disabling the USB the way you suggest!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>perry on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3125</link>
			<pubDate>Tue, 14 Dec 2010 18:33:14 +0000</pubDate>
			<dc:creator>perry</dc:creator>
			<guid isPermaLink="false">3125@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi Adam,&#60;/p&#62;
&#60;p&#62;Great job! I usually disable the USB when I'm debugging via jtag. Of course, if you depend on usb, this won't do much for you.&#60;/p&#62;
&#60;p&#62;You can disable the USB by removing the setupUSB() line in wirish/wirish.c&#60;/p&#62;
&#60;p&#62;-perry
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "Happily JTAG"</title>
			<link>http://forums.leaflabs.com/topic.php?id=572#post-3120</link>
			<pubDate>Tue, 14 Dec 2010 00:12:04 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3120@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am happy to say the JTAG adapter circuit that I breadboarded really works well. I can install programs via JTAG, and debug them. I also bricked my board by accidentally overwriting the bootloader. And then panicked, since I don't have 3.3v FTDI breakout to use the built-in Serial1 bootloader.&#60;/p&#62;
&#60;p&#62;Then I realized I could install a bootloader via JTAG... so compiled the latest bootloader, installed it via JTAG, then used it to upload a new program via commandline DFU, then was able to debug it via JTAG. Very cool.&#60;/p&#62;
&#60;p&#62;I still need to do something about the USB interrupts, since they really get in the way, but it's still workable as-is. &#60;/p&#62;
&#60;p&#62;Thanks everyone for your help getting this working.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
