bugAVR Downloader/UploaDEr - Bugs: bug #50338, avrdude 6.3 fails to set...

 
 

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

bug #50338: avrdude 6.3 fails to set configuration when opening usb device

Submitted by:  None
Submitted on:  Fri 17 Feb 2017 03:58:37 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Michael Platzer
Originator Email: -unavailable-Open/Closed: Open
Release: 6.3Programmer hardware: ATMEL ICE
Device type: ATXMEGA32A4U

Fri 17 Feb 2017 04:59:29 PM UTC, comment #1:

This is a known issue. Fixed in current code base, by using an
entirely different approach towards those "HID" devices.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Fri 17 Feb 2017 03:58:37 PM UTC, original submission:

avrdude 6.3 reports following error when using a ATMEL ICE programmer:

[michael@tower ~]$ sudo avrdude -p x32a4u -c atmelice
[sudo] password for michael:
avrdude: usbdev_open(): WARNING: failed to set configuration 1: Device or resource busy

avrdude: jtag3_initialize(): part ATxmega32A4U has no JTAG interface
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: bad response to AVR sign-off command: 0xa0

avrdude done. Thank you.

The dmesg output reveals a conflict with the usbhid driver:

[ 957.783850] usb 2-1.4: new high-speed USB device number 4 using xhci_hcd
[ 957.920103] hid-generic 0003:03EB:2141.0006: hiddev0,hidraw3: USB HID v1.11 Device [Atmel Corp. Atmel-ICE CMSIS-DAP] on usb-0000:02:00.0-1.4/input0
[ 962.850262] usb 2-1.4: usbfs: interface 0 claimed by usbhid while 'avrdude' sets config #1
[ 962.954189] usb 2-1.4: reset high-speed USB device number 4 using xhci_hcd

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 joerg_wunsch (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 17 Feb 2017 04:59:29 PM UTCjoerg_wunschStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1