login

Author Topic: uploading bootloader  (Read 4165 times)

0 Members and 1 Guest are viewing this topic.

alex

uploading bootloader
« 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

bhagman

Re: uploading bootloader
« Reply #1 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?

alex

Re: uploading bootloader
« Reply #2 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

bhagman

Re: uploading bootloader
« Reply #3 on: August 23, 2011, 03:30:20 PM »
Which hex file?  Can you show me where you got it from?

alex

Re: uploading bootloader
« Reply #4 on: August 24, 2011, 06:56:29 AM »

bhagman

Re: uploading bootloader
« Reply #5 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