I am having problems programming an AMP2.5 using the ArduPilot-Arduino-1.0.3-gcc-4.8.2-windows IDE that I downloaded from the DIY Drone web site:

http://firmware.diydrones.com/Tools/Arduino/

I have followed the instructions "How to Build ArduPilot with Arduino.pdf" that are posted on the page.  I am able to compile the ArduPilot source code from GitHub with no errors but when I try to upload I keep getting the same error:

avrdude: error at C:\Program Files\ArduPilot-Arduino-1.0.3-windows\hardware/tools/avr/etc/avrdude.conf:332: programmer type must be written as "id_type"

I am kind of stumped at this point and I would appreciate any advice.

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    Best to join us over on discuss.  Also best to give up on the AVR boards and move to something more advanced like a Pixhawk or NAVIO2 or something like that.



  • Randy said:

    maybe try this link? avrdude.conf

    by the way, few of the ardupilot developers use diydrones anymore.  better to look for us over on ardupilot.org. or in particular to post questions in the ardupilot forum.

    and sir, I have one more question(desperately)

    I want to get AHRS data so I uploaded example sketch to apm

    AHRS_test.pde

    I has uploaded several example sketch to apm successfully

    but this time I met compiling error.

    I didnt touched any source code in the example sketch but there are compile error like this :

    class_ap_inertialsensor_MPU6000 has no member named 'init'

    class_ap_inertialsensor_MPU6000 has no member named 'init_accel'

    how can I solve this problem..?

  • Thank you sir!!!! I cant thank you enough
  • Developer

    maybe try this link? avrdude.conf

    by the way, few of the ardupilot developers use diydrones anymore.  better to look for us over on ardupilot.org. or in particular to post questions in the ardupilot forum.

    Dropbox - Link not found
    Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Never email yourself a file again!


  • Randy said:

    Ok, I think we have a problem with the installation package then.

    I'm pretty sure when Tridge and I first tested the -4.8.2 version of the compiler I hit this problem and we resolved it by replacing the conf file.

    Download this file: avrdude.conf

    Place it in your Arduino-1.0.3/hardware/tools/avr/etc directory

    Sorry for the troubles.

    Sir, this link doesnt work now...

  • Hey,

    I just had the same problem and tried it with replacing the avrdude config, also with the older version of the ArduPilot-Arduino (4.7.2) but booth didn't work, with the older Arduino I got a simple error without description so I tried it on another win7 computer and it worked! Hope it helps someone. :)

    Tried different things for two days so I'm really happy having solved the problem solved so simply!

  • Developer

    Ok, I think we have a problem with the installation package then.

    I'm pretty sure when Tridge and I first tested the -4.8.2 version of the compiler I hit this problem and we resolved it by replacing the conf file.

    Download this file: avrdude.conf

    Place it in your Arduino-1.0.3/hardware/tools/avr/etc directory

    Sorry for the troubles.

    • Hi Randy,

      I download the file and replace it.But something wrong still happen. I can not download the hex file although the ide will display like that.

      avrdude: verifying ...
      avrdude: verification error, first mismatch at byte 0x3c001
      0x80 != 0xf0

      avrdude: verification error; content mismatch

      avrdude done.  Thank you.

      Thank you.

    • hi , Randy , the website does not opened when I click the link. Just takes me to a page that says the webpage is not available. could you reupload or send to my email , my email is 614859866@qq.com , thank you .

    • hi , Randy , the website does not opened when I click the link. Just takes me to a page that says the webpage is not available. could you

This reply was deleted.

Activity

DIY Robocars via Twitter
Sunday
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…