riscv-openocd/tcl/target
Zale Yu 21b14028ad tcl: add a configuration file for Nuvoton M541 & NUC442/472 series
This patch is picked from the tcl part of OpenOCD-Nuvoton's commit
("flash: supported Nuvoton M4 series. jtag: Used HW reset instead of
auto reset. tcl: added a configuration file for Nuvoton M4 series.") [1]
to support the communication with Nuvoton's Cortex-M4 chips: M541 &
NUC442/472 series.

This patch has been tested with Nuvoton's NuTiny-SDK-NUC472 development
board [2].

The code comes from the commit basically. Jian-Hong Pan tweaked for the
compatibility with current OpenOCD. So, leave the author as Zale Yu.

[1]: https://github.com/OpenNuvoton/OpenOCD-Nuvoton/commit/c2d5b8bfc705
[2]: https://www.nuvoton.com/export/resource-files/UM_NuTiny-SDK-
     NUC472_EN_Rev1.02.pdf

Signed-off-by: Zale Yu <cyyu@nuvoton.com>
Signed-off-by: Jian-Hong Pan <chienhung.pan@gmail.com>
Change-Id: I27ac58dd1c98a76e791a4f1117c31060cf5522e8
Reviewed-on: https://review.openocd.org/c/openocd/+/7330
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2023-01-15 15:03:35 +00:00
..
infineon tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
marvell tcl/target: add SPDX tag 2022-06-24 21:53:35 +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
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 target/espressif: add semihosting support 2022-09-03 21:27:17 +00:00
esp32s2.cfg target/espressif: add semihosting support 2022-09-03 21:27:17 +00:00
esp32s3.cfg target/espressif: add semihosting support 2022-09-03 21:27:17 +00:00
esp_common.cfg target/espressif: add semihosting support 2022-09-03 21:27:17 +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: add SPDX tag 2022-06-24 21:53:35 +00:00
gp326xxxa.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
hi3798.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
hi6220.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +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
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 NPCX series flash 2021-09-02 06:42:54 +00:00
nrf51.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
nrf52.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +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
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: add SPDX tag 2022-06-24 21:53:35 +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 SMP mode to rp2040.cfg 2023-01-15 14:55:45 +00:00
rsl10.cfg src/flash/nor: flash driver for RSL10 2022-09-13 22:07: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
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
stm8l152.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +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
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 tcl/target: replace event trace-config 2022-08-27 16:15:41 +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
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 tcl/target: add SPDX tag 2022-06-24 21:53:35 +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: Handle swd vs jtag 2022-10-08 07:55:08 +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 SPDX tag 2022-06-24 21:53:35 +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
vd_xtensa_jtag.cfg Generic Xtensa target config files 2022-08-20 15:39:05 +00:00
vybrid_vf6xx.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +00:00
xilinx_zynqmp.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +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.cfg target/xtensa: DAP-based Xtensa config files 2022-09-13 22:08:34 +00:00
zynq_7000.cfg tcl/target: add SPDX tag 2022-06-24 21:53:35 +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.