Remove missed timer 0 init code in the ISP protocol handler in the AVRISP project. Switch the XPROG protocol target communications handler over to using Timer 1 COMA/COMB ISRs for the two physical layers, rather than COMA/ICR1. Speed up bit-banged USART mode slightly.

This commit is contained in:
Dean Camera 2009-12-27 07:14:57 +00:00
parent 8cd7e118e9
commit 022035839e
5 changed files with 138 additions and 119 deletions

View file

@ -57,13 +57,13 @@
/* Macros: */
/** Programmer ID string, returned to the host during the CMD_SIGN_ON command processing */
#define PROGRAMMER_ID "AVRISP_MK2"
#define PROGRAMMER_ID "AVRISP_MK2"
/** Timeout period for each issued command from the host before it is aborted */
#define COMMAND_TIMEOUT_MS 200
#define COMMAND_TIMEOUT_MS 200
/** Command timeout counter register, GPIOR for speed */
#define TimeoutMSRemaining GPIOR1
#define TimeoutMSRemaining GPIOR0
/* External Variables: */
extern uint32_t CurrentAddress;