Wiki Ninja

(Original 4/20/12; Edited 3/16/13 to reflect a working configuration)

 

tl;dr -

  1. Running Mission Planner via a Windows VM on Mac VMWare may report verification failures when loading firmware.
  2. The comments on this discussion were helpful.
  3. About a year later, all versions involved are new, it's working, and I've posted my successful setup.

 

I'm sharing this story to help others. 

 

 Setup that did NOT work: April 20, 2012:

  • Mission Planner 1.71 (also tried 1.50)
    • Mac OSX 10.6.8 Snow Leopard (both MacBook Pro and Mac Mini tested)
    • Windows 7 32-bit VM on VMWare Fusion 3.1.3 and 4.1.2 (also tried a fresh install Win7 VM, and a fresh XP VM)
    • FTDI driver verified in Device Manager on both Win 7 and XP
  • Brand new APM2.0
    • No telemetry, servos, or receiver attached
    • Powered via USB and also tried with external 5V supply on output side
    • Verified problem with and without GPS lock
    • Firmware involved: Factory firmware and attempts to load ArduPlane 2.33 (or any firmware, really)
  • Did not test: Uploading sketches directly from Arduino

 

Symptoms

  • Upon attempting to load any firmware, after the "Verify APM" stage, I received an alert that "Upload succeeded, but verify failed: exp ### got ### at ###", where ### is different each time.
  • When connecting over USB via other means (clean Boot Camp install), the CLI would usually spit out junk until I pressed enter 3 times.

 

I read many helpful threads here that suggested fuse/bootloader problems. This comment from Kevin re: VMWare was helpful even though I was NOT receiving the original poster's error, "Can't detect apm version. Check your cabling".

Ultimately Chris' common sense advice of "try different computers and cables" led to the most probably cause: Running in a VM seems to interfere with the 115200 baud serial communication, even though I've never had a problem with other USB devices through VMWare.

I was able to load and verify firmware with ease on a non-VM Windows 7 PC. I then went and tested a bunch of combinations of VMs and Macs (listed above) to provide data to help others. I also eventually got a reliable setup around the same time with similar versions by using Boot Camp instead. Since this wasn't easily googlable, hopefully this post will have the right keywords to save someone else some facepalm. :)

 

Setup that is currently working in a Fusion VM: March 16, 2013

  • Mission Planner 1.2.33
    • Mac OSX 10.8.2 Snow Leopard (2012 MacBook Pro 15"R)
    • Windows 7 32-bit VM on VMWare Fusion 4.1.4
    • FTDI driver verified in Device Manager
  • Brand new APM2.5
    • Firmware involved: Factory firmware, attempting to load ArduPlane 2.70

The helpful commenters below suggested:

  • Setting the COM port settings to 115200/N/8/1/X in Device Manager
  • Running Mission Planner in WinXP SP3 compatibility mode
  • Installing MonoMac, which is painful. I'm a dev but I feel that project's docs are fairly poor. When I finally got the 3 prereqs and sorted through the shoddy install docs, MP on Mono can't handle my Retina display properly.

Ultimately, none of the above suggestions worked for me at the time, and furthermore I have success loading firmware and connecting with my current VMWare setup with or without the COM port and XP compatibility mode settings.

 

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

Join diydrones

Email me when people reply –

Replies

  • Hi,

    Im having the same issue on Paralelles VM on Windows 7 updating from 1.2 FM to 1.5 FM.

    Gets so far and then crashes out.

    I have also tried the setting above and still no joy.

    Can anyone help please.

    Thanks

  • Hi,

    Im having the same issue on Paralelles VM on Windows 7 updating from 1.2 FM to 1.5 FM.

    Gets so far and then crashes out.

    I have also tried the setting above and still no joy.

    Can anyone help please.

    Thanks

  • Mission Planner 1.2.33 working on Boot Camp Windows 7 Pro 64bit on a Mac Pro 13".

    -Use Jerry's suggested setting for the USB port (115200, 8, None, 1, Xon/Xoff) by setting the port properties in Device Manager
    -Change the Mission Planner software properties to use Compatibility Mode for Windows XP SP3

    Plug in and go!

    Thanks for the posts!

    -Scott

  • There's a simple fix.  Just right click on...  Oh, that's right you only have one mouse button.

    Sorry I can't be of more help.

    All kidding aside... I run linux apps in Virtual box with no problems.  Maybe you should try that? 

  • It's your serial handshake protocol,   It's not your VM everyone!  I have a MacPro too running windows7 in a vm just to run Mission Planner and  some 3D solid modeling programs.  Here's what you do to fix it.  Connect your apm 2.0 controller to your computer.  Control panel-> device manager,->ports.  Select the port you assigned for the atmega driver... change the control protocol from none to Xon/Xoff!

    I

  • Moderator

    I have not been able to recreate this error under Lion with Parallels Desktop for Mac 7 and Windows 7. I have loaded firmware hundreds of times, and a half dozen times on multiple APM and APM2's since the move to Mav 1.0. 

  • I have the same error with my APM2 board.

    I use:

    Snow Leopard, Parallels and APM Planner 1.1.93 Mav 1.0

This reply was deleted.

Activity

DIY Robocars via Twitter
Sep 9
DIY Robocars via Twitter
RT @chr1sa: We've got another virtual @DIYRobocars race tomorrow at 9:00am PT. Two dozen autonomous cars will compete, four at a time. Ther…
Sep 4
DIY Robocars via Twitter
Sep 1
DIY Robocars via Twitter
Aug 31
DIY Robocars via Twitter
Aug 31
DIY Robocars via Twitter
RT @ExplorerRobocar: Sometimes, I am really a big kid!! Having fun with my virtual RC car on the @diyrobocars track 😜😉, by using the « AR R…
Aug 24
DIY Robocars via Twitter
RT @grepLeigh: @donkey_car @unity3d @TensorFlow ~1050 episodes into training, my agent learned to erratically drive in the left lane. 🤖😆 ht…
Aug 24
DIY Robocars via Twitter
RT @EclipseCyclone: Sweet! http://Robotec.ai high performance #ROS 2 @unity3d #CycloneDDS bridge for @AutowareFdn @SVLSimulator now…
Aug 24
DIY Robocars via Twitter
RT @a1k0n: My car had a lot of trouble getting around the track at the last @diyrobocars event -- only one actual finished lap during the r…
Aug 24
DIY Robocars via Twitter
RT @SmallpixelCar: This is the run time map https://t.co/VzykOkUt2G
Aug 24
DIY Robocars via Twitter
RT @SmallpixelCar: Made a lot progress on Warm Spring Raceways track. Almost finished one lap. https://t.co/nUVpufZQyP
Aug 24
DIY Robocars via Twitter
RT @AntonioRobotics: Super fun time seeing these autonomous cars race at @circuitlaunch for the @diyrobocars quarterly meet up! The demolit…
Aug 15
DIY Robocars via Twitter
RT @a1k0n: I thought my dumb localization code was still working at the new @circuitlaunch track, but it was just *barely* working. I shoul…
Aug 14
DIY Robocars via Twitter
RT @DAVGtech: Recording of entire in person @diyrobocars race today @circuitlaunch. Fast forward a couple hours to go straight to the racin…
Aug 14
DIY Robocars via Twitter
RT @SmallpixelCar: This is the run time map. Very noisy Lidar signal https://t.co/bAbeVUMi10
Aug 14
DIY Robocars via Twitter
RT @SmallpixelCar: Today’s race with @a1k0n at @diyrobocars We both decided jumping over the wall was the way to break the 11s lap time. Th…
Aug 14
More…