<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Testing AVR universal bootloader on Atmega128</title>
	<atom:link href="http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/</link>
	<description>ScienceProg serves scientific, embedded, biomedical engineering, physics based contents. If you want your article or scientific project to be on this site, do not hesitate to contact.</description>
	<lastBuildDate>Tue, 07 Feb 2012 20:33:17 +0200</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Torrmor</title>
		<link>http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-1108</link>
		<dc:creator>Torrmor</dc:creator>
		<pubDate>Wed, 18 May 2011 15:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-1108</guid>
		<description>Thank you for the wonderful explanation.   I tried using this Bootloader in my ATMega32.  I am using 11.0592MHz External crystal. Also I am using 2K BootSector so my BootSector start address is 0x3800 Hence I have set the Fuses as CKOPT, BOOTSZ1, BOOTSZ0 and BOOTRST programmed.  Rest all other fuses unprogrammed.
I have downloaded the bootloader using ponyprog.  Later I downloaded my Application HEX using AVRUBD and it is successful and after giving RESET the Application is running.  But if I give a PowerOFF and then ON, the application is not running.  When I examined the Flash content I found that after PowerOFF and ON the first sector of Flash (0x0000 till 0x007F) has been overwritten to 0xFF.  In summary the application is loaded successfully the first time without PowerON Reset, and it fails after a power cycle. Could you please let me know if I am making any mistake, also please suggest me some idea to solve this issue.
Thank you
Torrmor</description>
		<content:encoded><![CDATA[<p>Thank you for the wonderful explanation.   I tried using this Bootloader in my ATMega32.  I am using 11.0592MHz External crystal. Also I am using 2K BootSector so my BootSector start address is 0&#215;3800 Hence I have set the Fuses as CKOPT, BOOTSZ1, BOOTSZ0 and BOOTRST programmed.  Rest all other fuses unprogrammed.<br />
I have downloaded the bootloader using ponyprog.  Later I downloaded my Application HEX using AVRUBD and it is successful and after giving RESET the Application is running.  But if I give a PowerOFF and then ON, the application is not running.  When I examined the Flash content I found that after PowerOFF and ON the first sector of Flash (0&#215;0000 till 0x007F) has been overwritten to 0xFF.  In summary the application is loaded successfully the first time without PowerON Reset, and it fails after a power cycle. Could you please let me know if I am making any mistake, also please suggest me some idea to solve this issue.<br />
Thank you<br />
Torrmor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: noname</title>
		<link>http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-1107</link>
		<dc:creator>noname</dc:creator>
		<pubDate>Thu, 08 Jul 2010 11:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-1107</guid>
		<description>Bug hint:
1-Byte checksum mode is buggy. Receive function expects 2 bytes regardless of checksum mode. Can be fixed easily.</description>
		<content:encoded><![CDATA[<p>Bug hint:<br />
1-Byte checksum mode is buggy. Receive function expects 2 bytes regardless of checksum mode. Can be fixed easily.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hamid</title>
		<link>http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-1106</link>
		<dc:creator>hamid</dc:creator>
		<pubDate>Fri, 29 Jan 2010 14:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-1106</guid>
		<description>you said end of text &quot;After options are set, open hex or bin file to be downloaded and press black Dn button...&quot;

I don&#039;t understand which hex file open, &quot;Bootldr.hex&quot; or &quot;test.hex&quot;.

when I open Bootldr.hex via avrubd.exe, update is success but test.hex is not.</description>
		<content:encoded><![CDATA[<p>you said end of text &#8220;After options are set, open hex or bin file to be downloaded and press black Dn button&#8230;&#8221;</p>
<p>I don&#8217;t understand which hex file open, &#8220;Bootldr.hex&#8221; or &#8220;test.hex&#8221;.</p>
<p>when I open Bootldr.hex via avrubd.exe, update is success but test.hex is not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-1105</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Mon, 31 Aug 2009 14:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-1105</guid>
		<description>Hi,
Should not the BootStart address be 1F800 since the configuration file mentions that it is a byte address?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Should not the BootStart address be 1F800 since the configuration file mentions that it is a byte address?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jkx</title>
		<link>http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-1104</link>
		<dc:creator>jkx</dc:creator>
		<pubDate>Wed, 03 Oct 2007 23:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-1104</guid>
		<description>A good tips, is to use your program (not the bootloader) to reset the device. This avoid the need to a push the reset button. You can do this easily with something like this (for a ATMega8)

void (*resetptr)( void ) = 0xE00; // Set up reset to bootloader


SIGNAL (SIG_UART_RECV) {
.....
if (c == &#039;r&#039;) { uart_puts(&quot;Reset \r\n&quot; ); resetptr(); }

...
}

By this way, you can simply press r to reset, and flash. Even better, you can patch the program on the PC to do a automatic reset this way.


Hum, I&#039;m wondering if this bootloader can work with AVRdude ? (avrdude -p m8 -c avr910)

Bye bye</description>
		<content:encoded><![CDATA[<p>A good tips, is to use your program (not the bootloader) to reset the device. This avoid the need to a push the reset button. You can do this easily with something like this (for a ATMega8)</p>
<p>void (*resetptr)( void ) = 0xE00; // Set up reset to bootloader</p>
<p>SIGNAL (SIG_UART_RECV) {<br />
&#8230;..<br />
if (c == &#8216;r&#8217;) { uart_puts(&#8220;Reset \r\n&#8221; ); resetptr(); }</p>
<p>&#8230;<br />
}</p>
<p>By this way, you can simply press r to reset, and flash. Even better, you can patch the program on the PC to do a automatic reset this way.</p>
<p>Hum, I&#8217;m wondering if this bootloader can work with AVRdude ? (avrdude -p m8 -c avr910)</p>
<p>Bye bye</p>
]]></content:encoded>
	</item>
</channel>
</rss>

