Is my APM 2.5 bricked?

Whenever I initially use the latest version of Mission Planner, I reflexively "upgrade" the APM 2.5 firmware. It's an instinct I've developed after working with computers for 30+ years to make sure everything is concurrent, and I've done this for the last 6 revs of the MP. I take it this is different than flashing an ordinary eprom, because reflashing something usually results in damage to the eprom. Besides, it would see that the firmware is up to date and wouldn't touch it... right?

I DL'd MP 1.2.52 did then 'upgraded' the firmware (which was already 2.9.1b, but y'know how reflexes are). Now it won't connect to the MP, nor will it arm the motors from the Tx. The usual blue and red LEDs aren't lit but the Tx/Rx LEDs are active. It's appearing in the device manager as "ArduinoMega"

The reset button on the APM doesn't seem to do anything...

I'd reformat the eeprom, but I can't connect to the MP...

Any ideas?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Look at this article

    Sorry if this is a duplicate post of someone elses  -  kind of bleary eyed after solving this issue. Just wanted to notify people in case this is a  3D Robotics production programming issue that customers might find later on.

    First a question so not to get lost in my description of the problem. Is the bootloader for Ardupilot identical to the Arduino bootloader ? or is a custom bootloader needed ?

    I received a Ardupilot 2.5+ last week to upgrade my XAircraft X650 v8 frame. Because of the XAircraft ESCs, I need to modify the PWM software of the Ardupilot.  I went to install freshly compiled software and it failed to install - both with Mission Planner and with Arduino IDE. Thus being an absolute Arduino noob, the start of an all-nighter debug session.

    In a nutshell, the Mega2560 Lock Bit "BLB1" was set in the factory to "LPM_SPM_DISABLE". This prevented firmware upgrades.

    Fortunately, I anticipated that I would eventually corrupt the bootloader and ordered a Pololu USB AVR programmer. After installing AVR Studio 6, wrestling with it's major quirks, connecting to the incorrect ISP pins (I soldered on a 6 pin connector for the "other" on board CPU), fortunately figuring out the correct ISP is disguised with the accessory servo pins, I could read the fuses and lock bits settings.

    After erasing the flash memory, I could now modify the BLB1 lock bit and reinstall the bootloader via AVR Studio 6, and then use Mission Planner to upload "custom firmware". I used the Arduino 1.

    Arduino-1.0.3\hardware\arduino\bootloaders\stk500v2\stk500boot_v2_mega2560.hex bootloader. Seems to function correctly - will know shortly after putting the APM back together. But first......

    Off to desoldering the 6 pins I placed thinking the empty pad was the ISP connector. The APM cover won't fit with those newly added pins.

    Oh heck, I will mention one other possible production issue. The red-wire on the UBlox GPS to APM cable seems to be reversed. Doesn't affect operation, since the connectors are keyed, but IMHO a wee bit strange seeing the red wire aligned up with the ground pin.

    Thanks for any information on the bootloader.

    Sorry for my ramblings. Cheers

  • UPDATE:

    My APM was in fact bricked. It doesn't even communicate with JTAG. No matter, I'll just get an APM 2.6 and never ever EVAR flash the firmware unless I need to, i.e. for an update. 3DR could as well include a warning about that, but they would also need to include a warning to never fly your drone underwater, or to never operate the drone while heavily medicated.

    Now I know *nods*

    • MR60

      Hello,

      I'm having the same issue since today, except worse : can't even see a COM port on the PC. Also have the single green led lit, nothing else.

      I just do not know how it got bricked...so frustrating.

      Any ideas ?

      • Boy this sounds like the same as mine. I wound up reflashing firmware many times trying to update and configure, and not being sure of what I was doing,… Is this the cause of bricking the APM? If Dave could answer on this I would appreciate as he made reference to reloading firmware too many times, Or any one else I would like to know more about this as I had no idea this could happen.

  • Visually inspect the pcb silkscreen and notice the pins are offset closer to one edge.

    Also notice the I2C connector (next to the PM connector in your pic) has a similar offset. Here is a quick graphic to help...

    3692729856?profile=original

    Notice that all the connectors are offset from center.

    Before applying the epoxy, dry fit a couple times to help ensure you are correctly lined up.

    Good luck!

    -=Doug

  • So, I was unplugging/plugging my APM peripherals in various combinations when THIS happened. Aren't these things supposed to be crimped onto the board?

    3692728722?profile=original

    3692728737?profile=original

    They came right off with the same pressure I always use (which is very little). Too much rocking motion?

    Also, I was looking over the LED guide: https://code.google.com/p/ardupilot-mega/wiki/LED ... and I cannot recall ever seeing the 'B' LED lit up. I've always seen blue and red, but never yellow. Except the Tx/Rx LEDs near the GPS, and those have always flickered on and off... even with my telemetry disconnected or when not connected to MP or my Spektrum? Hm...

    I've had this for 4 months, so it is definitely out of any implied "warranty", but could these issues be regarded as manufacturing defects? Maybe I should request an RMA from 3DR? Or is more tinkering in order? Personally, I'd rather tinker, but the dislocated ports are a bit of a bummer :\

    But to answer your question Monroe: I didn't see anything different with the LEDs than before. I have no idea what a JTAG is, but I'm eager to learn!

  • Developer
    You don't need to click connect when going to the Terminal page in MP. Before clicking on Terminal make sure you have the correct com port set and then click terminal. You should see 'com port open' message in the text pane.

    Wait for the prompt to press three times and you should be in CLI mode where you can reset to factory settings and erase the dataflash by typing 'setup' 'reset' then 'setup' 'erase'
