patchAVR Downloader/UploaDEr - Patches: patch #6824, driver for Digilent's USB...

 
 

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

patch #6824: driver for Digilent's USB programmer

Submitted by:  Dirk Robinson <dirkrob>
Submitted on:  Thu 07 May 2009 06:35:28 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Tue 12 Jan 2010 02:55:58 PM UTC, comment #1:

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


I wonder why this never gave a warning like ``condition is
always true due to...''. ;-)

Joerg Wunsch <joerg_wunsch>
Project Administrator
Thu 07 May 2009 06:35:28 PM UTC, original submission:

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

Dirk Robinson <dirkrob>

 

Attached Files
file #18115:  usbdigilent.patch added by dirkrob (29kB - text/x-patch)

 

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 dirkrob (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 07 May 2009 06:35:28 PM UTCdirkrobAttached File-=>Added usbdigilent.patch, #18115

    Back to the top


    Powered by Savane 3.1-cleanup