From 7e74bd3ea2f8de6c6a78fc8e2527c806b2dd8476 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 23 Aug 2009 10:17:13 +0000 Subject: Moved out target-related V2 protocol commands into a seperate file for the AVRISP project. Added Load Extended Command functionality to the LOAD ADDRESS V2 Protocol command handler for devices with more than 64KB of memory. --- Projects/Incomplete/AVRISP/Lib/V2Protocol.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Projects/Incomplete/AVRISP/Lib/V2Protocol.h') diff --git a/Projects/Incomplete/AVRISP/Lib/V2Protocol.h b/Projects/Incomplete/AVRISP/Lib/V2Protocol.h index 116df8d89..4b60b5610 100644 --- a/Projects/Incomplete/AVRISP/Lib/V2Protocol.h +++ b/Projects/Incomplete/AVRISP/Lib/V2Protocol.h @@ -37,29 +37,20 @@ #define _V2_PROTOCOL_ /* Includes: */ - #include - #include - #include - #include #include "../Descriptors.h" #include "V2ProtocolConstants.h" #include "V2ProtocolParams.h" + #include "V2ProtocolTarget.h" /* Macros: */ #define PROGRAMMER_ID "AVRISP_MK2" - #define TARGET_BUST_TIMEOUT_MS 100 /* Function Prototypes: */ void V2Protocol_ProcessCommand(void); #if defined(INCLUDE_FROM_V2PROTOCOL_C) - static uint8_t V2Protocol_GetSPIPrescalerMask(void); - static void V2Protocol_ChangeTargetResetLine(bool ResetTarget); - static void V2Protocol_DelayMS(uint8_t MS); - static uint8_t V2Protocol_WaitWhileTargetBusy(void); - static void V2Protocol_Command_Unknown(uint8_t V2Command); static void V2Protocol_Command_SignOn(void); static void V2Protocol_Command_GetSetParam(uint8_t V2Command); -- cgit v1.2.3