AVR Downloader/UploaDEr - Bugs: bug #41928, Avrdude fails to burn flash of...
You are not allowed to post comments on this tracker with your current authentication level.
bug #41928: Avrdude fails to burn flash of Atmega328p using buspirate with Arduino IDE
Submitter: | None | ||
Submitted: | Fri 21 Mar 2014 08:37:18 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | None |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | Roberto Aragón |
Originator Email: | -email is unavailable- | Open/Closed: | Open |
Release: | None | Programmer hardware: | |
Device type: |
Tue 14 Oct 2014 06:57:00 PM UTC, comment #2: |
Matthijs Kooijman <matthijs> |
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).
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Powered by Savane 3.13-758e.
Corresponding source code
How did you add support for the buspirate to the Arduino IDE? I don't think it's supported out of the box. In Arduino version 1.5.x, the -D option is not passed by default to external programmers defined in `programmers.txt`, so it's likely that this is a problem in the way you added support for the buspirate to the IDE (or perhaps a problem in the IDE, if you use version 1.0.x, which hardcodes more paths and options IIRC).
In any case, I think that running avrdude with -D and without -e is intended to not do an erase, meaning you can only change bits from 1 to 0, not vice versa. If you're trying to flash in a new program, this is expected to break...