[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #5713] Memory corruption with STK500 and small memory
From: |
nobody |
Subject: |
[avrdude-dev] [bug #5713] Memory corruption with STK500 and small memory sizes. |
Date: |
Fri, 03 Oct 2003 11:06:50 -0400 |
User-agent: |
Mozilla/4.77 [en] (X11; U; Linux 2.4.17-smp i686) |
=================== BUG #5713: LATEST MODIFICATIONS ==================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=5713&group_id=3904
Changes by: Bill Somerville <address@hidden>
Date: Fri 10/03/2003 at 15:06 (GMT)
------------------ Additional Follow-up Comments ----------------------------
I cleaned up the changes, attached is a patch.
------------------ Additional Bug Attachment ----------------------------
File name: bug-5713.patch.bz2 Size:1 KB
Patch file.
http://savannah.nongnu.org/bugs/download.php?group_id=3904&bug_id=5713&bug_file_id=699
=================== BUG #5713: FULL BUG SNAPSHOT ===================
Submitted by: bsomervi Project: AVR Downloader/UploaDEr
Submitted on: Fri 10/03/2003 at 13:15
Category: None Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None Status: Open
Summary: Memory corruption with STK500 and small memory sizes.
Original Submission: The stk500.c fn's use paged mode on small memory devices
e.g. eeprom on smaller devices. This causes memory corruption as paged read
reads 256/128 bytes in mem->buf which could be as small as 64 bytes.
This can be fixed by reducing the page size to the actual size of the
read/write (stk500 handles internals itself).
I have a hack that proves this approach works without problems, unfortunately
not suitable for a patch as it's too messy!
Follow-up Comments
*******************
-------------------------------------------------------
Date: Fri 10/03/2003 at 15:06 By: bsomervi
I cleaned up the changes, attached is a patch.
CC list is empty
File Attachments
****************
-------------------------------------------------------
Date: Fri 10/03/2003 at 15:06 Name: bug-5713.patch.bz2 Size: 1KB By:
bsomervi
Patch file.
http://savannah.nongnu.org/bugs/download.php?group_id=3904&bug_id=5713&bug_file_id=699
For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=5713&group_id=3904
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/