<?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/3454" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-10-28T13:36:29+02:00</updated>

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

		<entry>
		<author><name><![CDATA[bencao74]]></name></author>
		<updated>2009-10-28T13:36:29+02:00</updated>

		<published>2009-10-28T13:36:29+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3454&amp;p=11640#p11640</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3454&amp;p=11640#p11640"/>
		<title type="html"><![CDATA[BootloadHID problem??]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3454&amp;p=11640#p11640"><![CDATA[
Hi, <br /><br /> yesterday I was trying to get the BootloadHID to work. But no success. <br /><br />Here's my setting: <br /><br />hfuse 0xC0<br />lfuse 0x9F<br /><br />Dminus : PD1<br />Dplus : PD2<br /><br /><div class="codebox"><p>Code: </p><pre><code>static inline void  bootLoaderInit(void)<br />{<br />    PORTC = 1 &lt;&lt; 0; /* activate pull-up for key */<br />    _delay_us(10);  /* wait for levels to stabilize */<br />}<br /><br />#define bootLoaderCondition()   ((PINC &amp; (1 &lt;&lt; 0)) == 0)   /* True if jumper is set */<br /><br />#endif<br /></code></pre></div><br /><br />PC0 for bootloader acitvation jumpered to GND.<br /><br />Project option in winavr<br />General:<br />Device atmega8<br />Frequency 12000000 hz<br />Optimization -O1<br /><br />default include and lib settings<br />no memory settings<br /><br />Custom Compilation:<br />-Wall<br />-gdwarf-2<br />-DF_CPU=12000000UL<br />-O1<br />-fsigned-char<br /><br />for all files.<br /><br />PCB schematic. <br /><br /><img src="http://3.bp.blogspot.com/_YLXgzxS8cEc/Sp5JjQm9nQI/AAAAAAAAAzo/BCYSyUjuL14/s1600-h/lulu_v0.1.png" class="postimage" alt="Image" /><br /><a href="http://3.bp.blogspot.com/_YLXgzxS8cEc/Sp5JjQm9nQI/AAAAAAAAAzo/BCYSyUjuL14/s1600-h/lulu_v0.1.png" class="postlink">http://3.bp.blogspot.com/_YLXgzxS8cEc/Sp5JjQm9nQI/AAAAAAAAAzo/BCYSyUjuL14/s1600-h/lulu_v0.1.png</a><br /><br />I've tested it with other HID Devices talking to the same datalines. <br /><br />Error Message is that device is not recognized. Used OS is winxp.<br /><br />Thanks for the help!<br /><br />Jochen<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=2500">bencao74</a> — Wed Oct 28, 2009 1:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
