From 4bb236e9a05c5bae7a3ae6ee5c17572fa6af7d61 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 28 Aug 2009 08:24:50 +0000 Subject: Increase AVRISP command timeout to 240ms up from 150ms to prevent some ISP commands from timing out too early. Add check to the PROGRAM FLASH ISP and PROGRAM EEPROM ISP handler to return an explicit error when the host attempts to write more data than the device is able to buffer. --- Projects/AVRISP/Lib/V2ProtocolTarget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects/AVRISP/Lib/V2ProtocolTarget.h') diff --git a/Projects/AVRISP/Lib/V2ProtocolTarget.h b/Projects/AVRISP/Lib/V2ProtocolTarget.h index 1e0364d9cc..6322b9f336 100644 --- a/Projects/AVRISP/Lib/V2ProtocolTarget.h +++ b/Projects/AVRISP/Lib/V2ProtocolTarget.h @@ -52,7 +52,7 @@ #define TOTAL_PROGRAMMING_SPEEDS 7 /** Timeout in milliseconds of target busy-wait loops waiting for a command to complete */ - #define TARGET_BUSY_TIMEOUT_MS 150 + #define TARGET_BUSY_TIMEOUT_MS 240 /* External Variables: */ extern uint32_t CurrentAddress; -- cgit v1.2.3