aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm_adi_v5.h
diff options
context:
space:
mode:
authorEdward Fewell <efewell@ti.com>2020-03-06 14:39:14 -0600
committerTomas Vanek <vanekt@fbl.cz>2020-03-14 19:16:42 +0000
commita34c336cbf7dbe3540cbce59a9b10e81c28fa32a (patch)
tree3d8c4507260a405209a8049d942d30037038117e /src/target/arm_adi_v5.h
parentb5d2b1224fed3909aa3314339611ac5ac7ab0f82 (diff)
drivers: xds110: Fix errors in routine that toggles
TCK during nSRST assert/deassert code. To support LPRF targets (CC13xx/CC26xx), TCK must be toggled for 50 ms while nSRST is asserted and right after it is released. This allows the core to halt in boot ROM before code is run that might interfere with debug access. The current routine has two issues. It shouldn't be run at all if the target is using SWD. And the delay needs to be a real-time 50 ms, so the number of TCK periods should be calculated off the set speed. Change-Id: If993031b84cf2a505ea67a6633602c4b01cd8e1e Signed-off-by: Edward Fewell <efewell@ti.com> Reviewed-on: http://openocd.zylin.com/5497 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/target/arm_adi_v5.h')
0 files changed, 0 insertions, 0 deletions