Author Topic: ATmega32u2 usb serial bootloader ??  (Read 44 times)

Swaroop 21 and 1 Guest are viewing this topic.

Online Swaroop 21Topic starter

  • Contributor
  • Posts: 22
  • Country: in
ATmega32u2 usb serial bootloader ??
« on: Today at 12:44:05 pm »
As per my previous post regarding the APM 2.8 Flight controller reused as a Arduino Mega. I have managed to locate the ISP pins of both the mega2560 and the 32u2. I didn't have any issue uploading the bootloader I also uploaded a blink sketch to blink the onboard led of the APM board which are connected to its PA3 pin. But had no success blinking the led even after uploading the sketch. Other thing as per the APM schematic a mux IC is used to route the uart pins from the mega2560 to either the mega32u2 or an external connector by simply pulling the PPM_PC2 pin high it will connect the uart pins from the mega32u2 to the mega2560. Now where do I find the bootloader for the 32u2 as a usb to serial converter so I can upload programs via the onboard usb rather than hooking up a usbasp programmer. Also what can be the reason for the leds not blinking with the correct pin numbers, I tried both the AVR pin number (PA3) and the arduino pin number (25) but none of them seem to blink the blue led on board where as the previous APM firmware which was in the at2560 the led were blinking when  I powered the board on. But not with Blink sketch and the Arduino Mega bootloader.
I have attached the Schematic diagram of the APM Board below:
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf