Increase hardware PDI/TPI programming speed to 1MHz in the AVRISP MKII clone project.

This commit is contained in:
Dean Camera 2010-05-02 06:18:42 +00:00
parent a5e79333e5
commit 5c0c0327d5
3 changed files with 4 additions and 3 deletions

View file

@ -58,7 +58,7 @@
/* Defines: */
#if ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
#define XPROG_VIA_HARDWARE_USART
#else
#else
#define BITBANG_PDIDATA_PORT PORTB
#define BITBANG_PDIDATA_DDR DDRB
#define BITBANG_PDIDATA_PIN PINB
@ -81,7 +81,7 @@
#endif
/** Serial carrier TPI/PDI speed when hardware TPI/PDI mode is used */
#define XPROG_HARDWARE_SPEED 500000
#define XPROG_HARDWARE_SPEED 1000000
/** Number of cycles between each clock when software USART mode is used */
#define BITS_BETWEEN_USART_CLOCKS 100