Go Down

Topic: Firmware for MEGA (Read 1 time) previous topic - next topic

hugo007

Hello all
I'm using ubuntu on my Arduino Mega with the bug on serial Port busy.
Today I try to update the firmware but I cant find the firmware for it
Can someone give me the .hex for Mega?

Debian,Mint,Ubuntu
Arduino Mega 2560
Arduino Nano
Arduino Duemilanove
MAC OS Montain Lion
Raspberry PI Model B

MarkT

Its in the 0022 release in the hardware/arduino/firmwares/ directory I believe.

Also here's the howto page: http://arduino.cc/en/Hacking/DFUProgramming8U2
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

hugo007

#2
Mar 29, 2011, 06:22 pm Last Edit: Mar 29, 2011, 06:23 pm by hugo007 Reason: 1
Thanks
Until I was waiting for some tip I had found the solution to the problem very well explaned

I found this info
I have tested it and my board is back to live :)

I got the firmware from here:
https://github.com/arduino/Arduino/tree/master/hardware/arduino/firmwares/arduin...(click on the right firmware, then click raw, then save it)

Reflashing the firmware on the 8u2 is a little tricky. Don't try this unless you are prepared to risk bricking your board completely!

You need the dfu-programmer utility:
sudo apt-get install dfu-programmer

Then follow the instructions here to get the Uno into DFU mode:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1285962838/10#10

Then to flash the firmware, do this:
sudo dfu-programmer at90usb82 erase
sudo dfu-programmer at90usb82 flash --debug 1 Arduino-usbserial-uno.hex
sudo dfu-programmer at90usb82 reset

Finally unplug the USB plug, wait a few seconds, plug back in.

Here is also the .hex ready to upload to the board


Debian,Mint,Ubuntu
Arduino Mega 2560
Arduino Nano
Arduino Duemilanove
MAC OS Montain Lion
Raspberry PI Model B

Go Up