patchAVR Downloader/UploaDEr - Patches: patch #7321, usbasp: filter usb serial number

 
 

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

patch #7321: usbasp: filter usb serial number

Submitter:  Alexander Neumann <fd0>
Submitted:  Mon 20 Sep 2010 08:30:42 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Need Info Privacy:  Public
Assigned to:  joerg_wunsch Open/Closed:  Open

Wed 17 Jan 2018 10:43:41 PM UTC, comment #2: 

Unfortunately, Thomas never handled it, so I'll take it over
now.

Meanwhile, AVRDUDE has replaced all fprintf(stderr, ... by
avrdude_message(MSG_<severity>, ...), so the patch no longer
applies. Are you interested in filing an update patch?

Regarding a partial serial number match, I suggest to match
the trailing digits rather than the initial substring: usual
serial numbers commonly have a similar initial part but differ
only in the last digits.  That's how the other programmers
do it which implement a serial number match.

Joerg Wunsch <joerg_wunsch>
Group administrator
Thu 25 Aug 2011 08:32:10 AM UTC, comment #1: 

Hey Thomas,

Thanks for taking over, what is the state of this patch?

Cheers,
 - Alex

Alexander Neumann <fd0>
Mon 20 Sep 2010 08:30:42 PM UTC, original submission:  

Recently I tried using several usbasp compatible programmers (running my
reimplemantation of the usbasp protocol(http://github.com/fd0/kahuna)) at the same time, unfortunately
it is impossible to tell avrdude which one to use (it will just the first it
discovers, and I ended up using a usbasp programmer and my old avrisp2. brr).

So I added a unique usb serial number to all of my programmer devices and
patched avrdude so that if the port (-P) is given in the format usb:serialno
(like in the stk500v2 module), only devices with (prefix-) matching serial
numbers are considered.

Alexander Neumann <fd0>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by fischl (Updated the item)
  • -email is unavailable- added by fd0 (Submitted the item)
  •  

    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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-17 joerg_wunsch StatusNone Need Info
        Assigned tofischl joerg_wunsch
    2011-01-19 fischl Assigned toNone fischl
    2010-09-20 fd0 Attached File- Added 0001-match-serial-number-for-usbasp-compatible-programmer.patch, #21511
        Attached File- Added 0002-prefix-matching-for-usb-serial-numbers-for-usbasp.patch, #21512

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code