avrdude-dev
[Top][All Lists]
Advanced

[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 09:15:41 -0400
User-agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.17-smp i686)

=================== BUG #5713: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=5713&group_id=3904

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!



No Followups Have Been Posted


CC list is empty


No files currently attached


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/





reply via email to

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