snurce / optiboot

Automatically exported from code.google.com/p/optiboot
0 stars 0 forks source link

Missing bootloader for Atmega1280 in optiboot-v5.0a.zip #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello Everyone. 

First I have to say that, You have done a good job. :)

I uploaded from here the bootloader for Atmega1280 

https://code.google.com/p/optiboot/source/browse/optiboot/bootloaders/?r=8559b64
fd093d3976cae58778a1540256cde5c8e#bootloaders%2Foptiboot

and my watchdog is now working. 

In file Makefile line 488 You have this:

#mega: TARGET = atmega1280
mega1280: atmega1280

I not sure, if this "#" should be there and if this is reason why the 
bootloader for atmega1280 has not been created.

Best Regards
Robert Tkocz

Original issue reported on code.google.com by Robert.T...@gmail.com on 30 Dec 2013 at 7:51

GoogleCodeExporter commented 8 years ago
OK this is my fault, I used this command:

 make atmega1280

And the bootloader was create, but I have question, in avr-gcc 4.8 the option 
"-mshort-calls" is removed and I had to comments this options to pass the 
compilations. 
This options "-mshort-calls" make a big different in bootloader ?? 
For now I see that it is larger of the two lines. I don't know if this can 
break my atmega1280.

Original comment by Robert.T...@gmail.com on 30 Dec 2013 at 10:46

GoogleCodeExporter commented 8 years ago
I find here
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54854
note that the new option for "-mshort-calls" can be used this option "-mrelax".

I did some test and compare the bootloader (with/without -mrelax), the 
bootloader have the same content.

Original comment by Robert.T...@gmail.com on 31 Dec 2013 at 8:49

GoogleCodeExporter commented 8 years ago
Removing the "mega" target is intentional, since it's now ambiguous.  Removing 
a bunch of .hex and .lst files was also intentional.
gcc4.8 is currently unsupported for several reasons, and is the subject of a 
separate bug.

Original comment by wes...@gmail.com on 27 Jun 2014 at 7:00