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

 
 

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

patch #6824: driver for Digilent's USB programmer

Submitter:  Dirk Robinson <dirkrob>
Submitted:  Thu 07 May 2009 06:35:28 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/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>
Group 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>

 

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

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

 

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

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-05-07 dirkrob Attached File- Added usbdigilent.patch, #18115

    Back to the top

    Powered by Savane 3.14-3b9d.
    Corresponding source code