<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/1197" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-02-07T22:47:07+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/1197</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-02-07T22:47:07+02:00</updated>

		<published>2008-02-07T22:47:07+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1197&amp;p=4174#p4174</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1197&amp;p=4174#p4174"/>
		<title type="html"><![CDATA[BootLoader for AVR-Doper]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1197&amp;p=4174#p4174"><![CDATA[
Thanks for the tip.<p>Statistics: Posted by Guest — Thu Feb 07, 2008 10:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-02-07T18:12:29+02:00</updated>

		<published>2008-02-07T18:12:29+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1197&amp;p=4167#p4167</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1197&amp;p=4167#p4167"/>
		<title type="html"><![CDATA[BootLoader for AVR-Doper]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1197&amp;p=4167#p4167"><![CDATA[
Here's the bootloaderconfig.h file I used:<br /><br /><div class="codebox"><p>Code: </p><pre><code>#define BOOTLOADER_INIT \<br />    PORTB = 0;          \<br />    DDRB  = 0;          \<br />    PORTC = 0;          \<br />    DDRC  = 0;          \<br />    PORTD = 1 &lt;&lt; 4;     \<br />    DDRD    = &#40;1&lt;&lt;USB_CFG_DMINUS_BIT&#41; | &#40;1&lt;&lt;USB_CFG_DPLUS_BIT&#41;;\<br />    uchar i, j = 0;     \<br />    while&#40;--j&#41;&#123;     /* USB Reset by device only required on Watchdog Reset */\<br />        i = 0;          \<br />        while&#40;--i&#41;; /* delay &gt;10ms for USB reset */\<br />    &#125;                   \<br />    DDRD  = 0;<br /><br />#define BOOTLOADER_CONDITION &#40;&#40;PIND &amp; &#40;1 &lt;&lt; 4&#41;&#41; == 0&#41;<br /><br /></code></pre></div><br /><br />Don't remember what the boot loader condition was, but I guess it was the HID jumper.<br /><br />BTW: It turned out that 10 ms delay is not enough for USB disconnect. For reliable detection, you need something like at least 250 ms.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Feb 07, 2008 6:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[johnrigh]]></name></author>
		<updated>2008-02-07T03:09:55+02:00</updated>

		<published>2008-02-07T03:09:55+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1197&amp;p=4158#p4158</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1197&amp;p=4158#p4158"/>
		<title type="html"><![CDATA[BootLoader for AVR-Doper]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1197&amp;p=4158#p4158"><![CDATA[
I have a &quot;www.rototron.info&quot; version of AVR-Doper, i.e. minus the HVSP.<br />I have compiled the latest firmware (AVR-Doper.2008-02-05.zip) and flashed it in. I left out the HID support since I only wanted the CDC part and I wanted more space for a bootloader. It is working well.<br /><br />Now, I want to flash in a bootloader so that future firmware upgrades can be done over the USB interface. <br /><br />As per the readme.txt file in the AVR-Doper firmware package, I looked at the Thomas Fischl's boot loader (<!-- m --><a class="postlink" href="http://www.fischl.de/avrusbboot/">http://www.fischl.de/avrusbboot/</a><!-- m -->).<br /><br />I could not get it to compile because the hardware configuration that the bootloader wants (and as defined in the source) is incompatible with the AVR-Doper's. Or maybe I don't know how to change the USB bus port pins that are defined in the bootloaders code correctly.<br /><br />Now, is a suitable version of bootloader available in a compiled state somewhere ?<br /><br />If not, then can someone help me get it to compile.<br /><br />thanks.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=806">johnrigh</a> — Thu Feb 07, 2008 3:09 am</p><hr />
]]></content>
	</entry>
	</feed>
