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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-04-18T23:26:17+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-04-18T23:26:17+02:00</updated>

		<published>2008-04-18T23:26:17+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1314&amp;p=5105#p5105</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=5105#p5105"/>
		<title type="html"><![CDATA[Porting BootloadHID to mega64 BOOTLOADER_ADDRESS ??]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=5105#p5105"><![CDATA[
Thanks! <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br />I was unnecessarily confusing myself <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by Guest — Fri Apr 18, 2008 11:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-04-17T09:22:50+02:00</updated>

		<published>2008-04-17T09:22:50+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1314&amp;p=5073#p5073</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=5073#p5073"/>
		<title type="html"><![CDATA[Porting BootloadHID to mega64 BOOTLOADER_ADDRESS ??]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=5073#p5073"><![CDATA[
8k flash size minus 2k boot loader = 6k, or in hex 1800.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Apr 17, 2008 9:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-04-17T07:11:38+02:00</updated>

		<published>2008-04-17T07:11:38+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1314&amp;p=5069#p5069</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=5069#p5069"/>
		<title type="html"><![CDATA[Hey!]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=5069#p5069"><![CDATA[
I did not get it!<br /><br />I am trying to figure out BOOTLOADER_ADDRESS for atmega8.<br /><br />Can you explain me how to find it?<br /><br />Thanks!<p>Statistics: Posted by Guest — Thu Apr 17, 2008 7:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-03-28T15:06:55+02:00</updated>

		<published>2008-03-28T15:06:55+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4806#p4806</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4806#p4806"/>
		<title type="html"><![CDATA[Porting BootloadHID to mega64 BOOTLOADER_ADDRESS ??]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4806#p4806"><![CDATA[
Crystals never have deviations of more than several 100 ppm. That's certainly within the tolerance (of much less than 1% for crystal clocks, BTW).<br /><br />If it works on one computer but not on another, you probably have voltage level problems on D+ and D-. Please have a look at the zener diodes and voltage levels.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri Mar 28, 2008 3:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[muenchner]]></name></author>
		<updated>2008-03-26T02:37:40+02:00</updated>

		<published>2008-03-26T02:37:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4782#p4782</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4782#p4782"/>
		<title type="html"><![CDATA[It works :D]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4782#p4782"><![CDATA[
With the settings provided by Dirk it correctly shows up on my mac.  <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /> On my linux box i still get an error about not correctly assigning an address; but as the device is intended to run with the mac it's no problem. - Tomorrow i will take an oscilloscope and look at the crystal if it's within the 1% tolerance mentioned in &quot;bootloaderconfig.h&quot;.<br /><br />Many thanks,<br /><br />Johannes<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=952">muenchner</a> — Wed Mar 26, 2008 2:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[STB]]></name></author>
		<updated>2008-03-25T20:51:44+02:00</updated>

		<published>2008-03-25T20:51:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4777#p4777</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4777#p4777"/>
		<title type="html"><![CDATA[Porting BootloadHID to mega64 BOOTLOADER_ADDRESS ??]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4777#p4777"><![CDATA[
Use <br /><br />BOOTSZ1 = 0<br />BOOTSZ0 = 0<br /><br />for a 1024 word bootloader on the mega16.<br /><br />BOOTLOADER_ADDRESS = 3800<br /><br /><br />Regards,<br /><br />Dirk<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=722">STB</a> — Tue Mar 25, 2008 8:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[muenchner]]></name></author>
		<updated>2008-03-24T22:27:39+02:00</updated>

		<published>2008-03-24T22:27:39+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4767#p4767</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4767#p4767"/>
		<title type="html"><![CDATA[Likewise problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4767#p4767"><![CDATA[
Hello,<br /><br />i have an analog problem: I want to use BootloadHID on a mega16 with a 16Mhz crystal. I already changed the frequency in bootloaderconfig.h to &quot;#define USB_CFG_CLOCK_KHZ 16000&quot;.<br />Looking at the documentation of the mega64 i got out, why to use MCUCR instead of GICR on a mega64 (just searched for IVCE and voila), but concerning the BOOTLOADER_ADDRESS i'm lost.<br /><br />Regards<br />Johannes<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=952">muenchner</a> — Mon Mar 24, 2008 10:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[STB]]></name></author>
		<updated>2008-03-24T18:03:20+02:00</updated>

		<published>2008-03-24T18:03:20+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4763#p4763</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4763#p4763"/>
		<title type="html"><![CDATA[Porting BootloadHID to mega64 BOOTLOADER_ADDRESS ??]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4763#p4763"><![CDATA[
I managed it myself.<br /><br />For all other who want to use it with the mega64, only a few changes are to apply.<br /><br />Makefile:<br /><div class="codebox"><p>Code: </p><pre><code>DEVICE = atmega64<br />BOOTLOADER_ADDRESS = F800<br /></code></pre></div><br /><br />main.c<br /><div class="codebox"><p>Code: </p><pre><code>GICR = &#40;1 &lt;&lt; IVCE&#41;;  /* enable change of interrupt vectors */<br />GICR = &#40;1 &lt;&lt; IVSEL&#41;; /* move interrupts to boot flash section */<br />&#40;...&#41;<br />GICR = &#40;1 &lt;&lt; IVCE&#41;;  /* enable change of interrupt vectors */<br />GICR = &#40;1 &lt;&lt; IVSEL&#41;; /* move interrupts to boot flash section */<br /></code></pre></div><br />change to:<br /><div class="codebox"><p>Code: </p><pre><code>MCUCR = &#40;1 &lt;&lt; IVCE&#41;;  /* enable change of interrupt vectors */<br />MCUCR = &#40;0 &lt;&lt; IVSEL&#41;; /* move interrupts to application flash section */<br />&#40;...&#41;<br />MCUCR = &#40;1 &lt;&lt; IVCE&#41;;  /* enable change of interrupt vectors */<br />MCUCR = &#40;1 &lt;&lt; IVSEL&#41;; /* move interrupts to boot flash section */<br /></code></pre></div><br /><br /><br />Regards,<br /><br />Dirk<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=722">STB</a> — Mon Mar 24, 2008 6:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[STB]]></name></author>
		<updated>2008-03-24T18:11:09+02:00 </updated>

		<published>2008-03-24T16:06:29+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4761#p4761</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4761#p4761"/>
		<title type="html"><![CDATA[Porting BootloadHID to mega64 BOOTLOADER_ADDRESS ??]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1314&amp;p=4761#p4761"><![CDATA[
Hi !<br /><br />I'm trying to port the BootloadHID to the mega64.<br /><br />The entry BOOTLOADER_ADDRESS is unclear to me, i do not understand, why it is pointing to 0x1800 on the mega8 in my opinion this must be 0x0C00. I never worked with code in the bootblock area.<br /><br />Who can explain me what BOOTLOADER_ADDRESS is used for.<br /><br />Regards,<br /><br />Dirk<br /><br />P.S.: The USB stack is a piece of great work, im currently using ist to emulate a Keyboard, Mouse and some data Transfer which works perfect on the mega64<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=722">STB</a> — Mon Mar 24, 2008 4:06 pm</p><hr />
]]></content>
	</entry>
	</feed>
