I need a little help please. i purchased my electronic parts before the new updated apm board came out. since i work around people that do electronics manufacturing. i read that the ic chip can be replaced with the newer one. only thing i cant find is a detailed description of what has to be done after the chip is replaced. i need this info to give to my friend that is helping me build the electronics so we can finish things and get my arducopter done.
ive seen info talking about using a programmer and loading some software to the board. also refered to as the bootloader. could someone outline the procedure for finishing the apm after doing the atmega upgrade. it would be most appreciated.
thanks
Mike
Replies
wrong post sorry
I just helped a friend of a friend with this. You need to have someone with serious skills do the removal and replacement.
Assuming that that goes well, you just need to program the Arduino bootloader to the ATmega2560 to use it for APM. You'll need an AVR programmer. My favorite is this one from Pololu because it has a TTL serial port and severely limited oscilloscope with it too.
You'll need to have the "ATmega1280 SPI" header populated to connect the 6-pin ISP programming cable.
Make sure to line up the pin 1 mark on the cable with pin 1 on the board (square pad).
Next, follow step 3 here if you're using the Pololu programmer, to add it to the list of programmers in Arduino. If you use another programmer, you might not have to do this.
Open the Arduino IDE and go to Tools > Board > Arduino Mega 2560 to select the right chip.
Go to Tools > Serial Port > COM# to select the right COM port for your AVR programmer.
Lastly, go to Tools > Burn Bootloader > w/ AVR ISP v2 if you're using the Pololu programmer.
The bootloader should load, and the chip should be set up as an Arduino Mega 2560.