15 Commits

Author SHA1 Message Date
Jason Kotzin
9b145c8398 compatibility to upstream 2022-08-10 17:27:05 -07:00
Jason Kotzin
8a37449f8a Merge commit 'e34a27f72c9689850e97df74c499538d7f18518d' into sam-update
# Conflicts:
#	src/include/swdptap.h
#	src/platforms/common/swdptap.c
2022-08-10 15:57:29 -07:00
Jason Kotzin
a29d53cb31 Merge commit '600bc9f0294f07a5572511c98041710d80d95769' into sam-update 2022-08-01 20:18:03 -07:00
Jason Kotzin
fce7dd2957 Merge commit '7f947d724c552f896d5394f3ebbf6b47de9eb5a6' into sam-update 2022-08-01 20:04:01 -07:00
Jason Kotzin
1612eacab2 Merge commit '5548d54626a658b65f1f963cd5af54ddaf93fbf7' into sam-update
# Conflicts:
#	src/platforms/common/swdptap.c
2022-08-01 19:56:08 -07:00
Jason Kotzin
f1f59d3c1d Merge commit '7e3fe352ad4aed89522d808d76dbe868a470412e' into sam-update
# Conflicts:
#	src/platforms/common/swdptap.c
2022-08-01 19:54:44 -07:00
Jason Kotzin
a82ab6a45d Merge commit '80f003ff4b6edc9d0d2b98b4ca65d610d86efc74' into sam-update 2022-08-01 19:01:18 -07:00
Uwe Bonnes
e34a27f72c Detour swd primitives. 2020-06-05 14:59:30 +02:00
Richard Meadows
600bc9f029 Generate DEBUG warnings and return if malloc/calloc fail.
This is will make debugging earier if this does happen, rather than
dereferencing the null pointer (or passing it to memcpy, or worse).

blackmagic PR #475
2019-05-26 18:56:12 +02:00
Uwe Bonnes
f5cf6d4497 adiv5_swdp: Add extra idle cycles with write transactions.
These extra cycles are needed by some CPU, e.g. STM32L0x1 to cross the SWCLK
/HCLK domains. Revert insufficient #373 also tackling that problem.

Thanks to Thorsten von Eicken for pointing out.
2018-09-06 17:29:20 +02:00
Jason Kotzin
d62d82bb2f M0 SWDIO 2x performance improvements 2018-07-10 16:18:05 -07:00
Uwe Bonnes
5548d54626 common/swdptap: some clean up.
Remove superfluous transaction.
Use native variable size.
2018-06-26 19:50:14 +02:00
Uwe Bonnes
7e3fe352ad adiv5_swdp.c: Use swdptap_seq_out for initialiation sequence. 2018-06-26 19:50:14 +02:00
Uwe Bonnes
df05d7ce7b libftdi: Allow device specific port/pin to read SWD bitbanged.
Gracefully abort swd scan if devices can not do SWD.
Best effort to indicated SWD capability on existing cables and
add descriptions for the cables.
2018-05-30 19:21:03 +02:00
Gareth McMullin
b494279fe5 Move target files into separate directory. 2016-07-13 08:31:09 +12:00