forked from mfulz_github/qmk_firmware
Increase hardware PDI/TPI programming speed to 1MHz in the AVRISP MKII clone project.
This commit is contained in:
parent
a5e79333e5
commit
5c0c0327d5
|
@ -43,6 +43,7 @@ uint32_t CurrentAddress;
|
|||
bool MustSetAddress;
|
||||
|
||||
|
||||
/** ISR to manage timeouts whilst processing a V2Protocol command */
|
||||
ISR(TIMER0_COMPA_vect, ISR_NOBLOCK)
|
||||
{
|
||||
if (TimeoutMSRemaining)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -66,7 +66,7 @@ MCU = at90usb1287
|
|||
# Target board (see library "Board Types" documentation, NONE for projects not requiring
|
||||
# LUFA board drivers). If USER is selected, put custom board drivers in a directory called
|
||||
# "Board" inside the application directory.
|
||||
BOARD = XPLAIN
|
||||
BOARD = USBKEY
|
||||
|
||||
|
||||
# Processor frequency.
|
||||
|
|
Loading…
Reference in New Issue