bugAVR Downloader/UploaDEr - Bugs: bug #44539, Avoid USB reconnect when running...

 
 

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

bug #44539: Avoid USB reconnect when running in VM

Submitted by:  None
Submitted on:  Sat 14 Mar 2015 01:51:51 PM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Michael Lipp
Originator Email:  -email is unavailable- Open/Closed:  Open
Release:  None Programmer hardware: 
Device type: 

Sat 14 Mar 2015 01:51:51 PM UTC, original submission:

This is rather an enhancement request than a bug report.

When executing a sign off command, jtagmkII and dragion do a hard reset by default. This also implies re-discovery of the usb device. While this isn't a big problem when attaching those devices to your computer directly, it becomes a big problem when using avrdude in a Virtual Machine.

There, on every sign-off, the hosts detects the removal of a USB device, signals it to the guest, then detects a new USB device, and signals it to the guest. This can take up to 5 seconds.

Both devices offer the possibility to modifiy the behaviour of sign-off to a "soft reset", thus avoiding that lengthy cycle. The appended patch forces this by passing "-x soft-reset" on the command line.

Anonymous

 

Attached Files
file #33340:  avrdude-soft-reset.patch added by None (2KiB - text/x-patch - The patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-14 None Attached File- => Added avrdude-soft-reset.patch, #33340

    Back to the top


    Powered by Savane 3.3