patchAVR Downloader/UploaDEr - Patches: patch #9122, Fixed MISO sampling in ftdi_syncbb

 
 

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

patch #9122: Fixed MISO sampling in ftdi_syncbb

Submitted by:  Ivan Frederiks <ifred>
Submitted on:  Mon 19 Sep 2016 06:30:40 PM UTC  
 
Category:  None Priority:  7 - High
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Mon 19 Sep 2016 06:30:40 PM UTC, original submission:

ATmega samples MOSI and shifts out MISO data on rising edge of SCK. Existing ftdi_syncbb implementation samples MISO data shortly after rising edge of SCK. This is incorrect, but might work for slow FTDI chip or ATmega with high speed external oscillator.

This patch implements correct MISO sampling, i.e. on falling edge of SCK.

Tested with ATmega88 (1MHz, internal RC) and FT232H.

Ivan Frederiks <ifred>

 

Attached Files
file #38554:  miso_sampling.patch added by ifred (1KiB - text/x-patch - Apply to avrdude-6.3 with 'patch -p 1'.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ifred (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can 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
    Mon 19 Sep 2016 06:30:40 PM UTC ifred Attached File- => Added miso_sampling.patch, #38554

    Back to the top


    Powered by Savane 3.3