<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><id>http://ostendorf.com/</id><title>Karl Ostendorf</title><updated>2011-12-29T20:01:38Z</updated><author><name>Karl Ostendorf</name><email>karl@ostendorf.com</email><uri>http://ostendorf.com/</uri></author><rights>Copyright © 2011 - Karl Ostendorf</rights><link rel="self" href="http://ostendorf.com/feed.xml"/><entry><id>urn:uuid:efb1969a-7644-4d40-9d27-eb1dce271596</id><link rel="alternate" href="http://ostendorf.com/2011/12/goodbye-facebook"/><title>Goodbye Facebook</title><updated>2011-12-29T20:01:38Z</updated><summary>I permanently deleted my Facebook account (again) today.</summary><content type="html">&lt;p&gt;I permanently deleted my Facebook account (again) today. My first attempt was two years ago and I held out for nearly a year. Unless some unforeseen person or group gives me a reason to sign back up, this time will be for good. People worth following  broadcast on multiple channels anyways.&lt;/p&gt;
</content></entry><entry><id>urn:uuid:700b174d-a0fd-4c09-890d-24fed008a3a6</id><link rel="alternate" href="http://ostendorf.com/2010/08/atmel-raven"/><title>Programming the Atmel RZRaven</title><updated>2011-12-29T08:57:50Z</updated><summary>JTAG or ISP to program an Atmel Raven board?</summary><content type="html">&lt;p&gt;The &lt;a href="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4291"&gt;Atmel RZRaven&lt;/a&gt; AVR boards as well as the USB stick both contain 10-pin, 50-mil JTAG interfaces. The pins must be soldered on by the user but are included in the evaluation kit. An 50-mil to 100-mil adapter allows connecting the JTAG interfaces to programmers.&lt;/p&gt;

&lt;p&gt;The Raven boards but not the Raven stick also include 6-pin, 50-mil ISP interfaces. The pins for these must be soldered on as well but no 6-pin units are shipped with the evaluation set. However, as they are only header pins, the 10-pin units that ship with the evaluation set can be broken off to create 6-pin units. (See &lt;a href="http://www.outsidetrains.com/raven/"&gt;link&lt;/a&gt;, search for "ISP connectors").&lt;/p&gt;

&lt;p&gt;The ISP interfaces on the Raven boards are faulty; VCC and GND are not connected for the 1284P MCU. Atmel has suggested a workaround by jumping those pins to the VCC and GND pins for the 3290P ISP header. (See &lt;a href="http://code.rancidbacon.com/LearningAboutAtmelRZRAVEN"&gt;link&lt;/a&gt;, search for "7 July 2008"). The Raven stick does not contain an ISP interface at all, however, clever hacking can change that. See &lt;a href="http://www.outsidetrains.com/raven/"&gt;here&lt;/a&gt; (search for "USB stick") and &lt;a href="http://ossmann.blogspot.com/2010/01/killerbee-on-budget.html"&gt;here&lt;/a&gt; for more information.&lt;/p&gt;

&lt;p&gt;To summarize, it is possible to use a cheap ISP programmer with the Raven boards yet the USB stick will require quite a hack. Nevertheless it is possible and has been done before.&lt;/p&gt;

&lt;p&gt;To use JTAG to program the Raven boards and stick, the header pins included with the evaluation kit must be soldered on. JTAG programmers can be expensive. The &lt;a href="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3353"&gt;AVR JTAGICE mkII&lt;/a&gt; programmer goes for around &lt;a href="http://de.farnell.com/atmel/atjtagice2/development-kit-debug-tool-jtagice/dp/9171100"&gt;265€&lt;/a&gt;. Clones are cheaper, for example the &lt;a href="http://www.olimex.com/dev/avr-isp500.html"&gt;Olimex AVRISP-500&lt;/a&gt;, and while the clones don't allow debugging more importantly they do not support all AVR chips. The &lt;a href="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3891"&gt;AVR Dragon&lt;/a&gt; goes for around &lt;a href="http://de.farnell.com/atmel/atavrdragon/emulator-programmer-f-avr/dp/1455088"&gt;50€&lt;/a&gt; and supports JTAG.  &lt;del&gt;The debugging capabilities are artificially limited to the first 32kb of an application so as not to cannibalize sales of the JTAGICE mkII.&lt;/del&gt; &lt;a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=90228"&gt;The dragon also supports debugging now on all AVR chips&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The Dragon seems the best choice. It supports the most &lt;a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewtopic&amp;amp;t=38691"&gt;programming methods&lt;/a&gt; but it needs to be &lt;a href="http://www.uchobby.com/index.php/2009/03/02/avr-dragon-getting-started/"&gt;set up&lt;/a&gt; and &lt;a href="http://www.instructables.com/id/Help:-An-Absolute-Beginner-s-Guide-to-8-Bit-AVR-Pr/"&gt;tested&lt;/a&gt; before it will work. &lt;a href="http://www.larsen-b.com/Article/315.html"&gt;Debugging on Linux&lt;/a&gt; is supported. I have also checked that it &lt;a href="http://support.atmel.no/knowledgebase/avrstudiohelp/mergedProjects/AVRDragon/SCKT3100A3.htm"&gt;supports the ATmega1284P&lt;/a&gt;; the AT90USB1287 and ATmega3290P are &lt;a href="http://support.atmel.no/knowledgebase/avrstudiohelp/mergedProjects/AVRDragon/NONDIPS.htm"&gt;off-board targets&lt;/a&gt;. Note that the Dragon differs from the &lt;a href="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3808"&gt;AVRISP programmer&lt;/a&gt; in that the &lt;a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=printview&amp;amp;t=94099&amp;amp;start=0"&gt;ISP pins do not supply power to the target chip&lt;/a&gt;.&lt;/p&gt;
</content></entry></feed>
