|
From: | Georg von Zengen |
Subject: | [avrdude-dev] [bug #41857] avr109 atmega2564rfr2 erase timeout to short |
Date: | Thu, 13 Mar 2014 21:10:31 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.123 Safari/537.36 |
Follow-up Comment #2, bug #41857 (project avrdude): setting the timeout for the programmer will also increase the time for fault detection for all AVRs. The patch I attached implements a fourth idea. For the butterfly chip erase function it takes the number of flash pages and multiplies it with 10. If this is higher the the default timeout it is applied. For a chip with 1024 pages like the 2564rfr2 that means ~10s timeout. I think a multiplier of 10 is a good value because it corresponds with my observations and the 7.3ms - 8.9ms per page erase mentioned in the datasheet. (file #30888) _______________________________________________________ Additional Item Attachment: File name: timeout.patch Size:0 KB _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?41857> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |