patchAVR Downloader/UploaDEr - Patches: patch #7723, Bus Pirate “raw-wire” mode...

 
 

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

patch #7723: Bus Pirate “raw-wire” mode which can run down to 5 kHz

Submitted by:  Martin Panter <vadmium>
Submitted on:  Tue 14 Feb 2012 01:36:51 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: Ready For TestPrivacy: Public
Assigned to: Rene Liebscher <rliebscher>Open/Closed: Closed

Wed 30 Jan 2013 06:00:09 PM UTC, comment #1:

Integrated in svn revision 1136

Rene Liebscher <rliebscher>
Project MemberIn charge of this item.
Tue 14 Feb 2012 01:36:51 AM UTC, original submission:

This is an updated version of the patch I posted at

https://lists.nongnu.org/archive/html/avrdude-dev/2012-01/msg00084.html

I made original the patch to allow me to program an AT Tiny 2313 after setting its fuse bits to use the slower (100 kHz?) oscillator. The normal Bus Pirate SPI mode only goes down to 30 kHz which isn’t quite slow enough, but my Bus Pirate has another mode which also seems to do SPI and can run at 5 kHz.

I originally added a parameter allowing the desired SPI frequency to be specified in kilohertz (kHz), and the best matching available frequency would be chosen. I now realise this was slightly flawed because different Bus Pirate firmware versions have different frequencies available, and according to Patch #7437 it’s too hard to check the firmware version. So instead I added a “rawfreq” parameter similar to the existing “spifreq” parameter.

I updated the documentation. I’m not really familiar with either the man page or Texinfo markups but my changes should be pretty reasonable. Also, I used a few C99 features that GCC allows in its default “gnu90” dialect; I’m not sure if this is a problem or not.

There is also an uncontroversial patch that should probably be applied first to clean up some wording and dead code.

Martin Panter <vadmium>

 

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rliebscher (Posted a comment)
  • -unavailable- added by vadmium (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):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 03 Sep 2013 08:00:16 PM UTCrliebscherOpen/ClosedOpen=>Closed
    Wed 30 Jan 2013 06:00:09 PM UTCrliebscherStatusNone=>Ready For Test
      Assigned toNone=>rliebscher
    Tue 14 Feb 2012 01:36:51 AM UTCvadmiumAttached File-=>Added 0002-Use-Bus-Pirate-raw-wire-mode-which-can-run-down-to-5.patch, #25060
      Attached File-=>Added 0001-Clean-up-documentation-and-dead-code-after-recent-ch.patch, #25061

    Back to the top


    Powered by Savane 3.1-cleanup