You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix two problems with SWD turnaround:
* When going from output to input, add a missing delay loop, so the
clock low period is consistent. This prevents problems with a missed
clock edge when the clock speed is intentionally slowed to accommodate
lower bandwidth connections to the target.
* Always set the clock low at the end of a turnaround. Otherwise, when
floating the clock after a read transaction, the most recent clock state
was driven high. If there's a pull down on the clock, a subsequent clock
reactivation would drive the clock high, producing an extra rising clock
edge. This sometimes causes (recoverable) protocol error states when
re-attaching after a detach.
Co-Authored-By: Stanislav Sotnikov <stanislav.sotnikov145@gmail.com>
0 commit comments