<?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"
	>
<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 and send to scienceprog@gmail.com.</description>
	<pubDate>Fri, 16 May 2008 08:19:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: jkx</title>
		<link>http://www.scienceprog.com/testing-avr-universal-bootloader-on-atmega128/#comment-14237</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-14237</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 == 'r') { uart_puts("Reset \r\n" ); 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'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(&#8221;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>

