Firmware Mega 2560 #152
-
I am currently repurposing my Arduino Mega 2560s are OpenDeck midi controllers and I seem to be running in to some issues. I am flashing my device a little differently, but still managing to get close. I was able to successfully flash the 16u2 chip with the provided "Mega16u2.hex" firmware:
I then attempted to flash the 2560 chip with the "Mega2560.hex" using the headers on the Arduino with this result:
I also found that my Arduino 2560 seems to go into bootloader mode when I connect my AVRISP MKii programmer to the 16u2 headers before powering up. Once I do this and load the web configurator, I have to option to choose firmware file. I chose the "Mega2560.hex" file and tried to upload this through the configurator, and it stated that the process was completed, but I still don't get a functional device. Any insight or suggestions on if I am doing something wrong here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
These are the commands I use when flashing via mkII (see: link)
For mega16u2, fuses are here: For mega2560: To save you some time, use this as final command for mega16u2 (very slightly adjusted for Windows):
And for mega2560:
|
Beta Was this translation helpful? Give feedback.
These are the commands I use when flashing via mkII (see: link)
For mega16u2, fuses are here:
https://github.com/shanteacontrols/OpenDeck/blob/master/config/mcu/atmega16u2.yml#L5
For mega2560:
https://github.com/shanteacontrols/OpenDeck/blob/master/config/mcu/atmega2560.yml#L5
To save you some time, use this as final command f…