avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #9122] Fixed MISO sampling in ftdi_syncbb


From: Ivan Frederiks
Subject: [avrdude-dev] [patch #9122] Fixed MISO sampling in ftdi_syncbb
Date: Mon, 19 Sep 2016 18:30:42 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]