avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #38831] [PATCH] Fix avrftdi onchip-buffer overrun


From: Hermann Kraus
Subject: [avrdude-dev] [bug #38831] [PATCH] Fix avrftdi onchip-buffer overrun
Date: Fri, 26 Apr 2013 01:03:21 +0000
User-agent: Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.10

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/




reply via email to

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