<?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: JTAG wiring diagram question</title>
		<link>http://forums.leaflabs.com/topic.php?id=536</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:17:01 +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=536" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=5#post-3108</link>
			<pubDate>Mon, 13 Dec 2010 05:20:02 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">3108@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Adam - no it should not matter about the hatch.&#60;br /&#62;
I only thought about it when I looked at the gerber to see the resistor.&#60;/p&#62;
&#60;p&#62;I have done the experiment of doing DIY PCBs with a solid and hatched copper pour, but we used a laser printer to make masks on ordinary printable Over-Head Projector (OHP) transparency film. The difference was noticable on the transparency film, and when we etched the board. The 'by hand' techniques we used to make a DIY PCB are far inferior to a real etching tank so our approach would amplify differences. Hence my wanting to 'hatch'.&#60;/p&#62;
&#60;p&#62;But a laser printer on OHP film is *much* lower quality than a photoplotter on photoplotter film. Real etching tanks 'bubble' to agitate the etchant and get even etching, we just 'swished' the tray occasionaly. The boards are so small, hence such small areas anyway that I can't imagine it'd matter.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=5#post-3107</link>
			<pubDate>Mon, 13 Dec 2010 00:02:48 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3107@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Oops. Actually you did ask me to do that before - I just forgot. Does it really make a big difference?&#60;/p&#62;
&#60;p&#62;Anyway we can do that in the next version!&#60;/p&#62;
&#60;p&#62;I did manage to find some ribbon cable connectors that would fit. I ordered enough parts to kit all 6 of the boards. Ordering the parts took a lot more time than I thought it would, due to the difficult time finding the 8-pin polarized connectors. I will be glad when we switch to 10-pin.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=5#post-3105</link>
			<pubDate>Sun, 12 Dec 2010 22:27:48 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">3105@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Adam - too late now, but I forgot to suggest using 'Hatch' on the copper pours, rather than 'Solid'.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3100</link>
			<pubDate>Sun, 12 Dec 2010 16:57:18 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3100@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;gbulmer,&#60;/p&#62;
&#60;p&#62;Ok, both top and bottom polygons are now ground. Regarding one end of R3 looking like it's not connected - I think this is because of the way Eagle does the image export. In Eagle and on the gerbers it looks connected. Here's screenshots of the top and bottom gerbers:&#60;/p&#62;
&#60;p&#62;Top: &#60;a href=&#34;http://imgur.com/MHltU&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/MHltU&#60;/a&#62;&#60;br /&#62;
Bottom: &#60;a href=&#34;http://imgur.com/2pzzB&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/2pzzB&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I sent this off to Laen - we'll see how they come out!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3097</link>
			<pubDate>Sun, 12 Dec 2010 08:35:57 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">3097@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Adam - connect both copper pours. They can both be ground.&#60;br /&#62;
On the .png, one end of R3 looks like it is not connected, but that could be the way it's been drawn.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3083</link>
			<pubDate>Sun, 12 Dec 2010 00:08:39 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3083@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I tested the JTAG adapter circuit without pullup resistors - it works fine for me. The circuit now follows the one in the STM32 Reference Manual. I updated the Eagle schematic, here's a PNG:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/adamfeuer/maple/raw/master/jtagadapter/maple-jtagadapter.png&#34; rel=&#34;nofollow&#34;&#62;https://github.com/adamfeuer/maple/raw/master/jtagadapter/maple-jtagadapter.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I also re-routed the board, using very wide traces, and made the outline a bit smaller. You can see the Eagle files here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/adamfeuer/maple/tree/master/jtagadapter&#34; rel=&#34;nofollow&#34;&#62;https://github.com/adamfeuer/maple/tree/master/jtagadapter&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you have improvements, let me know. Otherwise, I will submit this updated board to Laen tomorrow for the Dec. 13 run.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3078</link>
			<pubDate>Sat, 11 Dec 2010 00:44:27 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3078@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Debugging works using Olimex ARM-USB-OCD. I tested with gdbtui, and also via Eclipse C/C++ Helios with the Zylin plugin. I am on Ubuntu 10.04 LTS. I installed OpenOCD 0.4.0 from source. I installed the Codesourcery ARM toolchain from here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://static.leaflabs.com/pub/codesourcery/&#34; rel=&#34;nofollow&#34;&#62;http://static.leaflabs.com/pub/codesourcery/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The direct URL for linux is:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://static.leaflabs.com/pub/codesourcery/arm-2009q3-68-arm-none-eabi-toolchain-linux32.tar.gz&#34; rel=&#34;nofollow&#34;&#62;http://static.leaflabs.com/pub/codesourcery/arm-2009q3-68-arm-none-eabi-toolchain-linux32.tar.gz&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;installed Eclipse C/C++ Helios from here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.eclipse.org/downloads/&#34; rel=&#34;nofollow&#34;&#62;http://www.eclipse.org/downloads/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I installed the Zylin remote debugger Eclipse plugin using the instructions here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://opensource.zylin.com/embeddedcdt.html&#34; rel=&#34;nofollow&#34;&#62;http://opensource.zylin.com/embeddedcdt.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I configured OpenOCD and Zylin using this guide:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://linuxfreak.pl/elektronika/debugging-stm32-cortex-m3-microcontroller-using-eclipse-on-slackware&#34; rel=&#34;nofollow&#34;&#62;http://linuxfreak.pl/elektronika/debugging-stm32-cortex-m3-microcontroller-using-eclipse-on-slackware&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Then I used Eclipse to launch OpenOCD, and started the debugger using a Debug Configuration. I can set breakpoints and start and stop the blinky.cpp program!&#60;/p&#62;
