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

Submitted by:  Alexander Neumann <fd0>
Submitted on:  Mon 20 Sep 2010 08:30:42 PM UTC  
Category: NonePriority: 5 - Normal
Status: Need InfoPrivacy: Public
Assigned to: Joerg Wunsch <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

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>
Project AdministratorIn charge of this item.
Thu 25 Aug 2011 08:32:10 AM UTC, comment #1:

Hey Thomas,

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

- 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( 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>



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 fischl (Updated the item)
  • -unavailable- added by fd0 (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):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 17 Jan 2018 10:43:41 PM UTCjoerg_wunschStatusNone=>Need Info
      Assigned tofischl=>joerg_wunsch
    Wed 19 Jan 2011 04:05:27 PM UTCfischlAssigned toNone=>fischl
    Mon 20 Sep 2010 08:30:42 PM UTCfd0Attached 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.1-cleanup1