New ArduPilot2.5+, never flown, only connected with USB and board has been working flawlessly for 4 days while I learned Mission Planner and browsed the code.  Today I got the error "Upload succeeded but verify failed: exp C got 14 at 0" when uploading firmware.

I now get the error using Mission Planner or Arduino IDE to do an upload.  Does not matter if I am uploading ArduPlane V2.70, ArduCopter quad or older versions. I have found at least 4 other references to this issue various places on web forums but no information as to the cause or how to fix the problem.

Except for the verify error, the board and software seem to work the same as before the verify error.

Main question:  How do I fix this problem - make the verify error go away?

Related questions:

Is it a corrupted boot loader?  

  • If so, do I return the board to 3DRobotics ( place of purchase) or do I have to buy the hardware and get the software to replace the boot loader (Yuk - time, money, frustration)?
  • How in the world does the bootloader get corrupted?  Is it not protected?
  • Was It me? I did do a few minor changes in the ArduPlane code (Using Arduino IDE) to try to debug a CLI issue in Mission Planner  (see  here )
    Changes were simple - like add a delay(500); at several places along with a message for CLI.  Example:
    cliSerial->println_P(PSTR("\nAfter Ld Parms\n")); // ********Test ****  
    delay(500);
    No other changes except inserting similar statements in various places - one at a time. 
  • Or, can Ardunio IDE change that address during an upload?
  • Or, could a bug in the ArduPlane code overwrite that address?

Is it a bad board?  

  • I do not think so because everything else seems to work in Mission Planner (board on desk)  Gyros work, compass works, AHRS works, setup works, CLI works - but only after a reboot if in Mission Planner (This is a separate issue - see  here ) 

Should I use this board in a plane without fixing the error?

  • Some discussion somewhere indicated this was a fuse in the boot area (adress 0?).  If that is so, then I would tend to ignore the message and proceed with installation and flight tests.  Any suggestions?

Thanks in advance for any help you can provide.

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

Join diydrones

Email me when people reply –

Replies

  • I had the same problem:

    "upload succeeded but verify failed: exp 8c got DC at 102254".

    As for me, the problem happened because I use Windows VM on MAC (VMware fusion hypervisor). It's very common issue when you use Serial port on a VM.

    Try to use Windows box to upload the firmware. It helped me so potentially it may help you.

  • Solution found after hours of searching:  

    I get it now.  No one replied so I could learn this the hard way - called educate the newbee  :)

    The problem was that the lock bits on the 2560 mcu had been set to a value of 0xC3 instead of the desired value of 0xCF.  The bad value had BLB0 set to LPM_SPM_DISABLE  which prohibits reading and writing to some part of memory - not sure which part - that is another research project. I will never know how the values got changed.

    Of course to find the problem required information from  3DR support (thanks) as to what the values should be, and then I had to buy an ISP programmer, install AVRStudio, erase the 2560 chip, set the lock bits back to the way they should be and upload the 2560 boot loader for the AP2.5. Since this was such a difficult task I am going to open a new topic later and detail how to re-install the boot loader for the 2560 chip.  Just finding the hex file for the boot loader was not easy - although 3DR support is in the process of sending me the file - just forgot to attach it.  Also the ISP connections on the AP2.5+ is not documented anywhere I could find.  Where the six pins are is on the drawing but which pin is pin 1 is not marked on the drawings. Lucky one pin on the circuit board has a square land - so I guessed and it was pin 1.  

    This should all be on the wiki somewhere one would think.  Anyone out there know how to go about helping get this info documented somewhere except in this forum.  I can do the text etc but don't know how to go about the wiki stuff.

  • OK, perhaps that was too much data.  

    When I upload firmware I get "Upload succeeded but verify failed: exp C got 14 at 0"

    Can anyone tell me what that means and what to do next?   No answer from 3dr re my service request.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13, 2022
More…