&#60;p&#62;Here is a screenshot of blinky.cpp (main.cpp) stopped at a breakpoint: &#60;a href=&#34;http://imgur.com/9CZ6q&#34; rel=&#34;nofollow&#34;&#62;http://imgur.com/9CZ6q&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;There seems to be something funky going on with the interrupts as single-stepping lands you in the USB ISR, but you can run to breakpoints just fine. I will see if I can figure out what is wrong tomorrow. I will also see about posting a complete how-to guide once I have a better idea of how it all hangs together.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>larryang on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3074</link>
			<pubDate>Fri, 10 Dec 2010 21:25:56 +0000</pubDate>
			<dc:creator>larryang</dc:creator>
			<guid isPermaLink="false">3074@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;appreciate the effort adamfeuer, especially willing to play guinea pig.  I tip my hat to you.&#60;/p&#62;
&#60;p&#62;-&#38;gt; Larry
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3067</link>
			<pubDate>Thu, 09 Dec 2010 23:30:29 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3067@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Good news!&#60;/p&#62;
&#60;p&#62;I got the Olimex ARM-USB-OCD today. It appears to work with the breadboarded circuit I made from Okie's schematic - the Open OCD correctly recognizes the Maple via the JTAG adapter. What is different between the ARM-USB-TINY and the ARM-USB-OCD I do not yet know.&#60;/p&#62;
&#60;p&#62;I haven't tried actually debugging yet... I will try that later.&#60;/p&#62;
&#60;p&#62;I will also try removing the pullup/pulldown resistors - if that works, and if I have time on Saturday, I will modify the board layout before resubmitting it to Dorkbot PDX.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3054</link>
			<pubDate>Wed, 08 Dec 2010 18:25:07 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3054@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;tcmichals,&#60;/p&#62;
&#60;p&#62;I will put the 10 pin connector on the next version. I want to keep this version stable since it the deadline is this weekend and I don't have that much time to work on it.&#60;/p&#62;
&#60;p&#62;I want to make sure there is an adapter that works for the future Maples - I am using this first run to learn. The next rev will include that learning.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tcmichals on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3051</link>
			<pubDate>Wed, 08 Dec 2010 11:15:06 +0000</pubDate>
			<dc:creator>tcmichals</dc:creator>
			<guid isPermaLink="false">3051@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Maybe I missed it, but could you add a 10 to 20 pin on to this board?  So when the new boards come out a 20 pin adapter will work?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3049</link>
			<pubDate>Wed, 08 Dec 2010 01:03:47 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3049@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ok, I re-did the copper pours. Top copper pour is now GND, bottom is unconnected. I could connect that to VCC, but wasn't sure if that is best practice. I also moved a few traces to the bottom of the board to declutter things a bit.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/adamfeuer/maple/tree/master/jtagadapter&#34; rel=&#34;nofollow&#34;&#62;https://github.com/adamfeuer/maple/tree/master/jtagadapter&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you have improvements let me know. Otherwise I'll submit this version on Friday or Saturday.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Adam on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3045</link>
			<pubDate>Tue, 07 Dec 2010 21:17:38 +0000</pubDate>
			<dc:creator>Adam</dc:creator>
			<guid isPermaLink="false">3045@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;gbulmer, soundcyst,&#60;/p&#62;
&#60;p&#62;I will re-do the pours with one as a GND plane, and see if I also need to place vias.&#60;/p&#62;
&#60;p&#62;Laen says I can resubmit the board design up to the deadline, so we are good on that. I will work on it a bit later this evening and let you know when I commit to my git repo.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>larryang on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3043</link>
			<pubDate>Tue, 07 Dec 2010 14:29:25 +0000</pubDate>
			<dc:creator>larryang</dc:creator>
			<guid isPermaLink="false">3043@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Well, that solves my question of whether pull-up resistors are needed (they are not).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>soundcyst on "JTAG wiring diagram question"</title>
			<link>http://forums.leaflabs.com/topic.php?id=536&amp;page=4#post-3041</link>
			<pubDate>Tue, 07 Dec 2010 13:59:23 +0000</pubDate>
			<dc:creator>soundcyst</dc:creator>
			<guid isPermaLink="false">3041@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;gbulmer's right, and looking back at my previous post, i didn't really write about how to finish up!&#60;/p&#62;
&#60;p&#62;so, you've hidden your vcc and ground airwires, you've routed everything, then you can use &#34;rats vcc&#34; to show just the vcc, and route it using thick traces (so far so good with what you have).&#60;/p&#62;
&#60;p&#62;but ground is different.  if you're planning to do a ground pour, you don't actually want to route the ground signals by hand, you just want to place the pour and name it appropriately.  eagle will automatically fill in the connections quite nicely.&#60;/p&#62;
&#60;p&#62;you still want to show the airwires though, because if you've drawn your traces such that there's an isolated area that &#60;em&#62;should&#60;/em&#62; be connected to ground but isn't, you'll want to know about it.  if this happens, the way to resolve the problem isn't routing, it's by using a via.  so use the command &#34;via 'gnd'&#34; and then any via you place will automatically be named gnd.&#60;/p&#62;
&#60;p&#62;use the rats command again to redraw the poly.  you may also wish to use &#34;rip 'gnd'&#34; before you embark on this process to rip up all of your existing ground traces.&#60;/p&#62;
&#60;p&#62;but other than that, yeah, looks a LOT better than the previous rev.  nice work!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
