diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-02 06:18:42 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-05-02 06:18:42 +0000 |
commit | 5c0c0327d56cfe682913ad04eb4df5c6286d3661 (patch) | |
tree | 8c78b1f0e697e57f60de2992715aa667e4073370 /Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h | |
parent | a5e79333e5769f92558bf20458c165e2582a0cb6 (diff) | |
download | lufa-5c0c0327d56cfe682913ad04eb4df5c6286d3661.tar.gz lufa-5c0c0327d56cfe682913ad04eb4df5c6286d3661.tar.bz2 lufa-5c0c0327d56cfe682913ad04eb4df5c6286d3661.zip |
Increase hardware PDI/TPI programming speed to 1MHz in the AVRISP MKII clone project.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h')
-rw-r--r-- | Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h index 7166c1023..e0400e2cc 100644 --- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h +++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.h @@ -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
|