Problem Connecting to an APM2 board.

I'm using Planner 1.1.14 with a new APM2 purple board, Win XPpro and the Atmega2560 inf driver file from the repository.

Planner loads and verifies version 2.27 firmware but it does not connect to the APM2.  I have used Putty and it does reset the APM2 on connect and I do see packets with mixed binary/alpha content (presumably MavLink).

When watching the APM2 board, it does not appear to come out of reset after Planner opens the port.  Since the reset step works correctly with Putty, it seems as though Planner is holding the reset line for some reason.

Should I add this as an "issue" on the Wiki?

Thanks.

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

Join diydrones

Email me when people reply –

Replies

  • 3D Robotics

    We've seen at least one other board do this. I think it's a hardware issue (some rare glitch in the production process), but we don't yet know if requires a software or hardware fix. Please stay tuned while we diagnose. 

  • Here is some detailed description of what I see happening between the APM2 and Planner-

    1) Insert USB to APM2 board. It powers up, the red, yellow and blue status leds are active, the GPS led is flashing and there is TX activity on the usb port at about 2hz.

    2) Click Connect from Planner. All APM2 leds (except GPS) go out as though it is in reset.

    3) The Planner connect progress box appears and counts down to "0".  I see periodic USB RX activity but no other leds are active on the AMP2 board.

    4) The Planner connect progress times out and at that point there is USB RX and TX activity.  Planner throws an exception about not seeing heartbeats.

    5) When I close the exception message box, APM2 red, yellow and blue status leds come alive and there is again USB TX activity.  APM2 appears to start up normally.

    6) Open the port with Putty terminal emulator.  APM2 resets, I see the startup header print and then mixed binary/ascii messages about initialization.

    As a cross-check, I just used Planner 1.1.14 to connect to an installed APM1 (red) board in a flying plane.  It came up and connected promptly as it always has in the past.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
19 hours ago
DIY Robocars via Twitter
19 hours ago
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
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
More…