riscv-openocd/tcl/target
Thomas Hebb 7ac389cf47 tcl/target/gd32vf103: work around broken ndmreset
On this chip, the ndmreset bit in the RISC-V debug module doesn't
trigger a system reset like it should. To work around this, add a custom
"reset-assert" handler in its config file that resets the system by
writing to memory-mapped registers.

I've tested this workaround on a Sipeed Longan Nano dev board with a
GD32VF103CBT6 chip. It works correctly for both "reset run" and "reset
halt" (halting at pc=0 for the latter).

I originally submitted[1] this workaround to the riscv-openocd fork of
OpenOCD. That fork's maintainers accepted it, but have not upstreamed it
like they have several other of my changes.

[1] https://github.com/riscv/riscv-openocd/pull/538

Change-Id: I7482990755b300fcbe4963c9a599d599bc02684d
Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6957
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
2023-11-30 14:32:09 +00:00
..
infineon tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
marvell tcl/target: enable -rtos hwthread 2023-01-15 15:10:42 +00:00
1986ве1т.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
adsp-sc58x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
aduc702x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
aducm360.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
allwinner_v3s.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
alphascale_asm9260t.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
altera_fpgasoc.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
altera_fpgasoc_arria10.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
am335x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
am437x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
amdm37x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ampere_emag.cfg tcl: replace FSF boilerplate with SPDX tag 2022-06-24 21:51:58 +00:00
ampere_qs_mq.cfg target/board: Add Ampere QS|MQ config files 2022-06-24 21:40:00 +00:00
ar71xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
arm_corelink_sse200.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
armada370.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at32ap7000.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91r40008.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91rm9200.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3XXX.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3ax_4x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3ax_8x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3ax_xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3nXX.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3sXX.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3u1c.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3u1e.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3u2c.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3u2e.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3u4c.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3u4e.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam3uxx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam4XXX.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam4c32x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam4cXXX.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam4lXX.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam4sXX.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam4sd32x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam7a2.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam7se512.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam7sx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam7x256.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam7x512.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam9.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam9g10.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam9g20.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam9g45.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam9rl.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam9260.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam9260_ext_RAM_ext_flash.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam9261.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sam9263.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91sama5d2.cfg add config for Microchip SAMA5D27 SOM1 Kit1 2021-08-14 08:04:38 +01:00
at91samdXX.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
at91samg5x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
atheros_ar2313.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
atheros_ar2315.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
atheros_ar9331.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
atheros_ar9344.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
atmega32u4.cfg flash/nor/avrf: add ATmega32U4 support 2023-01-15 14:47:30 +00:00
atmega128.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
atmega128rfa1.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
atsame5x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
atsaml1x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
atsamv.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
avr32.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
bcm47xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
bcm281xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
bcm2711.cfg tcl/target: add BCM2711 configuration file 2021-03-10 21:36:59 +00:00
bcm2835.cfg tcl/target: add BCM2835 configuration file 2021-03-10 21:36:45 +00:00
bcm2836.cfg tcl/target: add BCM2836 configuration file 2021-03-10 21:36:50 +00:00
bcm2837.cfg tcl/target: add BCM2837 configuration file 2021-03-10 21:36:54 +00:00
bcm4706.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
bcm4718.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
bcm5352e.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
bcm6348.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
bluefield.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
bluenrg-x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
c100.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
c100config.tcl tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
c100helper.tcl tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
c100regs.tcl tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
cavium_cn61xx.cfg tcl/target: add support for Cavium Octeon II CN61xx 2023-09-23 14:41:12 +00:00
cc2538.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
cs351x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
davinci.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
dragonite.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
dsp56321.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
dsp568013.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
dsp568037.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
efm32.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
em357.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
em358.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
eos_s3.cfg tcl/target/eos_s3: fix variable's expansion typo 2021-03-04 14:59:32 +00:00
epc9301.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
esi32xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
esp32.cfg tcl/target: update esp32.cfg to reference shared functions in the esp_common.cfg 2023-07-14 16:42:53 +00:00
esp32s2.cfg tcl/target: update esp32s2.cfg to reference shared functions in the esp_common.cfg 2023-07-14 16:43:13 +00:00
esp32s3.cfg tcl/target: update esp32s3.cfg to reference shared functions in the esp_common.cfg 2023-07-14 16:43:36 +00:00
esp_common.cfg tcl/target: move Espressif shared functions to esp_common.cfg 2023-07-14 16:40:53 +00:00
exynos5250.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
faux.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
feroceon.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
fm3.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
fm4.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
fm4_mb9bf.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
fm4_s6e2cc.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
gd32e23x.cfg flash/nor/stm32f1x: Add support for GD32E23x 2021-11-15 15:35:50 +00:00
gd32vf103.cfg tcl/target/gd32vf103: work around broken ndmreset 2023-11-30 14:32:09 +00:00
gp326xxxa.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
hi3798.cfg tcl/target: enable -rtos hwthread 2023-01-15 15:10:42 +00:00
hi6220.cfg tcl/target: enable -rtos hwthread 2023-01-15 15:10:42 +00:00
hilscher_netx10.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
hilscher_netx50.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
hilscher_netx500.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
icepick.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx6.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx6sx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx6ul.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx7.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx7ulp.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx8m.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx8qm.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx21.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx25.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx27.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx28.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx31.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx35.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx51.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
imx53.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
is5114.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ixp42x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
k40.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
k60.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
k1921vk01t.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ke0x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ke1xf.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ke1xz.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
kl25.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
kl46.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
klx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ks869x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
kx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc1xxx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc2xxx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc8nxx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc8xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc11xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc12xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc13xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc17xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc40xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc84x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc1850.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc2103.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc2124.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc2129.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc2148.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc2294.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc2378.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc2460.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc2478.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc2900.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc3131.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc3250.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc4350.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc4357.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
lpc4370.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ls1012a.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ls1028a.cfg target: Add LS1028A 2022-05-27 22:48:36 +00:00
ls1046a.cfg target: Add LS1046A 2022-03-12 09:46:30 +00:00
ls1088a.cfg tcl/target/ls1088: Break out common configuration 2022-05-27 22:47:45 +00:00
lsch3_common.cfg tcl/target/ls1088: Break out common configuration 2022-05-27 22:47:45 +00:00
max3263x.cfg tcl: max326xx: fix target scripts for latest version of OpenOCD 2022-11-28 22:23:30 +00:00
max32620.cfg tcl: max326xx: fix target scripts for latest version of OpenOCD 2022-11-28 22:23:30 +00:00
max32625.cfg tcl: max326xx: fix target scripts for latest version of OpenOCD 2022-11-28 22:23:30 +00:00
mc13224v.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
mdr32f9q2i.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
nds32v5.cfg tcl: Add support for NDS V5 target and xc7/Corvette-F1 2020-08-16 11:48:53 +01:00
netl_xlp3xx.cfg tcl/target: Add XLP3xx configuration files 2023-09-23 14:40:17 +00:00
netl_xlp304.cfg tcl/target: Add XLP3xx configuration files 2023-09-23 14:40:17 +00:00
netl_xlp308.cfg tcl/target: Add XLP3xx configuration files 2023-09-23 14:40:17 +00:00
netl_xlp316.cfg tcl/target: Add XLP3xx configuration files 2023-09-23 14:40:17 +00:00
ngultra.cfg tcl: ngultra: add target config file 2022-07-23 14:00:10 +00:00
nhs31xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
npcx.cfg flash/nor: add support for Nuvoton NPCX4/K3 series flash 2023-09-08 22:01:12 +00:00
nrf51.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
nrf52.cfg target/nrf52: Create and configure TPIU 2023-10-07 14:46:52 +00:00
nuc910.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
numicro.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
numicro_m4.cfg tcl: add a configuration file for Nuvoton M541 & NUC442/472 series 2023-01-15 15:03:35 +00:00
omap2420.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
omap3530.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
omap4430.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
omap4460.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
omap5912.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
omapl138.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
or1k.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
pic32mx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
psoc4.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
psoc5lp.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
psoc6.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
pxa3xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
pxa255.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
pxa270.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
qn908x.cfg flash/nor: add support for NXP QN908x 2023-06-10 16:58:35 +00:00
qualcomm_qca4531.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
quark_d20xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
quark_x10xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
readme.txt tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
renesas_r7s72100.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
renesas_rcar_gen2.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
renesas_rcar_gen3.cfg tcl/target: renesas gen3 Set target to armv8r for Cortex-R52 2023-04-30 14:50:26 +00:00
renesas_rcar_reset_common.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
renesas_rz_five.cfg tcl/target/renesas_rz_five: Added RZ/Five 2022-05-21 09:01:22 +00:00
renesas_rz_g2.cfg tcl/target/renesas_rz_g2: Added RZ/G2LC and RZ/G2UL 2022-05-21 09:01:13 +00:00
renesas_s7g2.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
rk3308.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
rk3399.cfg tcl/target: add Rockchip RK3399 target 2021-03-10 21:29:26 +00:00
rp2040.cfg tcl/target: add rescue mode to RP2040 config 2023-01-28 15:57:24 +00:00
rsl10.cfg src/flash/nor: flash driver for RSL10 2022-09-13 22:07:43 +00:00
rtl872xd.cfg tcl/target: add Realtek RTL872xD config 2023-08-26 11:39:43 +00:00
samsung_s3c2410.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
samsung_s3c2440.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
samsung_s3c2450.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
samsung_s3c4510.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
samsung_s3c6410.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
sharp_lh79532.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
sim3x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
smp8634.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
snps_em_sk_fpga.cfg tcl: move SPDX tag as first line 2022-06-24 21:52:18 +00:00
snps_hsdk.cfg tcl: move SPDX tag as first line 2022-06-24 21:52:18 +00:00
snps_hsdk_4xd.cfg tcl: add configuration files for the ARC HSDK-4xD board 2023-08-12 16:46:21 +00:00
spear3xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stellaris.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm8l.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm8l15xx4.cfg Add/Correct STM8L15xx2/3/4/6/8 devices 2023-06-02 20:59:36 +00:00
stm8l15xx6.cfg Add/Correct STM8L15xx2/3/4/6/8 devices 2023-06-02 20:59:36 +00:00
stm8l15xx8.cfg Add/Correct STM8L15xx2/3/4/6/8 devices 2023-06-02 20:59:36 +00:00
stm8l151x2.cfg Add/Correct STM8L15xx2/3/4/6/8 devices 2023-06-02 20:59:36 +00:00
stm8l151x3.cfg Add/Correct STM8L15xx2/3/4/6/8 devices 2023-06-02 20:59:36 +00:00
stm8l152.cfg Add/Correct STM8L15xx2/3/4/6/8 devices 2023-06-02 20:59:36 +00:00
stm8s.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm8s003.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm8s103.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm8s105.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32c0x.cfg flash/stm32l4x: support STM32C0x devices 2023-05-24 05:28:09 +00:00
stm32f0x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32f1x.cfg tcl/target: replace event trace-config 2022-08-27 16:15:41 +00:00
stm32f2x.cfg tcl/target: replace event trace-config 2022-08-27 16:15:41 +00:00
stm32f3x.cfg stm32f3x: Allow overriding the flash bank size 2023-01-21 22:58:16 +00:00
stm32f4x.cfg tcl/target: stm32[fl]4x: document the settings for trace 2022-08-27 16:16:29 +00:00
stm32f7x.cfg tcl/target: replace event trace-config 2022-08-27 16:15:41 +00:00
stm32g0x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32g4x.cfg tcl/target: replace event trace-config 2022-08-27 16:15:41 +00:00
stm32h7x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32h7x_dual_bank.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32l0.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32l0_dual_bank.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32l1.cfg tcl/target: replace event trace-config 2022-08-27 16:15:41 +00:00
stm32l1x_dual_bank.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32l4x.cfg tcl/target: stm32[fl]4x: document the settings for trace 2022-08-27 16:16:29 +00:00
stm32l5x.cfg tcl/stm32l5x|u5x: refactor common tcl code 2022-03-12 09:32:59 +00:00
stm32mp13x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32mp15x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32u5x.cfg tcl/stm32u5x: fix clock config used at 'reset init' 2022-03-19 09:12:59 +00:00
stm32w108xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
stm32wbax.cfg flash/stm32l4x: support STM32WBA5xx devices 2023-09-19 05:17:09 +00:00
stm32wbx.cfg tcl/target: replace event trace-config 2022-08-27 16:15:41 +00:00
stm32wlx.cfg tcl/target: replace event trace-config 2022-08-27 16:15:41 +00:00
stm32x5x_common.cfg tcl/stm32l5x|u5x: support HLA adapters in non-secure mode only 2022-10-21 18:19:41 +00:00
stm32xl.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
str710.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
str730.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
str750.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
str912.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
swj-dp.tcl tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
swm050.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
test_reset_syntax_error.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
test_syntax_error.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti-ar7.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti-cjtag.cfg target/ti-cjtag: make switching to JTAG more reliable 2023-06-10 17:11:46 +00:00
ti_calypso.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_cc13x0.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_cc13x2.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_cc26x0.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_cc26x2.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_cc32xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_cc3220sf.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_dm355.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_dm365.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_dm6446.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_k3.cfg tcl/target/ti_k3: Add AM273 SoC 2023-11-11 18:46:30 +00:00
ti_msp432.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_rm4x.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_tms570.cfg tcl/target: Add support for TMS570LC43xx 2023-05-18 10:23:18 +00:00
ti_tms570lc43xx.cfg tcl/target: Add support for TMS570LC43xx 2023-05-18 10:23:18 +00:00
ti_tms570ls20xxx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
ti_tms570ls3137.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
tmpa900.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
tmpa910.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
tnetc4401.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
u8500.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
vd_aarch64.cfg Cadence virtual debug interface (vdebug) integration 2022-02-14 15:12:10 +00:00
vd_cortex_m.cfg Cadence virtual debug interface (vdebug) integration 2022-02-14 15:12:10 +00:00
vd_riscv.cfg drivers/vdebug: add support for DAP level interface 2022-07-30 08:48:21 +00:00
vybrid_vf6xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
xilinx_zynqmp.cfg tcl/target: enable -rtos hwthread 2023-01-15 15:10:42 +00:00
xmc1xxx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
xmc4xxx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
xmos_xs1-xau8a-10_arm.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
xtensa-core-esp32.cfg tcl/xtensa: some fixes at xtensa-core-esp32.cfg 2022-10-15 15:56:54 +00:00
xtensa-core-esp32s2.cfg tcl/xtensa: some fixes at xtensa-core-esp32s2.cfg 2022-10-15 15:57:12 +00:00
xtensa-core-esp32s3.cfg tcl/xtensa: some fixes at xtensa-core-esp32s3.cfg 2022-10-15 15:57:36 +00:00
xtensa-core-nxp_rt600.cfg target/xtensa: DAP-based Xtensa config files 2022-09-13 22:08:34 +00:00
xtensa-core-xt8.cfg jtag/vdebug: adding xtensa config 2023-06-02 21:04:37 +00:00
xtensa.cfg target/xtensa: DAP-based Xtensa config files 2022-09-13 22:08:34 +00:00
zynq_7000.cfg pld/virtex2: add program/refresh command 2023-07-08 18:03:18 +00:00
к1879xб1я.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00

