URL:
  <http://savannah.nongnu.org/patch/?9122>

                 Summary: Fixed MISO sampling in ftdi_syncbb
                 Project: AVR Downloader/UploaDEr
            Submitted by: ifred
            Submitted on: Mon 19 Sep 2016 09:30:40 PM MSK
                Category: None
                Priority: 7 - High
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 19 Sep 2016 09:30:40 PM MSK  Name: miso_sampling.patch  Size: 1kB  
By: ifred
Apply to avrdude-6.3 with 'patch -p 1'.
<http://savannah.nongnu.org/patch/download.php?file_id=38554>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9122>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to