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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-12-23T23:42:53+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-12-23T23:42:53+02:00</updated>

		<published>2009-12-23T23:42:53+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3683&amp;p=12598#p12598</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3683&amp;p=12598#p12598"/>
		<title type="html"><![CDATA[Re: bootloaderHID on atmega8535 ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3683&amp;p=12598#p12598"><![CDATA[
That's 1k words which is 2k bytes, enough for the boot loader. Please use the lock bits to protect the boot loader from overwriting itself. There's no additional check in the boot loader.<br /><br />The hex file may be 8k in size because it starts at 0 and goes up to the boot loader. The actual code is only 2k.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Dec 23, 2009 11:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[solata10]]></name></author>
		<updated>2009-12-22T21:57:08+02:00</updated>

		<published>2009-12-22T21:57:08+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=3683&amp;p=12586#p12586</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=3683&amp;p=12586#p12586"/>
		<title type="html"><![CDATA[bootloaderHID on atmega8535 ?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=3683&amp;p=12586#p12586"><![CDATA[
hello, <br /><br />i would like to run bootloaderHID on atmega8535, but i'm not sure if its possible.<br /><br />i tried it :<br />1) uploaded bootloaderHID to my device<br />2) connected my device to computer, i get device not recognized<br />3) reconnected my device, this time holding down the &quot;program&quot; button, HID device gets detected<br />4) i upload my program using bootloaderHID command line tool, it says its ok<br />5) i reconect my device (not holding &quot;program&quot; button), and my uploaded program gets executed ok<br />6) i reconect my device and i hold down the &quot;program&quot; button, nothing, my uploaded program gets executed., bootloaderHID command line tool gets me device not found.<br /><br />so it looks like the bootloaderHID was erased when i uploaded my program.<br />i went looking to the atmega8535 documentation, and it looks like it can only set 1kb aside for bootloader (<!-- m --><a class="postlink" href="http://www.atmel.com/dyn/resources/prod_documents/doc2502.pdf">http://www.atmel.com/dyn/resources/prod ... oc2502.pdf</a><!-- m -->  , page 235), am i right ?<br />so its not possible to make it work ?<br /><br />another question. when i generate my hex file, (lets say for bootloaderHID) its 8kb, but avr-size reports its below 2kb .... what does this mean ? only 2kb of the main.hex will be copied to the device ?<br /><br />thanks for your help.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=3264">solata10</a> — Tue Dec 22, 2009 9:57 pm</p><hr />
]]></content>
	</entry>
	</feed>
