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: NonePriority: 7 - High
Status: NonePrivacy: Public
Assigned to: NoneOpen/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
  • -unavailable- added by ifred (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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Sep 2016 06:30:40 PM UTCifredAttached File-=>Added miso_sampling.patch, #38554

    Back to the top

    Powered by Savane 3.1-cleanup1