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

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

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

		<entry>
		<author><name><![CDATA[lachini]]></name></author>
		<updated>2014-09-09T10:21:13+02:00</updated>

		<published>2014-09-09T10:21:13+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=9308&amp;p=28132#p28132</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=9308&amp;p=28132#p28132"/>
		<title type="html"><![CDATA[AVRUSBBoot on ATmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=9308&amp;p=28132#p28132"><![CDATA[
Hi,<br /><br /> I try to run USB bootloader on Atmega128.<br /><br />I use AVRUSBBoot from Thomas Fischl.<br /><br />I change :<br /><br />BOOTLOADER_ADDRESS = 1F800<br /><br />Boot Flash section size=1024 words Boot start address=$FC00; [BOOTSZ=10]<br /><br /> <br /><br />and change :<br /><br />    GICR = (1 &lt;&lt; IVCE);  /* enable change of interrupt vectors */<br />    GICR = (1 &lt;&lt; IVSEL); /* move interrupts to boot flash section */<br /><br /> <br /><br />to :<br /><br />    MCUCR = (1 &lt;&lt; IVCE);  /* enable change of interrupt vectors */<br />    MCUCR = (1 &lt;&lt; IVSEL); /* move interrupts to boot flash section */<br /><br /> <br /><br />and set BOOTRST=0 fuse bit to  start boot loader after reset.<br /><br /> <br /><br />I comment BOOTLOADER_CONDITION and leaveBootloader() to run without exit from boot loader.<br /><br />but it's not work. and my pc not detect usb AVRUSBBoot.<br /><br /> <br /><br />I try again and change :<br /><br /> <br /><br />BOOTLOADER_ADDRESS = 0000<br /><br />and unprogrmmed BOOTRST fuse bit = 1<br /><br />and comment the MCUCR<br /><br />    //MCUCR = (1 &lt;&lt; IVCE);  /* enable change of interrupt vectors */<br />    //MCUCR = (1 &lt;&lt; IVSEL); /* move interrupts to boot flash section */<br /><br /> <br /><br />it's work usb and detect my pc AVRUSBBoot!<br /><br /> <br /><br />please help me to install usb bootloader on ATmega128.<br /><br /> <br /><br />thanks.<br /><br />- See more at: <!-- m --><a class="postlink" href="http://www.avrfreaks.net/forum/usb-bootloader-atmega128#sthash.gonl4LKq.dpuf">http://www.avrfreaks.net/forum/usb-boot ... l4LKq.dpuf</a><!-- m --><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=20590">lachini</a> — Tue Sep 09, 2014 10:21 am</p><hr />
]]></content>
	</entry>
	</feed>
