Hello Everyone,
I just got my APM2 this week. I was running through the steps to configure it for the 3DR Hexacopter.
I was able to load the 2.5.5 Arducopter firmware and everything seemed to be going fine. I made it to calibrating the ESC's. I found that one motor would not calibrate. After checking I found a loose connection with a deans connector. I disconnected everything and then soldered a new one one. Now had power at the ESC.
I went to try and calibrate my ESC's again and it would not calibrate any of them. I noticed that the tx and rx LED's were no longer blinking and the red and blue LED's were blinking. I figured I'd unplug it from the battery and plug in the USB to see what might be going on.
Now it does not even get recognized that it is even plugged in. I get power and the red and blue blinking LED's but no communication. I read through all the things I could find but didn't see a definitive answer.
Seems to get GPS lock as that light goes solid blue but now the red LED just sits and blinks with the blue one next to it just on solid.
Any Ideas of what happened and what to do now?
I tried different cables but the red LED concerns me.
Any help would be great.
UPDATE:
I went to the multirotor event on the 17th of June. I got to meet a bunch of great people. The guys from 3DR were there and very helpful.
It was amazing to see these things in action.
Just wanted to say thanks to Sam from 3DR and Chris for all the help.
I have a new or fixed APM2 on the way.
Thanks again 3DR.
Thanks,
Jeremy
Tags:
Permalink Reply by arashi on June 15, 2012 at 10:21am @ Emile - How did you flash the 32u2 on the APM2 without USB connectivity? That is the crux of the problem. Thanks
Permalink Reply by rallymr2 on June 15, 2012 at 10:31am I used the AVRISP2 programmer. Vernon was right it is a cool tool.
Permalink Reply by arashi on June 15, 2012 at 2:05pm @ Rally - Did you have to solder on some pin headers to attach the programmer to the APM2? I can only find the USB method that doesn't work, because there is no USB connectivity.
Thanks
Permalink Reply by rallymr2 on June 15, 2012 at 5:27pm Hi Arashi,
I did. I just soldered a six pin header on the 32U2 pin outs. It is labled ATxU2 on the board.
After that I just followed the instructions in the blog section about programming pesky ATMega chips for the first time. Just substitute 32U2 for the ATMega1620 or whatever it was.
The link that Vernon posted works for getting the code.
It was really simple to do. Even a noob like me was able to do it.
I'll be happy to answer any questions I can.
Permalink Reply by arashi on June 16, 2012 at 2:46pm @Rally - Thanks for the info. I successfully re flashed the 32u2 with my USBasp. Unfortunately, I still don't have USB connectivity, so I guess I have other issues.
It is a 10pin programmer, so I used the 6 pin header layout listed for the APM1 to make the connections.
C:\avrdude>avrdude -p ATMEGA32U2 -c usbasp -P 1 -U ArduPPM_v2.2.65_ATMega32U2.he
x
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e958a
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: warning: cannot set sck period. please check for usbasp firmware update
.
avrdude: reading input file "ArduPPM_v2.2.65_ATMega32U2.hex"
avrdude: input file ArduPPM_v2.2.65_ATMega32U2.hex auto detected as Intel Hex
avrdude: writing flash (5004 bytes):
Writing | ################################################## | 100% 2.07s
avrdude: 5004 bytes of flash written
avrdude: verifying flash memory against ArduPPM_v2.2.65_ATMega32U2.hex:
avrdude: load data flash data from input file ArduPPM_v2.2.65_ATMega32U2.hex:
avrdude: input file ArduPPM_v2.2.65_ATMega32U2.hex auto detected as Intel Hex
avrdude: input file ArduPPM_v2.2.65_ATMega32U2.hex contains 5004 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.32s
avrdude: verifying ...
avrdude: 5004 bytes of flash verified
avrdude: safemode: Fuses OK
avrdude done. Thank you.
Permalink Reply by Emile L. on June 15, 2012 at 12:30pm Windows did indicate a connection to the unit but communications would not go any further. MP would error every time (time out unable to connect). My understanding is that the 32U2 is communicating between the computer and the on board cpu. My unit did not have USB or Xbee connectivity to the APM2. My unit did have connectivity to the 32U2 and that allowed me to perform the flash of it but the underling problem was the contamination on the board. I realize the forum topic read USB Not Recognized At All, but I posted what I considered to be relevant information that should be shared for what could be interpenetrated as a similar problem.
Permalink Reply by Darren Stan Oakley on June 18, 2012 at 7:09am When you say the usb would not connect did your pc pick up when it was plugged in or not even that. Mine shows new hardware and has a yellow question mark next to it in device manager but wont install the driver. I know the driver is there as I can see it but just cant see it through update driver browsing.
Have followed the manual to the word and even reinstalled windows to check it wasn't that (even though it looks like a windows issue)
Next I will check it on a friends PC as we are a Mac family.
Permalink Reply by rallymr2 on June 18, 2012 at 7:54am Hi Darren,
On mine it was not there at all. It looks like mine has a fried MUX. I'll wait to hear back from 3DR on what they find.
If you are running bootcamp I would think it would work. I have had issues in the past with different devices when using vmware or similar.
Thanks,
Jeremy
Permalink Reply by Darren Stan Oakley on June 18, 2012 at 8:16am
Permalink Reply by Darren Stan Oakley on June 15, 2012 at 7:16am
Permalink Reply by catur aries on July 13, 2012 at 1:18am I've same problems
When powered by USB, the LED is normal, but
the APM2 board can not detected, there are no device detected, like normally
please, any success story....
Thx
Caris
Permalink Reply by Darren Stan Oakley on July 13, 2012 at 1:48am
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.136 members
51 members
51 members
185 members
24 members
© 2013 Created by Chris Anderson.
Powered by
