No boot loader installed in the Mega2560 ?

   I got a brand new APM1 recently. I soldered it quickly. But when I tried to upload the firmware the mission planner could not detect the APM version. I have not debugged it completely bit seems that it does not have the boot loader. It also appears that the atmega328  does not have the PPM firmware installed.
 
When I power the board without connecting the Oilpan, I can see that.
 
  • The power led is on
  • The mux and the PPM led is off.
  • Arduino is unable to communicate with the board.
  • The mission planner is unable to detect the APM version.
 
I have more that one APM1 and on the other APM1 I see that when I power the rails. The mux/PPM activity led's are on and Arduino is able to load arduino sketch on it. So my wild guess is that there is no boot loader on the mega2560. I will try to connect my Atmel Dragon and see if I can communicate with the chip later today when I get back home.
 
Has anyone else seen a case where the mega2560 is missing the boot loader? Or something else is wrong with my board.?
 
Thanks

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

Join diydrones

Email me when people reply –

Replies

  • Hello Peter,

      I had the same issue. No boot loader in Mega2560 and no PPM firmware in the PPM chip. I had to flash both and now it works fine. I have AVR Dragon, which I used to flash the bootloader and the PPM firmware.

  • Hello,

    I think there is more to the missing bootloader than you might think.  I am in the same situation here.  But when I finish putting bootloader and upload APM firmware.  I notice that the LEDs in the bottom board are different.  Usually with APM1, there are 3 LEDs that are always on, red, blue, and yellow.  Now PPM and MUX LEDs are always off (Blue and Yellow LED in the bottom shelf).  Only the red LED stay lid.  So I connect Mission Planner to this APM1 to find that there are no radio input even though I connect the R/C receiver to APM1.  My guess is that they might miss PPM/MUX firmware on these boards too. 

    Best wishes,

    Peter

  • problem solved. i had to burn the bootloader for the atmega2560. i can now connect to the mission planner!!!

  • Im in the same boat, does anyone know where i can buy a  AVR ISP MKII programmer? radio shack? 

  • Admin

    Hi All,

    When you first received your APM1 did you observe a blinking LED sequence that 3DR uses to verify the operation of the APM1 when you first powered the APM1 up? If you didn't, it looks like a batch of APM1s may have gotten out of 3DR before they completed testing them. I just received a new APM1 two weeks ago, but have not had a chance to solder any of the headers on the board. Once I do, I will power it up with my trusty FTDI cable to see if the blinking LED sequence is present. If not I guess that I am in the same boat as the two of you. Fortunately I do have an Atmel programmer so I can burn the boot loader and the mux/PPM 328.

    Regards,

    TCIII

  • Same problem here. I just got the 2560 apm1 and after soldering all the pins replaced the old 1280 apm1. I have had no problem uploading firmware to the 1280 using Planner or  Arduino 101. Neither works with the new 2560. I suspected a bad boatloader or a hardware problem. I sent a message to 3D Robotics requesting an RMA but have not heard back.

    When attaching the USB, the com port is recognized. When uploading the rx and tx flash a couple of times, the blue light is on solid on the shield and the red solid on the APM1 2560. Once upload is initiated the rx light flashes occasionally and nothing gets uploaded. The planner gives me an error-"unable to detect APM version"

    What is you Atmel Dragon? Is there an easy way of uploading the bootloader?

This reply was deleted.

Activity

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…