Wiring Forum

All Forums => Wiring Hardware Questions => Topic started by: alex on August 21, 2011, 02:47:05 AM

Title: uploading bootloader
Post by: alex on August 21, 2011, 02:47:05 AM
using studio4 to upload hex file for bootloader into a atmega 1280 (unused)
i get the following error should be attached any suufestions would be gratefull

thanks
alex
Title: Re: uploading bootloader
Post by: bhagman on August 22, 2011, 04:16:37 PM
Hi Alex,

So I understand better, are you trying to compile the bootloader for an Atmel ATmega1280?

Have you got it on a board or how are you thinking about using it?
Title: Re: uploading bootloader
Post by: alex on August 23, 2011, 02:26:19 PM
hello
 what i`m  doing is using the hex file found in the forum to upload to atmega 1280 diectly via av studio 4 where i`m obtaing the error message attached,have tried other method via duemmilanove board to no avail.

alex
Title: Re: uploading bootloader
Post by: bhagman on August 23, 2011, 03:30:20 PM
Which hex file?  Can you show me where you got it from?
Title: Re: uploading bootloader
Post by: alex on August 24, 2011, 06:56:29 AM
this is the hex file in question

alex

http://wiring.uniandes.edu.co/source/trunk/wiring/firmware/hardware/Wiring/bootloaders/build/Wiring/ (http://wiring.uniandes.edu.co/source/trunk/wiring/firmware/hardware/Wiring/bootloaders/build/Wiring/)

Title: Re: uploading bootloader
Post by: bhagman on August 24, 2011, 04:25:53 PM
Hi Alex,

None of those hex files will work on the ATmega1280.  The bootloader needs to be updated to build for the '1280.  There's not much to it - just a makefile and a header file, but it will require some time.

In the meantime, why don't you just use the Arduino '1280 bootloader:

https://github.com/arduino/Arduino/raw/new-extension/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega1280.hex
(this link may change in the future)

Burn that hex file to your '1280, then you can select:

Tools->Board->Arduino->Arduino Mega (ATmega1280) @ 16 MHz

That will get you going right away.

b