avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #6824] driver for Digilent's USB programmer


From: Dirk Robinson
Subject: [avrdude-dev] [patch #6824] driver for Digilent's USB programmer
Date: Thu, 07 May 2009 18:35:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.9) Gecko/2009042113 Ubuntu/9.04 (jaunty) Firefox/3.0.9

URL:
  <http://savannah.nongnu.org/patch/?6824>

                 Summary: driver for Digilent's USB programmer
                 Project: AVR Downloader/UploaDEr
            Submitted by: dirkrob
            Submitted on: Thu 07 May 2009 06:35:28 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I wrote a driver for Digilent's USB JTAG/ISP programming cable, and would
appreciate your considering it for inclusion in avrdude. This driver handles
two versions of the programmer. It is based on the code for the usbtiny, and I
found the usb packet format by using the kernel logging module "usbmon". I
have tested writing/reading to flash and eeprom for the mega64 and mega168 and
it seems OK.

The patch also includes changes to the documentation. Feel free to edit if
you like.

I needed to make a slight change in avr.c. For this programmer, the paged
write command only works with paged memories, because it can't add delay
between individual writes. So, I'd like to fall back to the default avr_write
function for non-paged memories. In order to make this work, the counter "i"
in avr_write needs to be changed from "unsigned long" to "long". I think that
matches the original intent of the code:)

The patch is relative to svn trunk rev. 819

thanks
Dirk



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 07 May 2009 06:35:28 PM GMT  Name: usbdigilent.patch  Size: 29kB  
By: dirkrob

<http://savannah.nongnu.org/patch/download.php?file_id=18115>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6824>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]