]> git.sur5r.net Git - openocd/commit
target: restructure dap support
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 23 Mar 2018 20:17:29 +0000 (21:17 +0100)
committerMatthias Welwarsky <matthias@welwarsky.de>
Fri, 30 Mar 2018 08:58:21 +0000 (09:58 +0100)
commit2231da8ec4e7d7ae9b652f3dd1a7104f5a110f3f
tree72623961be532d0f35e292a2fe9e8f1cf4e09c1a
parent72740904568414bb4a9192fe89034bae3b1a9e45
target: restructure dap support

- add 'dap create' command to create dap instances
- move all dap subcmmand into the dap instance commands
- keep 'dap info' for convenience
- change all armv7 and armv8 targets to take a dap
  instance instead of a jtag chain position
- restructure tap/dap/target relations, jtag tap no
  longer references the dap, daps are now independently
  created and initialized.
- clean up swd connect
- re-initialize DAP also on JTAG errors (e.g. after reset,
  power cycle)
- update documentation
- update target files

Change-Id: I322cf3969b5407c25d1d3962f9d9b9bc1df067d9
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/4468
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
88 files changed:
doc/openocd.texi
src/jtag/core.c
src/jtag/jtag.h
src/openocd.c
src/target/Makefile.am
src/target/aarch64.c
src/target/adi_v5_jtag.c
src/target/adi_v5_swd.c
src/target/arm_adi_v5.c
src/target/arm_adi_v5.h
src/target/arm_cti.c
src/target/arm_dap.c [new file with mode: 0644]
src/target/armv7a.c
src/target/armv7m.c
src/target/armv8.c
src/target/cortex_a.c
src/target/cortex_m.c
src/target/hla_target.c
src/target/target.c
src/target/target.h
tcl/target/1986ве1т.cfg
tcl/target/adsp-sc58x.cfg
tcl/target/aducm360.cfg
tcl/target/altera_fpgasoc.cfg
tcl/target/am335x.cfg
tcl/target/am437x.cfg
tcl/target/amdm37x.cfg
tcl/target/armada370.cfg
tcl/target/at91sam3XXX.cfg
tcl/target/at91sam3nXX.cfg
tcl/target/at91sam4XXX.cfg
tcl/target/at91samdXX.cfg
tcl/target/atsamv.cfg
tcl/target/bcm281xx.cfg
tcl/target/bluenrg-x.cfg
tcl/target/cc26xx.cfg
tcl/target/cc32xx.cfg
tcl/target/efm32.cfg
tcl/target/em357.cfg
tcl/target/exynos5250.cfg
tcl/target/fm3.cfg
tcl/target/fm4.cfg
tcl/target/hi3798.cfg
tcl/target/hi6220.cfg
tcl/target/imx51.cfg
tcl/target/imx53.cfg
tcl/target/imx6.cfg
tcl/target/imx7.cfg
tcl/target/k1921vk01t.cfg
tcl/target/ke0x.cfg
tcl/target/klx.cfg
tcl/target/kx.cfg
tcl/target/lpc1850.cfg
tcl/target/lpc1xxx.cfg
tcl/target/lpc4350.cfg
tcl/target/lpc4370.cfg
tcl/target/marvell/88f37x0.cfg
tcl/target/mdr32f9q2i.cfg
tcl/target/nrf51.cfg
tcl/target/nrf52.cfg
tcl/target/numicro.cfg
tcl/target/omap3530.cfg
tcl/target/omap4430.cfg
tcl/target/omap4460.cfg
tcl/target/psoc4.cfg
tcl/target/psoc5lp.cfg
tcl/target/psoc6.cfg
tcl/target/renesas_s7g2.cfg
tcl/target/sim3x.cfg
tcl/target/stellaris.cfg
tcl/target/stm32f0x.cfg
tcl/target/stm32f1x.cfg
tcl/target/stm32f2x.cfg
tcl/target/stm32f3x.cfg
tcl/target/stm32f4x.cfg
tcl/target/stm32f7x.cfg
tcl/target/stm32h7x.cfg
tcl/target/stm32l0.cfg
tcl/target/stm32l1.cfg
tcl/target/stm32l4x.cfg
tcl/target/stm32w108xx.cfg
tcl/target/ti_msp432p4xx.cfg
tcl/target/u8500.cfg
tcl/target/vybrid_vf6xx.cfg
tcl/target/xilinx_ultrascale.cfg
tcl/target/xmc1xxx.cfg
tcl/target/xmc4xxx.cfg
tcl/target/zynq_7000.cfg