projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lower timeout periods in the AVRISP project. Increment firmware minor revision number...
[pub/USBasp.git]
/
Projects
/
AVRISP
/
Lib
/
TPITarget.h
diff --git
a/Projects/AVRISP/Lib/TPITarget.h
b/Projects/AVRISP/Lib/TPITarget.h
index
e11e075
..
596bdce
100644
(file)
--- a/
Projects/AVRISP/Lib/TPITarget.h
+++ b/
Projects/AVRISP/Lib/TPITarget.h
@@
-64,9
+64,11
@@
#define BITBANG_TPICLOCK_PIN PINB
\r
#define BITBANG_TPICLOCK_MASK (1 << 1)
\r
\r
#define BITBANG_TPICLOCK_PIN PINB
\r
#define BITBANG_TPICLOCK_MASK (1 << 1)
\r
\r
+ /** Total number of bits in a single USART frame */
\r
#define BITS_IN_TPI_FRAME 12
\r
\r
#define BITS_IN_TPI_FRAME 12
\r
\r
- #define TPI_NVM_TIMEOUT_MS 200
\r
+ /** Timeout in milliseconds of a PDI busy-wait command */
\r
+ #define TPI_NVM_TIMEOUT_MS 100
\r
\r
#define TPI_CMD_SLD 0x20
\r
#define TPI_CMD_SST 0x60
\r
\r
#define TPI_CMD_SLD 0x20
\r
#define TPI_CMD_SST 0x60
\r