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:  None Priority:  5 - Normal
Status:  Need Info Privacy:  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
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>
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?

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>

 

 

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)
  •  

    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.

     

    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 UTC joerg_wunsch StatusNone => Need Info
        Assigned tofischl => joerg_wunsch
    Wed 19 Jan 2011 04:05:27 PM UTC fischl Assigned toNone => fischl
    Mon 20 Sep 2010 08:30:42 PM UTC 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.3