Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lufa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
52c69331
Commit
52c69331
authored
Nov 21, 2013
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Reduce PDI/TPI reset hold period from 1ms to 100us, as the former caused sporadic session issues.
parent
52a50165
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
LUFA/DoxygenPages/ChangeLog.txt
+1
-1
1 addition, 1 deletion
LUFA/DoxygenPages/ChangeLog.txt
Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c
+2
-2
2 additions, 2 deletions
Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c
with
3 additions
and
3 deletions
LUFA/DoxygenPages/ChangeLog.txt
+
1
−
1
View file @
52c69331
...
...
@@ -16,7 +16,7 @@
* - Library Applications:
* - Refactored out USB interface IDs in the demo applications into enums (thanks to Laszlo Monda)
* - AVRISP-MKII Clone Project PDI/TPI frequency increased from 250KHz to 2MHz as it is now stable
* - Increased TPI/PDI handshake delay to 1
m
s from 1us to support targets with high amounts of capacitance on their
* - Increased TPI/PDI handshake delay to 1
00u
s from 1us to support targets with high amounts of capacitance on their
* /RESET lines (thanks to Paul Duke)
*
* <b>Fixed:</b>
...
...
This diff is collapsed.
Click to expand it.
Projects/AVRISP-MKII/Lib/XPROG/XPROGTarget.c
+
2
−
2
View file @
52c69331
...
...
@@ -52,7 +52,7 @@ void XPROGTarget_EnableTargetPDI(void)
/* Set DATA line high for at least 90ns to disable /RESET functionality */
PORTD
|=
(
1
<<
3
);
_delay_
m
s
(
1
);
_delay_
u
s
(
1
00
);
/* Set up the synchronous USART for XMEGA communications - 8 data bits, even parity, 2 stop bits */
UBRR1
=
((
F_CPU
/
2
/
XPROG_HARDWARE_SPEED
)
-
1
);
...
...
@@ -72,7 +72,7 @@ void XPROGTarget_EnableTargetTPI(void)
/* Set /RESET line low for at least 400ns to enable TPI functionality */
AUX_LINE_DDR
|=
AUX_LINE_MASK
;
AUX_LINE_PORT
&=
~
AUX_LINE_MASK
;
_delay_
m
s
(
1
);
_delay_
u
s
(
1
00
);
/* Set Tx and XCK as outputs, Rx as input */
DDRD
|=
(
1
<<
5
)
|
(
1
<<
3
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment