Help-how to upload a .hex on Atmega1280

Hello everyone
I have some question about the arduino atmega1280 board.

  1. which software and which hardware must i use for to erase and upload a new bootloader because i want to use the board for PSGrade and PSGroove and i have the two .hex but i don't know how to load it.

Best Regards and Merry Chrismas

You should probably be aware that loading a hex file and loading a boot-loader are not the same thing.

If you enable Verbose output in the preferences.txt file, or hold down the shift key while uploading a sketch to the board, you can see the commands used to upload the sketch.

Using a command window, you should be able to upload a different hex file the same way.

Not both of them at the same time, though.

How is it that you have hex files for a 2560 but not the source sketch?

sorry i confused the two things yes i know but i just want to upload an hex on my board how can i do it ?

anyone can help me ?

If you enable Verbose output in the preferences.txt file, or hold down the shift key while uploading a sketch to the board, you can see the commands used to upload the sketch.

Did you bother trying this?

avrdude is the command looking for, -U option. PaulS gave the right hint to find the complete command.

Ok i will see that

Edit :i find a tuto off avr dude but can i programm without to specify which ? and the shield that arduino purpose works?

I don't understand your question?

I don't understand the question either. If you are asking if you can load any old hex file to the Atmega1280, the answer is no. The hex file has to have been built FOR the Atmega1280.

It's time to stop with the vague questions, and explain what hex file(s) you want to upload to the Mega, where they came from, and why you don't have the source for the hex file.

Ok i explain .

  1. the hex have been built for the ATmega1280 they came from PS3-hacks,the hex are here http://www.ps3-hacks.com/file/221 and the source are here : GitHub - timwu/avr-jig: Clone of PSGrade to work with non-usb AVR chips how can i use the source ?

2)because this .hex permit to launch homebrew and Games on the Hard Disk of the Ps3 and i want to use my ps3 to the maximum.

  1. i read a tutorial about avrdude here :AVR Tutorial - AVRDUDE

  2. my question is can i upload a hex only via the usb without programmer on avrdude

Edit : I see that the source should be work and sorry for unclear question i'm a newbie :cry:

my question is can i upload a hex only via the usb without programmer on avrdude

Yes. Load a sketch. Hold down the shift key. Press the upload button. Look at the output that you see.

There are a number of avrdude commands that are called, to compile and link the code, and to upload the resulting hex file to the Mega.

Figure out which command uploads the hex file to the mega.

Open a command window, and type the same command, except with the name of the hex file that you want to upload, instead.

The ladyada tutorial showed how to do this.

OK yet i download the source the Entire source (makefiles and the others things) which file must i open with arduino ? (please can you download and see the source)
and for avrdude i tested without programmer he didn't want to upload the hex.

Thank you for your answers without you i will stay without solution.

he didn't want to upload the hex.

What is the avrdude command you used?
and what parameters?

avrdude -P com3 -p m1280 -U flash:w:psgrade.hex
that is the command

no one can help me ?

I think you might need

-P //./COM3

Don't ask me why, or how the hell this parses, I just know it works on my system.


Rob

Thank you very much i will test it tonight

i tested and it isn't works whit your command can we upload the hex without programmer ?