[patch #9963] UsbAsp 3 MHz patch for UsbAsp-flash firmware

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch #9963] UsbAsp 3 MHz patch for UsbAsp-flash firmware

Kevin Cuzner-2
URL:
  <https://savannah.nongnu.org/patch/?9963>

                 Summary: UsbAsp 3 MHz patch for UsbAsp-flash firmware
                 Project: AVR Downloader/UploaDEr
            Submitted by: mamuttme
            Submitted on: Sat 01 Aug 2020 09:06:42 AM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I have patched the usbasp support for use of 3 MHz SCK as in the UsbAsp-flash
firmware:
https://github.com/nofeletru/UsbAsp-flash
(I am not the author of this firmware, however I have tested it and find it
useful).

My patch tests the capabilities of the firmware using the
USBASP_FUNC_GETCAPABILITIES request, so there should be no influence on the
devices which do not support 3 MHz. I have looked into the firmware's code,
and it would be theoretically possible to increase the SCK speed up to 6 MHz,
but this would be only reasonable when the target's F_CPU would be >18 MHz,
which I think is rare.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 01 Aug 2020 09:06:42 AM UTC  Name: usbasp_sck_3mhz.patch  Size: 3KiB
  By: mamuttme

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

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9963>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


Reply | Threaded
Open this post in threaded view
|

[patch #9963] UsbAsp 3 MHz patch for UsbAsp-flash firmware

Kevin Cuzner-2
Update of patch #9963 (project avrdude):

                  Status:                    None => Done                  
             Assigned to:                    None => joerg_wunsch          
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #1:

Applied in r1446 (with some minor stylistic modifications), thanks!

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9963>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/