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

 
 

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

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

Submitter:  Martin Panter <vadmium>
Submitted:  Tue 14 Feb 2012 01:36:51 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Ready For Test Privacy:  Public
Assigned to:  rliebscher Open/Closed:  Closed

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

Integrated in svn revision 1136

Rene Liebscher <rliebscher>
Group Member
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>

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-03 rliebscher Open/ClosedOpen Closed
    2013-01-30 rliebscher StatusNone Ready For Test
        Assigned toNone rliebscher
    2012-02-14 vadmium Attached 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.13-758e.
    Corresponding source code