aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-02-21 05:44:12 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-02-21 05:44:12 +0000
commit12a01ed72d0d6dbf243160302314870e7b29cc07 (patch)
tree61ecacb633b218c44f4b8b7d3ec963fefaafc6ba /Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
parent10b9394a8b6c9ced4e6df7687a3d5424de01157a (diff)
downloadlufa-12a01ed72d0d6dbf243160302314870e7b29cc07.tar.gz
lufa-12a01ed72d0d6dbf243160302314870e7b29cc07.tar.bz2
lufa-12a01ed72d0d6dbf243160302314870e7b29cc07.zip
Increased the speed of both software and hardware TPI/PDI programming modes of the AVRISP project.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c')
-rw-r--r--Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
index a6a57670b..805eaa31f 100644
--- a/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
+++ b/Projects/AVRISP-MKII/Lib/XPROG/XPROGProtocol.c
@@ -124,9 +124,9 @@ static void XPROGProtocol_EnterXPROGMode(void)
XPROGTarget_SendByte(PDI_CMD_STCS | PDI_RESET_REG);
XPROGTarget_SendByte(PDI_RESET_KEY);
- /* Lower direction change guard time to 8 USART bits */
+ /* Lower direction change guard time to 0 USART bits */
XPROGTarget_SendByte(PDI_CMD_STCS | PDI_CTRL_REG);
- XPROGTarget_SendByte(0x04);
+ XPROGTarget_SendByte(0x07);
/* Enable access to the XPROG NVM bus by sending the documented NVM access key to the device */
XPROGTarget_SendByte(PDI_CMD_KEY);
@@ -141,9 +141,9 @@ static void XPROGProtocol_EnterXPROGMode(void)
/* Enable TPI programming mode with the attached target */
XPROGTarget_EnableTargetTPI();
- /* Lower direction change guard time to 8 USART bits */
+ /* Lower direction change guard time to 0 USART bits */
XPROGTarget_SendByte(TPI_CMD_SSTCS | TPI_CTRL_REG);
- XPROGTarget_SendByte(0x04);
+ XPROGTarget_SendByte(0x07);
/* Enable access to the XPROG NVM bus by sending the documented NVM access key to the device */
XPROGTarget_SendByte(TPI_CMD_SKEY);