patchAVR Downloader/UploaDEr - Patches: patch #6199, Configurable USB VID, PID,...

 
 

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

patch #6199: Configurable USB VID, PID, manufacturer string and product string via avrdude.conf

Submitter:  None
Submitted:  Thu 13 Sep 2007 10:36:23 PM UTC
   
 
Category:  None Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  joerg_wunsch Originator Email:  -email is unavailable-
Open/Closed:  Closed

Thu 25 Aug 2011 04:17:11 PM UTC, comment #2: 

Committed as part of patch #7486.

Joerg Wunsch <joerg_wunsch>
Group administrator
Wed 18 Feb 2009 08:24:52 PM UTC, comment #1: 

Lowering the priority a little.  I see the value of it, but
would like to see it applied to any programmer backend that
can run over USB.  Currently don't have the time to handle
that though.

Joerg Wunsch <joerg_wunsch>
Group administrator
Thu 13 Sep 2007 10:36:23 PM UTC, original submission:  

Hello avrdude developers,

this entry adds configurable USB VID/PID support for any USB programmer device for avrdude. Currently I made the usbasp module only make use of this configuration option.


History and background information for this change/addon:
Till Harbaum created the so named xu1541 device, an AVR based controller to connect the Commodore IEC serial bus to USB. Later he added Thomas Fischl's AVRUSBBoot, so that the basic firmware can easily be updated.
That development became a subproject of OpenCBM, a more generic framework to connect computers to the IEC bus. Spiro Trikaliotis, its head developer, made some interesting improvements to this project in the past months.
He converted Fischl's bootloader into some sort of µC USB BIOS which allows all the USB functionality be reused by the core firmware. Thus, bootloader as well as firmware do use the same software USB stack and both, firmware as well as bootloader can be updated in system.
Based on that work I took Thomas Fischl's USBasp and ``ported´´ that one to the xu1541 hardware and Spiro's BIOS.

Since the xu1541 BIOS comes with its own USB VID/PID pair and manufacturer/product strings, I had to add special support to avrdude. After hacking around a bit (selecting VID/PID upon the ``id´´ string) I decided for a crystal clean implementation and added the configurable VID/PID support.

I decided against implementing configurable Version-ID (number as well as string) support, because this would mean to also implement some sort of range setting, when a decent avrdude.conf setting should match. At least I don't see any use of this currently.


Note: I will follow possible discussions of this entry via the mailing list archives, but if you need my attention, please put me into the CC.


I would be glad to see my patch added to the next avrdude version, thanks in advance,


Wolfgang Moser

Anonymous

 

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

Attached Files
file #13937:  avrdude_usbVidPid_support.diff added by None (7KiB - application/octet-stream)

 

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 None (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
    2011-08-25 joerg_wunsch StatusNone Done
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2009-02-18 joerg_wunsch Priority6 3 - Low
    2007-09-13 None Attached File- Added avrdude_usbVidPid_support.diff, #13937

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code