FS#47254 - [avrdude] Uploading files to Arduino Mega fails

Attached to Project: Community Packages
Opened by John (PTBM133A4X) - Thursday, 03 December 2015, 23:27 GMT
Last edited by Anatol Pomozov (anatolik) - Friday, 25 March 2016, 03:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Anatol Pomozov (anatolik)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: With avrdude-6.2.1 I cannot upload files to the Arduino (no TX/Rx LEDs) but if I rollback to 6.1.1 it works fine.


Additional info:
* package version(s) avrdude-6.2.1 x86_64
* config and/or log files etc.


Steps to reproduce: Load arduino software, browse "File menu" for "Examples" -> "Basic". Try to upload any of these files to the Arduino and it fails with trap errors in dmesg as attached.
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Friday, 25 March 2016, 03:10 GMT
Reason for closing:  Fixed
Comment by Anatol Pomozov (anatolik) - Friday, 04 December 2015, 00:21 GMT
Do you see anything in console. Is it the same bug?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805642
http://savannah.nongnu.org/bugs/?46483

If not please send your question upstream maillist.
Comment by Eric Waller (ewaller) - Saturday, 05 December 2015, 17:48 GMT
I cannot determine if this is the same error, but I encounter the same thing with 6.2 whereas 6.1 works.
This dmesg entry seems to indicate a divide by zero:

[43671.166094] traps: avrdude[11195] trap divide error ip:442b32 sp:7ffc14e66a60 error:0 in avrdude[400000+6a000]
Comment by John (PTBM133A4X) - Saturday, 05 December 2015, 20:15 GMT
@Anatol I think the bugs you refer to are the same. Thank you for your time.
Comment by Ioannis Koukis (kojo) - Sunday, 06 December 2015, 20:52 GMT
Kindly note that after the upgrade of avrdude to version 6.2 I cannot upload anything to Arduino Uno and Mega.
The error in dmesg is the same like the ones above:

avrdude[22189] trap divide error ip:442b32 sp:7ffd7b8749e0 error:0 in avrdude[400000+6a000]
Downgrading avrdude to 6.1 works ok.
Comment by Jelle van der Waa (jelly) - Monday, 07 December 2015, 15:53 GMT
I can reproduce this issue and it's caused by the mentioned ticket http://savannah.nongnu.org/bugs/?46483#discussion
Comment by Anatol Pomozov (anatolik) - Wednesday, 09 December 2015, 21:10 GMT
Still no any feedback from upstream. I am going to revert it back to 6.1. It will be in [testing] soon.
Comment by Anatol Pomozov (anatolik) - Wednesday, 09 December 2015, 21:12 GMT
Please put pressure to upstream to fix this bugs and release working version of avrdude.
Comment by Anatol Pomozov (anatolik) - Sunday, 21 February 2016, 21:37 GMT
I want to bring your attention that avrdude-6.3 just hit [testing]. That release suppose to fix the problem above. Please give it a shot and let us know if 6.3 works for you.
Comment by Anatol Pomozov (anatolik) - Friday, 25 March 2016, 03:10 GMT
There are no complains with 6.3. Assume it is fixed.

Loading...