readme.txt

# SPDX-License-Identifier: GPL-2.0-or-later

Prerequisites:
The users of OpenOCD as well as computer programs interacting with OpenOCD are expecting that certain commands
do the same thing across all the targets.

Rules to follow when writing scripts:

1. The configuration script should be defined such as , for example, the following sequences are working:
	reset
	flash info <bank>
and
	reset
	flash erase_address <start> <len>
and
	reset init
	load

In most cases this can be accomplished by specifying the default startup mode as reset_init (target command
in the configuration file).

2. If the target is correctly configured, flash must be writable without any other helper commands. It is
assumed that all write-protect mechanisms should be disabled.

3. The configuration scripts should be defined such as the binary that was written to flash verifies
(turn off remapping, checksums, etc...)

flash write_image [file] <parameters>
verify_image [file] <parameters>

4. adapter speed sets the maximum speed (or alternatively RCLK). If invoked
multiple times only the last setting is used.

interface/xxx.cfg files are always executed *before* target/xxx.cfg
files, so any adapter speed in interface/xxx.cfg will be overridden by
target/xxx.cfg. adapter speed in interface/xxx.cfg would then, effectively,
set the default JTAG speed.

Note that a target/xxx.cfg file can invoke another target/yyy.cfg file,
so one can create target subtype configurations where e.g. only
amount of DRAM, oscillator speeds differ and having a single
config file for the default/common settings.