bugAVR Downloader/UploaDEr - Bugs: bug #41928, Avrdude fails to burn flash of...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #41928: Avrdude fails to burn flash of Atmega328p using buspirate with Arduino IDE

Submitted by:  None
Submitted on:  Fri 21 Mar 2014 08:37:18 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Roberto Arag√≥n
Originator Email: -unavailable-Open/Closed: Open

Fri 02 May 2014 07:45:18 AM UTC, comment #1:

It would probably help for debugging if you posted the .hex file used and the exact avrdude commandline that the Arduino IDE calls (enable verbose uploads for that).

Matthijs Kooijman <matthijs>
Fri 21 Mar 2014 08:37:18 PM UTC, original submission:

If using the buspirate support on avrdude 6.1 (and 5.5 also tested), the flash gets corrupted the second time it is used with arduino IDE (the first time always ends with success).

The only workaround is to use avrdude with the "-e" switch (or without "-D" to avoid automatic flash erasure). The MCU is then correctly flashed every time, but the RESET support is gone. This is the expected behaviour, since erasing the flash also erases the bootloader and the RESET support.

The short error message shown is something like this:

Attempting to initiate BusPirate binary mode...
avrdude: verification error, first mismatch at byte 0x010a
0x68 != 0x6a
avrdude: verification error; content mismatch

I compiled avrdude 6.1 from scratch in a GNU/Linux machine and copied the configuration file and the executable to the tools dir of the Arduino IDE with identical results.

Maybe this is the expected behaviour. If so, I apologize, I'm a beginner and maybe I misunderstood something about this tool.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by matthijs (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup