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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2014-08-14T04:42:12+02:00</updated>

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

		<entry>
		<author><name><![CDATA[xiangrui]]></name></author>
		<updated>2014-08-14T04:42:12+02:00</updated>

		<published>2014-08-14T04:42:12+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8691&amp;p=27931#p27931</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=27931#p27931"/>
		<title type="html"><![CDATA[Re: USB bootloaderhid with Atmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=27931#p27931"><![CDATA[
You are using bootloaderHID, right? In that case you don't need other hardware, but only the USB connection with the microcontroller. The command should be<br />avrdude -c usbasp -p atmega128 -U flash:w:myfilename.hex<br /><br />Good luck.<br /><br />-Xiangrui<br /><br /><blockquote><div><cite>medavr wrote:</cite>I am able to burn the bootloader into the atmega128. (I read the flash memory contents with eXtreme burner AVR, and it shows some values beginning from 1E000)<br /><br />However, I am unable to burn my project hex file through usb.<br /><br />I wrote in the command line &quot;avrdude -P com10 -b 19200 -c usbasp -p atmega128 -U flash:w:myfilename.hex&quot;<br /><br />I used 'usbasp&quot; after -c  because this is supposed to be a usbasp emulator, isn't it?<br /><br />It says programmer not found.<br /><br />can you help?<br /><br />I have followed all other protocols mentioned, only that I use Port E as my communication port, and I have an FT232 connected between the USB and the Microcontroller. Would that make a difference?<br /><br /><br />I have physically connected INT0 to my D+ pin, so I guess that should do?</div></blockquote><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=6201">xiangrui</a> — Thu Aug 14, 2014 4:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[medavr]]></name></author>
		<updated>2014-08-12T13:03:53+02:00</updated>

		<published>2014-08-12T13:03:53+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8691&amp;p=27912#p27912</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=27912#p27912"/>
		<title type="html"><![CDATA[Re: USB bootloaderhid with Atmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=27912#p27912"><![CDATA[
I am able to burn the bootloader into the atmega128. (I read the flash memory contents with eXtreme burner AVR, and it shows some values beginning from 1E000)<br /><br />However, I am unable to burn my project hex file through usb.<br /><br />I wrote in the command line &quot;avrdude -P com10 -b 19200 -c usbasp -p atmega128 -U flash:w:myfilename.hex&quot;<br /><br />I used 'usbasp&quot; after -c  because this is supposed to be a usbasp emulator, isn't it?<br /><br />It says programmer not found.<br /><br />can you help?<br /><br />I have followed all other protocols mentioned, only that I use Port E as my communication port, and I have an FT232 connected between the USB and the Microcontroller. Would that make a difference?<br /><br /><br />I have physically connected INT0 to my D+ pin, so I guess that should do?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=20586">medavr</a> — Tue Aug 12, 2014 1:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[trkien]]></name></author>
		<updated>2013-11-16T03:28:04+02:00</updated>

		<published>2013-11-16T03:28:04+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26191#p26191</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26191#p26191"/>
		<title type="html"><![CDATA[Re: USB bootloaderhid with Atmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26191#p26191"><![CDATA[
Hi Matrixstorm,<br /><br />Sure, you can mark ATmega128 as tested (16MHz) in the next commit to github.<br /><br />I also give USBasp loader star on github now. You did a wonderful work.<br /><br />Nice to talk to you, too.<br /><br />trkien.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=20038">trkien</a> — Sat Nov 16, 2013 3:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[matrixstorm]]></name></author>
		<updated>2013-11-15T23:11:04+02:00</updated>

		<published>2013-11-15T23:11:04+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26190#p26190</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26190#p26190"/>
		<title type="html"><![CDATA[Re: USB bootloaderhid with Atmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26190#p26190"><![CDATA[
Hi trkien.<br /><br />I am glad I could help.<br /><br />Since you sucessfully tested USBaspLoader with ATmega128-16AU, may I mark ATmega128 as tested (16MHz) in the next commit to github?<br /><br />Btw.: If you like USBaspLoader, please give it a star on github <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";-)" title="Wink" /><br /><br />BR matrixstorm<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=7385">matrixstorm</a> — Fri Nov 15, 2013 11:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[trkien]]></name></author>
		<updated>2013-11-15T16:18:40+02:00</updated>

		<published>2013-11-15T16:18:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26189#p26189</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26189#p26189"/>
		<title type="html"><![CDATA[Re: USB bootloaderhid with Atmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26189#p26189"><![CDATA[
Hi Maxtrixstorm,<br /><br />It is my mistake at somewhere in hardware connections. You are totally right with the suggestion fuses.<br />I checked again and everything works well.<br /><br />By the way, using INT3 instead of INT0 also works well.<br /><br />Thank you very much.<br /><br />trkien.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=20038">trkien</a> — Fri Nov 15, 2013 4:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[matrixstorm]]></name></author>
		<updated>2013-11-15T07:50:33+02:00</updated>

		<published>2013-11-15T07:50:33+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26188#p26188</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26188#p26188"/>
		<title type="html"><![CDATA[Re: USB bootloaderhid with Atmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26188#p26188"><![CDATA[
Hi trkien.<br /><br />What is the vlatge you are using the ATmega128 on?<br /><br />Because ATmega128 for 16MHz only runs stable at 4.5 .. 5.5V, the fuses were configured to activate brown out detector.<br />Without brownout detection, the bootloader section may destroy its contents by itself (brownout during write) and the bootloader will be bricked!!<br /><br />Also the Value 11 for START-UP TIME is marked as reserved and makes no sense:<br />Activating the BrownOut with BODLEVEL 4.5V and given the ATmega128 maximum time to start-up:  Adjusts your low-fuse (0xbf) into 0x1f.<br /><br />To your high-fuse:<br />You are using the value 0xd0, which is pretty much the same than 0xc0: Except CKOPT which is one in your case.<br />But using a crystal (as it is recommended for VUSB) this Option needs to be zero: HFuse = 0xc0<br /><br />Please also note, that leaving the lock-bits unchanged at their value 0x3f is important to have all functions of USBasp work properly.<br />The old way of protecting the bootloader section by programming the proper LOCKBITs is deprecheated now and done in software.<br /><br />Waiting for your response,<br />BR matrixstorm<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=7385">matrixstorm</a> — Fri Nov 15, 2013 7:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[trkien]]></name></author>
		<updated>2013-11-15T06:31:03+02:00</updated>

		<published>2013-11-15T06:31:03+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26187#p26187</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26187#p26187"/>
		<title type="html"><![CDATA[Re: USB bootloaderhid with Atmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26187#p26187"><![CDATA[
Thank you Matrixstorm,<br /><br />I can compile and the code works well with Atmega128 now.<br />However, it cannot work with USBasploader suggestion fuses. It works with my previous fuses: HF:0xd0, LF:0xbf, EX: 0xff.<br />Anyway, thank you very much.<br /><br />trkien.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=20038">trkien</a> — Fri Nov 15, 2013 6:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[matrixstorm]]></name></author>
		<updated>2013-11-09T13:44:54+02:00</updated>

		<published>2013-11-09T13:44:54+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26142#p26142</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26142#p26142"/>
		<title type="html"><![CDATA[Re: USB bootloaderhid with Atmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26142#p26142"><![CDATA[
Hi trkien.<br /><br />First of all, I recompiled your USBaspLoader configuration:<br /><!-- m --><a class="postlink" href="http://matrixstorm.com/baerwolf/files/tmp/20131109T1040ZUSBaspLoader_trieken.zip">http://matrixstorm.com/baerwolf/files/t ... rieken.zip</a><!-- m --><br /><!-- m --><a class="postlink" href="http://matrixstorm.com/baerwolf/files/tmp/20131109T1040ZUSBaspLoader_trieken.zip.asc">http://matrixstorm.com/baerwolf/files/t ... en.zip.asc</a><!-- m --><br /><br />Within the ZIP there is also a patch-file (against current testing-head), which indicates to you my changes for your configuration.<br />(Please clone a fresh copy before applying patch, since: <!-- m --><a class="postlink" href="https://github.com/baerwolf/USBaspLoader/commit/fda4f3c777fd656867e398b3bc38f2a3e18df5ed">https://github.com/baerwolf/USBaspLoade ... a3e18df5ed</a><!-- m -->)<br /><br />However I do not recommend your fuse configuration (YOURS: HF:0xd0, LF:0xbf), since you forgot the efuse and USBaspLoader suggests:<br />FUSEOPT_128             = -U lfuse:w:0x1f:m -U hfuse:w:0xc0:m -U efuse:w:0xfd:m<br /><br />BR matrixstorm<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=7385">matrixstorm</a> — Sat Nov 09, 2013 1:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[trkien]]></name></author>
		<updated>2013-11-08T17:19:03+02:00</updated>

		<published>2013-11-08T17:19:03+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26140#p26140</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26140#p26140"/>
		<title type="html"><![CDATA[Re: USB bootloaderhid with Atmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26140#p26140"><![CDATA[
Hi matrixstorm,<br /><br />Happy to hear response from you.<br /><br />As your comments, I used testing-branch with some modifications:<br />- <strong class="text-strong">bootloaderconfig.h</strong>:<br />#ifndef USB_CFG_IOPORTNAME<br />  #define USB_CFG_IOPORTNAME      D<br />#endif<br /><br />#ifndef USB_CFG_DMINUS_BIT<br />  #define USB_CFG_DMINUS_BIT      6    <br />#endif<br /><br />#ifndef USB_CFG_DPLUS_BIT<br />  #define USB_CFG_DPLUS_BIT       0<br />#endif<br /><br />#ifndef JUMPER_PORT<br />  #define JUMPER_PORT      A<br />#endif<br /><br />#ifndef JUMPER_BIT<br />  #define JUMPER_BIT              4    <br />#endif<br /><br />- <strong class="text-strong">Makefile.inc</strong><br />F_CPU = 16000000<br />DEVICE = atmega128<br /><br />- <strong class="text-strong">FUSES</strong>:<br />FUSEH = 0xd0<br />FUSEL = 0xbf<br /><br />Result: USB Boot still not working. I am sure to connect PA4 to GND ( bootloader condition).<br />Can you send me your compile project with atmega128 including hex file?<br />I am looking for your reply.<br /><br />Thank you very much.<br />trkien.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=20038">trkien</a> — Fri Nov 08, 2013 5:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[matrixstorm]]></name></author>
		<updated>2013-11-07T18:06:33+02:00</updated>

		<published>2013-11-07T18:06:33+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26136#p26136</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26136#p26136"/>
		<title type="html"><![CDATA[Re: USB bootloaderhid with Atmega128]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8691&amp;p=26136#p26136"><![CDATA[
Hi, it's again me:<br /><br />If you want to try the new, revised USBaspLoader please use the testing-branch (<!-- m --><a class="postlink" href="https://github.com/baerwolf/USBaspLoader/tree/testing">https://github.com/baerwolf/USBaspLoader/tree/testing</a><!-- m -->).<br /><br />From the previous message motivated I tried to compile and experienced an build-issue for ATmega128.<br />I fixed the Bug and commited it to testing-branch.<br /><br />BR matrixstorm<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=7385">matrixstorm</a> — Thu Nov 07, 2013 6:06 pm</p><hr />
]]></content>
	</entry>
	</feed>
