URL:
  <http://savannah.nongnu.org/bugs/?38831>

                 Summary: [PATCH] Fix avrftdi onchip-buffer overrun
                 Project: AVR Downloader/UploaDEr
            Submitted by: herm
            Submitted on: Fri 26 Apr 2013 01:03:20 AM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Herm
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The FT2232 only has a 384 byte fifo, but avrftdi tries to send arbitrarily
large packets. Reading flash memory with page_size > 380 (example: mega16 has
512) fails. 
The attached patch fixes this problem. It also makes sure the error code is
checked.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 26 Apr 2013 01:03:20 AM GMT  Name: fifo_overrun.patch  Size: 4kB  
By: herm

<http://savannah.nongnu.org/bugs/download.php?file_id=27942>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?38831>

_______________________________________________
  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