Lower timeout periods in the AVRISP project. Increment firmware minor revision number in the AVRISP project so that it remains comatible with the latest AVRStudio without an upgrade warning.

This commit is contained in:
Dean Camera 2009-12-23 14:42:50 +00:00
parent bd5e8f07b7
commit 69802635ed
8 changed files with 34 additions and 142 deletions

View file

@ -68,9 +68,11 @@
#define BITBANG_PDICLOCK_MASK RESET_LINE_MASK
#endif
/** Total number of bits in a single USART frame */
#define BITS_IN_PDI_FRAME 12
#define PDI_NVM_TIMEOUT_MS 200
/** Timeout in milliseconds of a PDI busy-wait command */
#define PDI_NVM_TIMEOUT_MS 100
#define PDI_CMD_LDS 0x00
#define PDI_CMD_LD 0x20