This reply was deleted.

Activity

DIY Drones via Twitter
RT @chr1sa: My talk on PX4 and FAA certification is coming up at 1:45 PST today on the PX4 Dev Summit livestream. Includes some cool new st…
Tuesday
DIY Drones via Twitter
RT @seesharp: I'm tuned into the PX4 / Dronecode free live conference. Great stuff. Microsoft AirSim talk in 10 minutes. https://t.co/0zbZ2…
Monday
DIY Robocars via Twitter
RT @masato_ka: 距離センサを3つとESP32を付けたラジコンカーをDonkeyCarライクにNNで自動走行。3層FC極小モデルをTensorFlow Lite for microcontrollerで動かしてる。機体は借り物でRumiCarって言います。Tenso…
Monday
DIY Robocars via Twitter
RT @SmallpixelCar: My car was able to go all the way autonomously until the crosswalk. It was only 100 yards from the target. What should b…
Jul 4
Liam left a comment on Agricultural UAVs
"Hi
I'm Liam from T-MOTOR. I would like to reach out to see if there is any possibility for us to work together.
We are a propulsion system manufacturer who offers motors, propellers and ESCs for all kinds of drone applications which vary from secur…"
Jun 30
DIY Robocars via Twitter
RT @SmallpixelCar: Smart move. The car used the shadow to guide it through the bridge. This was never in the training samples. But it learn…
Jun 30
DIY Robocars via Twitter
RT @SmallpixelCar: Getting closer to the target. Single camera. Untrained road. https://t.co/Wsr7RwDamj
Jun 29
Richard Cox left a comment on Australia
"Anyone in the DIYDRONES Australian subgroup based in Alice Springs, NT?
I am experimenting with Ardupilot (standard Arduplane), Pixhawk 4 FC in a 4-ch
RC "AXN Floater Jet" foamy plane..."
Jun 29
Omar Sykes left a comment on Australia
"Hi everyone, I am looking for someone who is good at drone building, repair and software in Adelaide. Please give me a call on 0477 319 219."
Jun 29
DIY Robocars via Twitter
RT @RoboticMasters: #donkeycar https://t.co/czuLoVRcA4
Jun 29
DIY Robocars via Twitter
https://t.co/DKQbNTbz0g
Jun 29
DIY Robocars via Twitter
RT @RoboticMasters: Donkey car, car car car car car car; Donkey car, car car car car car car; Donkey Car. Anyone like our tiny tiny donkey…
Jun 29
DIY Robocars via Twitter
RT @SmallpixelCar: After improving DBSCAN speed, I can get 11 frame per second on @NVIDIAEmbedded Jerson Xavier MAXN mode and the autonomou…
Jun 26
DIY Robocars via Twitter
RT @Heavy02011: Join us at next Virtual Race League: ⁦@diyrobocars⁩ Race #4 - Parking Lot Nerds, August 1st https://t.co/5KUpu7VGaH
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: #CUDA implementation should be easy, because most of the time is on distance calculations berween two points and if the…
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: This is the view from the car. Even my lanenet inference is fast on @NVIDIAEmbedded Jerson Xavier, DBSCAN clustering tak…
Jun 25
More…