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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2011-11-13T01:09:09+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-11-13T01:09:09+02:00</updated>

		<published>2011-11-13T01:09:09+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6186&amp;p=20172#p20172</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6186&amp;p=20172#p20172"/>
		<title type="html"><![CDATA[Re: BootloadHID &amp; ATmega324pa]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6186&amp;p=20172#p20172"><![CDATA[
Solved, I used different manufactured board and now it works perfectly. Maybe I blew something out on previous board because I was not also able to get UART work.<p>Statistics: Posted by Guest — Sun Nov 13, 2011 1:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-11-11T18:00:59+02:00</updated>

		<published>2011-11-11T18:00:59+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6186&amp;p=20156#p20156</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6186&amp;p=20156#p20156"/>
		<title type="html"><![CDATA[Re: BootloadHID &amp; ATmega324pa]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6186&amp;p=20156#p20156"><![CDATA[
I forgot - all I get is device not recognised in WinXP.<p>Statistics: Posted by Guest — Fri Nov 11, 2011 6:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-11-11T14:11:23+02:00</updated>

		<published>2011-11-11T14:11:23+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6186&amp;p=20153#p20153</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6186&amp;p=20153#p20153"/>
		<title type="html"><![CDATA[BootloadHID &amp; ATmega324pa]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6186&amp;p=20153#p20153"><![CDATA[
Hi, I'm unable to get this combination working, any suggestions please?<br />I was able to run the HIDkeys example on the same hardware<br />bootloadHID.2010-07-29<br /><br />Fuses BOOTSZ[0.1] = 00 set to 4kB bootloader by default, BOOTRST vector = 1 so the code should start in boot vector<br /><div class="codebox"><p>Code: </p><pre><code>avrdude -c usbasp -p m324pa -U lfuse:w:0xe6:m -U hfuse:w:0xd8:m</code></pre></div><br /><br />In the makefile<br /><div class="codebox"><p>Code: </p><pre><code>DEVICE = atmega324p<br />BOOTLOADER_ADDRESS = 7000</code></pre></div><br /><br />In bootloader config I set that the loader starts up everytime<br />D+ pin is also connected to the INT0 pin DP2<br /><div class="codebox"><p>Code: </p><pre><code>#define USB_CFG_IOPORTNAME      B<br />#define USB_CFG_DMINUS_BIT      0<br />#define USB_CFG_DPLUS_BIT       1<br /><br /><br />static inline void  bootLoaderInit(void)<br />{<br />    //PORTD = 1 &lt;&lt; 3; /* activate pull-up for key */<br />    _delay_us(10);  /* wait for levels to stabilize */<br />}<br /><br />#define bootLoaderCondition()   (1) </code></pre></div><br /><br />in the Usbconfig.h I have set some defines to make sure the INT0 vector is set right<br /><div class="codebox"><p>Code: </p><pre><code> #define USB_INTR_CFG            EICRA <br /> #define USB_INTR_CFG_SET        ((1 &lt;&lt; ISC00) | (1 &lt;&lt; ISC01)) <br />/* #define USB_INTR_CFG_CLR        0 */<br /> #define USB_INTR_ENABLE         EIMSK <br />/* #define USB_INTR_ENABLE_BIT     INT0 */<br /> #define USB_INTR_PENDING        EIFR <br />/* #define USB_INTR_PENDING_BIT    INTF0 */<br /><br />#define USB_INTR_VECTOR         INT0_vect </code></pre></div><br /><br /><br />There's the same unanswered thread here <a href="http://forums.obdev.at/viewtopic.php?f=8&amp;t=5708" class="postlink">http://forums.obdev.at/viewtopic.php?f=8&amp;t=5708</a><br />I've also followed this thread where they says that I should compile code for non-P variants of chips, but there's no non-P variant for ATmega324<br /><a href="http://forums.obdev.at/viewtopic.php?f=8&amp;t=4022" class="postlink">http://forums.obdev.at/viewtopic.php?f=8&amp;t=4022</a><br /><br />Any idea and suggestion very appreciated.<br />Thanks<p>Statistics: Posted by Guest — Fri Nov 11, 2011 2:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
