├── .checkpatch.conf ├── .github └── workflows │ └── snapshot.yml ├── .gitignore ├── .gitmodules ├── .travis.yml ├── AUTHORS ├── AUTHORS.ChangeLog ├── BUGS ├── COPYING ├── ChangeLog ├── Doxyfile.in ├── HACKING ├── LICENSES ├── exceptions │ └── eCos-exception-2.0 ├── license-rules.txt ├── preferred │ ├── BSD-1-Clause │ ├── BSD-2-Clause │ ├── BSD-2-Clause-Views │ ├── BSD-3-Clause │ ├── BSD-Source-Code │ ├── CC0-1.0 │ ├── GFDL-1.2 │ ├── GPL-2.0 │ ├── LGPL-2.1 │ ├── MIT │ └── gfdl-1.2.texi.readme └── stand-alone │ ├── Apache-2.0 │ └── GPL-3.0 ├── Makefile.am ├── NEWS ├── NEWS-0.10.0 ├── NEWS-0.11.0 ├── NEWS-0.12.0 ├── NEWS-0.2.0 ├── NEWS-0.3.0 ├── NEWS-0.4.0 ├── NEWS-0.5.0 ├── NEWS-0.6.0 ├── NEWS-0.7.0 ├── NEWS-0.8.0 ├── NEWS-0.9.0 ├── NEWTAPS ├── README ├── README.Windows ├── README.macOS ├── TODO ├── bootstrap ├── config_subdir.m4 ├── configure.ac ├── contrib ├── 60-openocd.rules ├── buildroot │ └── openocd_be_defconfig ├── coresight-trace.txt ├── cross-build.sh ├── firmware │ └── angie │ │ ├── c │ │ ├── Makefile │ │ ├── README │ │ ├── include │ │ │ ├── delay.h │ │ │ ├── fx2macros.h │ │ │ ├── i2c.h │ │ │ ├── io.h │ │ │ ├── jtag.h │ │ │ ├── msgtypes.h │ │ │ ├── protocol.h │ │ │ ├── reg_ezusb.h │ │ │ ├── serial.h │ │ │ └── usb.h │ │ └── src │ │ │ ├── USBJmpTb.a51 │ │ │ ├── delay.c │ │ │ ├── gpif.c │ │ │ ├── i2c.c │ │ │ ├── jtag.c │ │ │ ├── main.c │ │ │ ├── protocol.c │ │ │ ├── serial.c │ │ │ └── usb.c │ │ └── hdl │ │ ├── Makefile │ │ ├── README │ │ ├── set_env.sh │ │ └── src │ │ ├── angie_bitstream.ucf │ │ └── angie_bitstream.vhd ├── gen-stellaris-part-header.pl ├── itmdump.c ├── libdcc │ ├── README │ ├── dcc_stdio.c │ ├── dcc_stdio.h │ └── example.c ├── list_example.c ├── loaders │ ├── Makefile │ ├── README │ ├── checksum │ │ ├── Makefile │ │ ├── armv4_5_crc.inc │ │ ├── armv4_5_crc.s │ │ ├── armv7m_crc.inc │ │ ├── armv7m_crc.s │ │ ├── mips32.s │ │ ├── riscv32_crc.inc │ │ ├── riscv64_crc.inc │ │ └── riscv_crc.c │ ├── debug │ │ └── xscale │ │ │ ├── Makefile │ │ │ ├── debug_handler.S │ │ │ ├── debug_handler.inc │ │ │ ├── debug_handler.ld │ │ │ └── protocol.h │ ├── erase_check │ │ ├── Makefile │ │ ├── armv4_5_erase_check.inc │ │ ├── armv4_5_erase_check.s │ │ ├── armv7m_erase_check.inc │ │ ├── armv7m_erase_check.s │ │ ├── stm8_erase_check.inc │ │ └── stm8_erase_check.s │ ├── flash │ │ ├── armv4_5_cfi_intel_16.s │ │ ├── armv4_5_cfi_intel_32.s │ │ ├── armv4_5_cfi_intel_8.s │ │ ├── armv4_5_cfi_span_16.s │ │ ├── armv4_5_cfi_span_16_dq7.s │ │ ├── armv4_5_cfi_span_32.s │ │ ├── armv4_5_cfi_span_8.s │ │ ├── armv7m_cfi_span_16.s │ │ ├── armv7m_cfi_span_16_dq7.s │ │ ├── armv7m_io.s │ │ ├── at91sam7x │ │ │ ├── at91sam7x_ocl_flash.script │ │ │ ├── at91sam7x_ram.ld │ │ │ ├── crt.s │ │ │ ├── dcc.c │ │ │ ├── dcc.h │ │ │ ├── main.c │ │ │ ├── makefile │ │ │ ├── ocl.h │ │ │ ├── platform.h │ │ │ ├── samflash.c │ │ │ ├── samflash.h │ │ │ └── samregs.h │ │ ├── bluenrg-x │ │ │ ├── Makefile │ │ │ ├── bluenrg-x_write.c │ │ │ └── bluenrg-x_write.inc │ │ ├── cc26xx │ │ │ ├── Makefile │ │ │ ├── cc26x0 │ │ │ │ └── cc26x0r2f.lds │ │ │ ├── cc26x0_algo.inc │ │ │ ├── cc26x2 │ │ │ │ └── cc26x2r1f.lds │ │ │ ├── cc26x2_algo.inc │ │ │ ├── flash.c │ │ │ ├── flash.h │ │ │ ├── flashloader.c │ │ │ ├── flashloader.h │ │ │ ├── hw_regs.h │ │ │ ├── main.c │ │ │ └── startup.c │ │ ├── cc3220sf │ │ │ ├── Makefile │ │ │ ├── cc3220sf.inc │ │ │ └── cc3220sf.s │ │ ├── cortex-m0.S │ │ ├── efm32.S │ │ ├── fespi │ │ │ ├── Makefile │ │ │ ├── riscv.lds │ │ │ ├── riscv32_fespi.inc │ │ │ ├── riscv64_fespi.inc │ │ │ ├── riscv_fespi.c │ │ │ └── riscv_wrapper.S │ │ ├── fm4 │ │ │ ├── Makefile │ │ │ ├── erase.S │ │ │ ├── erase.inc │ │ │ ├── fm4.h │ │ │ ├── write.S │ │ │ └── write.inc │ │ ├── fpga │ │ │ └── xilinx_bscan_spi.py │ │ ├── gd32vf103 │ │ │ ├── Makefile │ │ │ ├── gd32vf103.c │ │ │ └── gd32vf103.inc │ │ ├── k1921vk01t.S │ │ ├── kinetis │ │ │ ├── Makefile │ │ │ ├── kinetis_flash.inc │ │ │ └── kinetis_flash.s │ │ ├── kinetis_ke │ │ │ ├── Makefile │ │ │ ├── kinetis_ke_flash.inc │ │ │ ├── kinetis_ke_flash.s │ │ │ ├── kinetis_ke_watchdog.inc │ │ │ └── kinetis_ke_watchdog.s │ │ ├── lpcspifi_erase.S │ │ ├── lpcspifi_init.S │ │ ├── lpcspifi_write.S │ │ ├── max32xxx │ │ │ ├── Makefile │ │ │ ├── max32xxx.inc │ │ │ └── max32xxx.s │ │ ├── mdr32fx.S │ │ ├── mrvlqspi_write.S │ │ ├── msp432 │ │ │ ├── MSP432E4_FlashLibIf.h │ │ │ ├── MSP432P4_FlashLibIf.h │ │ │ ├── Makefile │ │ │ ├── driverlib.c │ │ │ ├── driverlib.h │ │ │ ├── main_msp432e4x.c │ │ │ ├── main_msp432p401x.c │ │ │ ├── main_msp432p411x.c │ │ │ ├── msp432e4x.h │ │ │ ├── msp432e4x │ │ │ │ └── msp432e4x.lds │ │ │ ├── msp432e4x_algo.inc │ │ │ ├── msp432p401x.h │ │ │ ├── msp432p401x │ │ │ │ └── msp432p401x.lds │ │ │ ├── msp432p401x_algo.inc │ │ │ ├── msp432p411x.h │ │ │ ├── msp432p411x │ │ │ │ └── msp432p411x.lds │ │ │ ├── msp432p411x_algo.inc │ │ │ ├── startup_msp432e4.c │ │ │ └── startup_msp432p4.c │ │ ├── npcx │ │ │ ├── Makefile │ │ │ ├── npcx_algo.inc │ │ │ ├── npcx_flash.c │ │ │ ├── npcx_flash.h │ │ │ ├── npcx_flash.lds │ │ │ └── npcx_flash_config.h │ │ ├── nrf5 │ │ │ ├── Makefile │ │ │ ├── nrf5.S │ │ │ └── nrf5.inc │ │ ├── numicro │ │ │ ├── Makefile │ │ │ ├── numicro_m0.S │ │ │ ├── numicro_m0.inc │ │ │ ├── numicro_m4.S │ │ │ └── numicro_m4.inc │ │ ├── pic32mx.s │ │ ├── rsl10 │ │ │ ├── Makefile │ │ │ ├── rom_launcher.S │ │ │ └── rom_launcher.inc │ │ ├── sh_qspi │ │ │ ├── Makefile │ │ │ ├── sh_qspi.S │ │ │ ├── sh_qspi.inc │ │ │ └── sh_qspi.ld │ │ ├── sim3x.s │ │ ├── stellaris.s │ │ ├── stm32 │ │ │ ├── Makefile │ │ │ ├── stm32f1x.S │ │ │ ├── stm32f1x.inc │ │ │ ├── stm32f2x.S │ │ │ ├── stm32f2x.inc │ │ │ ├── stm32h7x.S │ │ │ ├── stm32h7x.inc │ │ │ ├── stm32l4x.c │ │ │ ├── stm32l4x.inc │ │ │ ├── stm32lx.S │ │ │ └── stm32lx.inc │ │ ├── stmqspi │ │ │ ├── Makefile │ │ │ ├── gpio_conf_stm32.pl │ │ │ ├── stmoctospi_crc32.S │ │ │ ├── stmoctospi_crc32.inc │ │ │ ├── stmoctospi_erase_check.S │ │ │ ├── stmoctospi_erase_check.inc │ │ │ ├── stmoctospi_read.S │ │ │ ├── stmoctospi_read.inc │ │ │ ├── stmoctospi_write.S │ │ │ ├── stmoctospi_write.inc │ │ │ ├── stmqspi_crc32.S │ │ │ ├── stmqspi_crc32.inc │ │ │ ├── stmqspi_erase_check.S │ │ │ ├── stmqspi_erase_check.inc │ │ │ ├── stmqspi_read.S │ │ │ ├── stmqspi_read.inc │ │ │ ├── stmqspi_write.S │ │ │ └── stmqspi_write.inc │ │ ├── str7x.s │ │ ├── str9x.s │ │ └── xmc1xxx │ │ │ ├── Makefile │ │ │ ├── erase.S │ │ │ ├── erase.inc │ │ │ ├── erase_check.S │ │ │ ├── erase_check.inc │ │ │ ├── write.S │ │ │ ├── write.inc │ │ │ └── xmc1xxx.S │ ├── reset │ │ └── espressif │ │ │ ├── common.mk │ │ │ ├── esp32 │ │ │ ├── Makefile │ │ │ ├── cpu_reset_handler_code.inc │ │ │ └── esp32_cpu_reset_handler.S │ │ │ └── esp32s3 │ │ │ ├── Makefile │ │ │ ├── cpu_reset_handler_code.inc │ │ │ └── esp32s3_cpu_reset_handler.S │ ├── trampoline │ │ └── espressif │ │ │ └── xtensa │ │ │ ├── Makefile │ │ │ ├── esp_xtensa_stub_tramp_win.S │ │ │ └── esp_xtensa_stub_tramp_win.inc │ └── watchdog │ │ ├── Makefile │ │ ├── armv7m_kinetis_wdog.inc │ │ ├── armv7m_kinetis_wdog.s │ │ ├── armv7m_kinetis_wdog32.inc │ │ └── armv7m_kinetis_wdog32.s ├── remote_bitbang │ └── remote_bitbang_sysfsgpio.c ├── rpc_examples │ ├── ocd_rpc_example.py │ └── ocdrpc.hs ├── rtos-helpers │ ├── FreeRTOS-openocd.c │ └── uCOS-III-openocd.c └── xsvf_tools │ ├── svf2xsvf.py │ └── xsvfdump.py ├── doc ├── .gitattributes ├── Makefile.am ├── checkpatch.rst ├── fdl.texi ├── manual │ ├── app.txt │ ├── endianness.txt │ ├── flash.txt │ ├── helper.txt │ ├── images │ │ └── jtag-state-machine-large.png │ ├── jtag.txt │ ├── jtag │ │ └── drivers │ │ │ └── remote_bitbang.txt │ ├── main.txt │ ├── primer │ │ ├── autotools.txt │ │ ├── commands.txt │ │ ├── docs.txt │ │ ├── jtag.txt │ │ └── tcl.txt │ ├── release.txt │ ├── scripting.txt │ ├── server.txt │ ├── style.txt │ ├── target.txt │ └── target │ │ ├── mips.txt │ │ └── notarm.txt ├── openocd.1 ├── openocd.texi └── usb_adapters │ ├── angie │ └── 584e_414f_angie.txt │ ├── cmsis_dap │ ├── 03eb_2111_atmel_edbg.txt │ ├── 03eb_2169_atmel_edbg.txt │ ├── 04b4_f155_cypress_kitprog3.txt │ ├── 0d28_0204_nxp_daplink.txt │ ├── 1a6a_2000_spansion_sk_fm4.txt │ ├── 2a86_8011_wch_link.txt │ ├── c251_2722_keil_ulink2.txt │ ├── c251_2723_keil_ulink_me.txt │ ├── c251_2750_keil_ulinkplus.txt │ └── c251_f001_jixin.pro.txt │ ├── dump.sh │ ├── esp_usb_jtag │ └── 303a_1001_esp_usb_jtag.txt │ ├── ft232r │ └── 0403_6001_ft232r.txt │ ├── ftdi │ ├── 0403_6010_ft2232h.txt │ ├── 0403_6014_digilent_hs2.txt │ ├── 0403_cff8_amontec_jtagkey2.txt │ ├── 09fb_6001_altera_blaster.txt │ └── 9e88_9e8f_sheevaplug_jtagkey.txt │ ├── icdi │ └── 1cbe_00fd_ti_icdi.txt │ ├── jlink │ ├── 1366_0101_segger_jlink.txt │ └── 1366_0101_segger_jlink_plus_10_1.txt │ ├── kitprog │ └── 04b4_f139_cypress_kitprog.txt │ ├── nulink │ ├── 0416_511d_nuvoton_nulink.txt │ └── 0416_5200_nuvoton_nulink.txt │ ├── readme.txt │ ├── stlink │ ├── 0483_3744_stlinkv1.txt │ ├── 0483_3748_stlinkv2.txt │ ├── 0483_374b_stlinkv2.txt │ ├── 0483_374d_stlinkv3.txt │ ├── 0483_374e_stlinkv3.txt │ ├── 0483_374f_stlinkv3.txt │ ├── 0483_3752_stlinkv2.txt │ ├── 0483_3753_stlinkv3.txt │ ├── 0483_3755_stlinkv3pwr.txt │ └── 0483_3757_stlinkv3pwr.txt │ └── xds110 │ └── 0451_bef3_ti_xds110.txt ├── guess-rev.sh ├── src ├── Makefile.am ├── flash │ ├── Makefile.am │ ├── common.c │ ├── common.h │ ├── nand │ │ ├── Makefile.am │ │ ├── arm_io.c │ │ ├── arm_io.h │ │ ├── at91sam9.c │ │ ├── core.c │ │ ├── core.h │ │ ├── davinci.c │ │ ├── driver.c │ │ ├── driver.h │ │ ├── ecc.c │ │ ├── ecc_kw.c │ │ ├── fileio.c │ │ ├── fileio.h │ │ ├── imp.h │ │ ├── lpc3180.c │ │ ├── lpc3180.h │ │ ├── lpc32xx.c │ │ ├── lpc32xx.h │ │ ├── mx3.c │ │ ├── mx3.h │ │ ├── mxc.c │ │ ├── mxc.h │ │ ├── nonce.c │ │ ├── nuc910.c │ │ ├── nuc910.h │ │ ├── orion.c │ │ ├── s3c2410.c │ │ ├── s3c2412.c │ │ ├── s3c2440.c │ │ ├── s3c2443.c │ │ ├── s3c24xx.c │ │ ├── s3c24xx.h │ │ ├── s3c24xx_regs.h │ │ ├── s3c6400.c │ │ └── tcl.c │ ├── nor │ │ ├── Makefile.am │ │ ├── aduc702x.c │ │ ├── aducm360.c │ │ ├── ambiqmicro.c │ │ ├── at91sam3.c │ │ ├── at91sam4.c │ │ ├── at91sam4l.c │ │ ├── at91sam7.c │ │ ├── at91samd.c │ │ ├── ath79.c │ │ ├── atsame5.c │ │ ├── atsamv.c │ │ ├── avrf.c │ │ ├── bluenrg-x.c │ │ ├── bluenrg-x.h │ │ ├── cc26xx.c │ │ ├── cc26xx.h │ │ ├── cc3220sf.c │ │ ├── cc3220sf.h │ │ ├── cfi.c │ │ ├── cfi.h │ │ ├── core.c │ │ ├── core.h │ │ ├── driver.h │ │ ├── drivers.c │ │ ├── dsp5680xx_flash.c │ │ ├── efm32.c │ │ ├── em357.c │ │ ├── esirisc_flash.c │ │ ├── faux.c │ │ ├── fespi.c │ │ ├── fm3.c │ │ ├── fm4.c │ │ ├── imp.h │ │ ├── jtagspi.c │ │ ├── kinetis.c │ │ ├── kinetis_ke.c │ │ ├── lpc2000.c │ │ ├── lpc288x.c │ │ ├── lpc2900.c │ │ ├── lpcspifi.c │ │ ├── max32xxx.c │ │ ├── mdr.c │ │ ├── mrvlqspi.c │ │ ├── msp432.c │ │ ├── msp432.h │ │ ├── niietcm4.c │ │ ├── non_cfi.c │ │ ├── non_cfi.h │ │ ├── npcx.c │ │ ├── nrf5.c │ │ ├── numicro.c │ │ ├── ocl.c │ │ ├── ocl.h │ │ ├── pic32mx.c │ │ ├── psoc4.c │ │ ├── psoc5lp.c │ │ ├── psoc6.c │ │ ├── qn908x.c │ │ ├── renesas_rpchf.c │ │ ├── rp2040.c │ │ ├── rsl10.c │ │ ├── sfdp.c │ │ ├── sfdp.h │ │ ├── sh_qspi.c │ │ ├── sim3x.c │ │ ├── spi.c │ │ ├── spi.h │ │ ├── stellaris.c │ │ ├── stm32f1x.c │ │ ├── stm32f2x.c │ │ ├── stm32h7x.c │ │ ├── stm32l4x.c │ │ ├── stm32l4x.h │ │ ├── stm32lx.c │ │ ├── stmqspi.c │ │ ├── stmqspi.h │ │ ├── stmsmi.c │ │ ├── str7x.c │ │ ├── str9x.c │ │ ├── str9xpec.c │ │ ├── swm050.c │ │ ├── tcl.c │ │ ├── tms470.c │ │ ├── virtual.c │ │ ├── w600.c │ │ ├── xcf.c │ │ ├── xmc1xxx.c │ │ └── xmc4xxx.c │ └── startup.tcl ├── hello.c ├── hello.h ├── helper │ ├── Makefile.am │ ├── align.h │ ├── base64.c │ ├── base64.h │ ├── bin2char.sh │ ├── binarybuffer.c │ ├── binarybuffer.h │ ├── bits.h │ ├── command.c │ ├── command.h │ ├── compiler.h │ ├── configuration.c │ ├── configuration.h │ ├── crc32.c │ ├── crc32.h │ ├── fileio.c │ ├── fileio.h │ ├── jep106.c │ ├── jep106.h │ ├── jep106.inc │ ├── jim-nvp.c │ ├── jim-nvp.h │ ├── list.h │ ├── log.c │ ├── log.h │ ├── nvp.c │ ├── nvp.h │ ├── options.c │ ├── replacements.c │ ├── replacements.h │ ├── startup.tcl │ ├── system.h │ ├── time_support.c │ ├── time_support.h │ ├── time_support_common.c │ ├── types.h │ ├── update_jep106.pl │ ├── util.c │ └── util.h ├── jtag │ ├── Makefile.am │ ├── adapter.c │ ├── adapter.h │ ├── commands.c │ ├── commands.h │ ├── core.c │ ├── drivers │ │ ├── Makefile.am │ │ ├── Makefile.rlink │ │ ├── OpenULINK │ │ │ ├── Makefile │ │ │ ├── README │ │ │ ├── include │ │ │ │ ├── common.h │ │ │ │ ├── delay.h │ │ │ │ ├── io.h │ │ │ │ ├── jtag.h │ │ │ │ ├── main.h │ │ │ │ ├── msgtypes.h │ │ │ │ ├── protocol.h │ │ │ │ ├── reg_ezusb.h │ │ │ │ └── usb.h │ │ │ ├── src │ │ │ │ ├── USBJmpTb.a51 │ │ │ │ ├── delay.c │ │ │ │ ├── jtag.c │ │ │ │ ├── main.c │ │ │ │ ├── protocol.c │ │ │ │ └── usb.c │ │ │ └── ulink_firmware.hex │ │ ├── am335xgpio.c │ │ ├── amt_jtagaccel.c │ │ ├── angie.c │ │ ├── angie │ │ │ ├── README │ │ │ ├── angie_bitstream.bit │ │ │ ├── angie_firmware.bin │ │ │ └── include │ │ │ │ └── msgtypes.h │ │ ├── arm-jtag-ew.c │ │ ├── at91rm9200.c │ │ ├── bcm2835gpio.c │ │ ├── bitbang.c │ │ ├── bitbang.h │ │ ├── bitq.c │ │ ├── bitq.h │ │ ├── buspirate.c │ │ ├── cmsis_dap.c │ │ ├── cmsis_dap.h │ │ ├── cmsis_dap_usb_bulk.c │ │ ├── cmsis_dap_usb_hid.c │ │ ├── dmem.c │ │ ├── driver.c │ │ ├── dummy.c │ │ ├── ep93xx.c │ │ ├── esp_usb_jtag.c │ │ ├── ft232r.c │ │ ├── ftdi.c │ │ ├── gw16012.c │ │ ├── imx_gpio.c │ │ ├── jlink.c │ │ ├── jtag_dpi.c │ │ ├── jtag_vpi.c │ │ ├── kitprog.c │ │ ├── libftdi_helper.h │ │ ├── libusb_helper.c │ │ ├── libusb_helper.h │ │ ├── linuxgpiod.c │ │ ├── minidriver_imp.h │ │ ├── mpsse.c │ │ ├── mpsse.h │ │ ├── nulink_usb.c │ │ ├── opendous.c │ │ ├── openjtag.c │ │ ├── osbdm.c │ │ ├── parport.c │ │ ├── presto.c │ │ ├── remote_bitbang.c │ │ ├── rlink.c │ │ ├── rlink.h │ │ ├── rlink_call.m4 │ │ ├── rlink_dtc_cmd.h │ │ ├── rlink_ep1_cmd.h │ │ ├── rlink_init.m4 │ │ ├── rlink_speed_table.c │ │ ├── rlink_st7.h │ │ ├── rshim.c │ │ ├── stlink_usb.c │ │ ├── sysfsgpio.c │ │ ├── ti_icdi_usb.c │ │ ├── ulink.c │ │ ├── usb_blaster │ │ │ ├── Makefile.am │ │ │ ├── README.CheapClone │ │ │ ├── ublast2_access_libusb.c │ │ │ ├── ublast_access.h │ │ │ ├── ublast_access_ftdi.c │ │ │ └── usb_blaster.c │ │ ├── usbprog.c │ │ ├── vdebug.c │ │ ├── versaloon │ │ │ ├── usbtoxxx │ │ │ │ ├── usbtogpio.c │ │ │ │ ├── usbtojtagraw.c │ │ │ │ ├── usbtopwr.c │ │ │ │ ├── usbtoswd.c │ │ │ │ ├── usbtoxxx.c │ │ │ │ ├── usbtoxxx.h │ │ │ │ └── usbtoxxx_internal.h │ │ │ ├── versaloon.c │ │ │ ├── versaloon.h │ │ │ ├── versaloon_include.h │ │ │ └── versaloon_internal.h │ │ ├── vsllink.c │ │ ├── xds110.c │ │ └── xlnx-pcie-xvc.c │ ├── hla │ │ ├── Makefile.am │ │ ├── hla_interface.c │ │ ├── hla_interface.h │ │ ├── hla_layout.c │ │ ├── hla_layout.h │ │ ├── hla_transport.c │ │ └── hla_transport.h │ ├── interface.c │ ├── interface.h │ ├── interfaces.c │ ├── interfaces.h │ ├── jtag.h │ ├── minidriver.h │ ├── startup.tcl │ ├── swd.h │ ├── swim.c │ ├── swim.h │ ├── tcl.c │ └── tcl.h ├── main.c ├── openocd.c ├── openocd.h ├── pld │ ├── Makefile.am │ ├── certus.c │ ├── certus.h │ ├── ecp2_3.c │ ├── ecp2_3.h │ ├── ecp5.c │ ├── ecp5.h │ ├── efinix.c │ ├── gatemate.c │ ├── gowin.c │ ├── intel.c │ ├── lattice.c │ ├── lattice.h │ ├── lattice_bit.c │ ├── lattice_bit.h │ ├── lattice_cmd.h │ ├── pld.c │ ├── pld.h │ ├── raw_bit.c │ ├── raw_bit.h │ ├── virtex2.c │ ├── virtex2.h │ ├── xilinx_bit.c │ └── xilinx_bit.h ├── rtos │ ├── FreeRTOS.c │ ├── Makefile.am │ ├── ThreadX.c │ ├── chibios.c │ ├── chromium-ec.c │ ├── eCos.c │ ├── embKernel.c │ ├── hwthread.c │ ├── linux.c │ ├── linux_header.h │ ├── mqx.c │ ├── nuttx.c │ ├── riot.c │ ├── rtkernel.c │ ├── rtos.c │ ├── rtos.h │ ├── rtos_chibios_stackings.c │ ├── rtos_chibios_stackings.h │ ├── rtos_ecos_stackings.c │ ├── rtos_ecos_stackings.h │ ├── rtos_embkernel_stackings.c │ ├── rtos_embkernel_stackings.h │ ├── rtos_mqx_stackings.c │ ├── rtos_mqx_stackings.h │ ├── rtos_nuttx_stackings.c │ ├── rtos_nuttx_stackings.h │ ├── rtos_riot_stackings.c │ ├── rtos_riot_stackings.h │ ├── rtos_standard_stackings.c │ ├── rtos_standard_stackings.h │ ├── rtos_ucos_iii_stackings.c │ ├── rtos_ucos_iii_stackings.h │ ├── uCOS-III.c │ └── zephyr.c ├── rtt │ ├── Makefile.am │ ├── rtt.c │ ├── rtt.h │ └── tcl.c ├── server │ ├── Makefile.am │ ├── gdb_server.c │ ├── gdb_server.h │ ├── ipdbg.c │ ├── ipdbg.h │ ├── rtt_server.c │ ├── rtt_server.h │ ├── server.c │ ├── server.h │ ├── startup.tcl │ ├── tcl_server.c │ ├── tcl_server.h │ ├── telnet_server.c │ └── telnet_server.h ├── svf │ ├── Makefile.am │ ├── svf.c │ └── svf.h ├── target │ ├── Makefile.am │ ├── a64_disassembler.c │ ├── a64_disassembler.h │ ├── aarch64.c │ ├── aarch64.h │ ├── adi_v5_dapdirect.c │ ├── adi_v5_jtag.c │ ├── adi_v5_swd.c │ ├── algorithm.c │ ├── algorithm.h │ ├── arc.c │ ├── arc.h │ ├── arc_cmd.c │ ├── arc_cmd.h │ ├── arc_jtag.c │ ├── arc_jtag.h │ ├── arc_mem.c │ ├── arc_mem.h │ ├── arm.h │ ├── arm11.c │ ├── arm11.h │ ├── arm11_dbgtap.c │ ├── arm11_dbgtap.h │ ├── arm720t.c │ ├── arm720t.h │ ├── arm7_9_common.c │ ├── arm7_9_common.h │ ├── arm7tdmi.c │ ├── arm7tdmi.h │ ├── arm920t.c │ ├── arm920t.h │ ├── arm926ejs.c │ ├── arm926ejs.h │ ├── arm946e.c │ ├── arm946e.h │ ├── arm966e.c │ ├── arm966e.h │ ├── arm9tdmi.c │ ├── arm9tdmi.h │ ├── arm_adi_v5.c │ ├── arm_adi_v5.h │ ├── arm_coresight.h │ ├── arm_cti.c │ ├── arm_cti.h │ ├── arm_dap.c │ ├── arm_disassembler.c │ ├── arm_disassembler.h │ ├── arm_dpm.c │ ├── arm_dpm.h │ ├── arm_jtag.c │ ├── arm_jtag.h │ ├── arm_opcodes.h │ ├── arm_semihosting.c │ ├── arm_semihosting.h │ ├── arm_simulator.c │ ├── arm_simulator.h │ ├── arm_tpiu_swo.c │ ├── arm_tpiu_swo.h │ ├── armv4_5.c │ ├── armv4_5.h │ ├── armv4_5_cache.c │ ├── armv4_5_cache.h │ ├── armv4_5_mmu.c │ ├── armv4_5_mmu.h │ ├── armv7a.c │ ├── armv7a.h │ ├── armv7a_cache.c │ ├── armv7a_cache.h │ ├── armv7a_cache_l2x.c │ ├── armv7a_cache_l2x.h │ ├── armv7a_mmu.c │ ├── armv7a_mmu.h │ ├── armv7m.c │ ├── armv7m.h │ ├── armv7m_trace.c │ ├── armv7m_trace.h │ ├── armv8.c │ ├── armv8.h │ ├── armv8_cache.c │ ├── armv8_cache.h │ ├── armv8_dpm.c │ ├── armv8_dpm.h │ ├── armv8_opcodes.c │ ├── armv8_opcodes.h │ ├── avr32_ap7k.c │ ├── avr32_ap7k.h │ ├── avr32_jtag.c │ ├── avr32_jtag.h │ ├── avr32_mem.c │ ├── avr32_mem.h │ ├── avr32_regs.c │ ├── avr32_regs.h │ ├── avrt.c │ ├── avrt.h │ ├── breakpoints.c │ ├── breakpoints.h │ ├── cortex_a.c │ ├── cortex_a.h │ ├── cortex_m.c │ ├── cortex_m.h │ ├── dsp563xx.c │ ├── dsp563xx.h │ ├── dsp563xx_once.c │ ├── dsp563xx_once.h │ ├── dsp5680xx.c │ ├── dsp5680xx.h │ ├── embeddedice.c │ ├── embeddedice.h │ ├── esirisc.c │ ├── esirisc.h │ ├── esirisc_jtag.c │ ├── esirisc_jtag.h │ ├── esirisc_regs.h │ ├── esirisc_trace.c │ ├── esirisc_trace.h │ ├── espressif │ │ ├── Makefile.am │ │ ├── esp.c │ │ ├── esp.h │ │ ├── esp32.c │ │ ├── esp32_apptrace.c │ │ ├── esp32_apptrace.h │ │ ├── esp32_sysview.c │ │ ├── esp32_sysview.h │ │ ├── esp32s2.c │ │ ├── esp32s3.c │ │ ├── esp_algorithm.c │ │ ├── esp_algorithm.h │ │ ├── esp_semihosting.c │ │ ├── esp_semihosting.h │ │ ├── esp_xtensa.c │ │ ├── esp_xtensa.h │ │ ├── esp_xtensa_algorithm.c │ │ ├── esp_xtensa_algorithm.h │ │ ├── esp_xtensa_apptrace.c │ │ ├── esp_xtensa_apptrace.h │ │ ├── esp_xtensa_semihosting.c │ │ ├── esp_xtensa_semihosting.h │ │ ├── esp_xtensa_smp.c │ │ ├── esp_xtensa_smp.h │ │ └── segger_sysview.h │ ├── etb.c │ ├── etb.h │ ├── etm.c │ ├── etm.h │ ├── etm_dummy.c │ ├── etm_dummy.h │ ├── fa526.c │ ├── feroceon.c │ ├── hla_target.c │ ├── image.c │ ├── image.h │ ├── lakemont.c │ ├── lakemont.h │ ├── ls1_sap.c │ ├── mem_ap.c │ ├── mem_ap.h │ ├── mips32.c │ ├── mips32.h │ ├── mips32_dmaacc.c │ ├── mips32_dmaacc.h │ ├── mips32_pracc.c │ ├── mips32_pracc.h │ ├── mips64.c │ ├── mips64.h │ ├── mips64_pracc.c │ ├── mips64_pracc.h │ ├── mips_cpu.h │ ├── mips_ejtag.c │ ├── mips_ejtag.h │ ├── mips_m4k.c │ ├── mips_m4k.h │ ├── mips_mips64.c │ ├── mips_mips64.h │ ├── openrisc │ │ ├── Makefile.am │ │ ├── jsp_server.c │ │ ├── jsp_server.h │ │ ├── or1k.c │ │ ├── or1k.h │ │ ├── or1k_du.h │ │ ├── or1k_du_adv.c │ │ ├── or1k_tap.h │ │ ├── or1k_tap_mohor.c │ │ ├── or1k_tap_vjtag.c │ │ └── or1k_tap_xilinx_bscan.c │ ├── quark_d20xx.c │ ├── quark_x10xx.c │ ├── register.c │ ├── register.h │ ├── riscv │ │ ├── Makefile.am │ │ ├── asm.h │ │ ├── batch.c │ │ ├── batch.h │ │ ├── debug_defines.c │ │ ├── debug_defines.h │ │ ├── debug_reg_printer.c │ │ ├── debug_reg_printer.h │ │ ├── encoding.h │ │ ├── field_helpers.h │ │ ├── gdb_regs.h │ │ ├── opcodes.h │ │ ├── program.c │ │ ├── program.h │ │ ├── riscv-011.c │ │ ├── riscv-013.c │ │ ├── riscv.c │ │ ├── riscv.h │ │ └── riscv_semihosting.c │ ├── rtt.c │ ├── rtt.h │ ├── semihosting_common.c │ ├── semihosting_common.h │ ├── smp.c │ ├── smp.h │ ├── startup.tcl │ ├── stm8.c │ ├── stm8.h │ ├── target.c │ ├── target.h │ ├── target_request.c │ ├── target_request.h │ ├── target_type.h │ ├── testee.c │ ├── trace.c │ ├── trace.h │ ├── x86_32_common.c │ ├── x86_32_common.h │ ├── xscale.c │ ├── xscale.h │ └── xtensa │ │ ├── Makefile.am │ │ ├── xtensa.c │ │ ├── xtensa.h │ │ ├── xtensa_chip.c │ │ ├── xtensa_chip.h │ │ ├── xtensa_debug_module.c │ │ ├── xtensa_debug_module.h │ │ ├── xtensa_fileio.c │ │ ├── xtensa_fileio.h │ │ └── xtensa_regs.h ├── transport │ ├── Makefile.am │ ├── transport.c │ └── transport.h └── xsvf │ ├── Makefile.am │ ├── xsvf.c │ └── xsvf.h ├── tcl ├── bitsbytes.tcl ├── board │ ├── 8devices-lima.cfg │ ├── actux3.cfg │ ├── adapteva_parallella1.cfg │ ├── adsp-sc584-ezbrd.cfg │ ├── advantech_imx8qm_dmsse20.cfg │ ├── alphascale_asm9260_ek.cfg │ ├── altera_sockit.cfg │ ├── am3517evm.cfg │ ├── ampere_emag8180.cfg │ ├── ampere_qs_mq_1s.cfg │ ├── ampere_qs_mq_2s.cfg │ ├── arm_evaluator7t.cfg │ ├── arm_musca_a.cfg │ ├── arty_s7.cfg │ ├── asus-rt-n16.cfg │ ├── asus-rt-n66u.cfg │ ├── at91cap7a-stk-sdram.cfg │ ├── at91eb40a.cfg │ ├── at91rm9200-dk.cfg │ ├── at91rm9200-ek.cfg │ ├── at91sam9261-ek.cfg │ ├── at91sam9263-ek.cfg │ ├── at91sam9g20-ek.cfg │ ├── atmel_at91sam7s-ek.cfg │ ├── atmel_at91sam9260-ek.cfg │ ├── atmel_at91sam9rl-ek.cfg │ ├── atmel_sam3n_ek.cfg │ ├── atmel_sam3s_ek.cfg │ ├── atmel_sam3u_ek.cfg │ ├── atmel_sam3x_ek.cfg │ ├── atmel_sam4e_ek.cfg │ ├── atmel_sam4l8_xplained_pro.cfg │ ├── atmel_sam4s_ek.cfg │ ├── atmel_sam4s_xplained_pro.cfg │ ├── atmel_samc20_xplained_pro.cfg │ ├── atmel_samc21_xplained_pro.cfg │ ├── atmel_samd10_xplained_mini.cfg │ ├── atmel_samd11_xplained_pro.cfg │ ├── atmel_samd20_xplained_pro.cfg │ ├── atmel_samd21_xplained_pro.cfg │ ├── atmel_same70_xplained.cfg │ ├── atmel_samg53_xplained_pro.cfg │ ├── atmel_samg55_xplained_pro.cfg │ ├── atmel_saml21_xplained_pro.cfg │ ├── atmel_samr21_xplained_pro.cfg │ ├── atmel_samv71_xplained_ultra.cfg │ ├── avnet_ultrazed-eg.cfg │ ├── balloon3-cpu.cfg │ ├── bcm28155_ap.cfg │ ├── bemicro_cycloneiii.cfg │ ├── bluefield.cfg │ ├── bt-homehubv1.cfg │ ├── calao-usb-a9260.cfg │ ├── calao-usb-a9g20-c01.cfg │ ├── certuspro_evaluation.cfg │ ├── colibri.cfg │ ├── crossbow_tech_imote2.cfg │ ├── csb337.cfg │ ├── csb732.cfg │ ├── da850evm.cfg │ ├── digi_connectcore_wi-9c.cfg │ ├── digilent_analog_discovery.cfg │ ├── digilent_atlys.cfg │ ├── digilent_cmod_s7.cfg │ ├── digilent_nexys_video.cfg │ ├── digilent_zedboard.cfg │ ├── diolan_lpc4350-db1.cfg │ ├── diolan_lpc4357-db1.cfg │ ├── dk-tm4c129.cfg │ ├── dm355evm.cfg │ ├── dm365evm.cfg │ ├── dm6446evm.cfg │ ├── dp_busblaster_v3.cfg │ ├── dp_busblaster_v4.cfg │ ├── dptechnics_dpt-board-v1.cfg │ ├── ecp5_evaluation.cfg │ ├── efikamx.cfg │ ├── efm32.cfg │ ├── eir.cfg │ ├── ek-lm3s1968.cfg │ ├── ek-lm3s3748.cfg │ ├── ek-lm3s6965.cfg │ ├── ek-lm3s811-revb.cfg │ ├── ek-lm3s811.cfg │ ├── ek-lm3s8962.cfg │ ├── ek-lm3s9b9x.cfg │ ├── ek-lm3s9d92.cfg │ ├── ek-lm4f120xl.cfg │ ├── ek-lm4f232.cfg │ ├── ek-tm4c123gxl.cfg │ ├── ek-tm4c1294xl.cfg │ ├── embedded-artists_lpc2478-32.cfg │ ├── emcraft_imx8m-som-bsb.cfg │ ├── emcraft_twr-vf6-som-bsb.cfg │ ├── emcraft_vf6-som.cfg │ ├── esp32-bridge.cfg │ ├── esp32-ethernet-kit-3.3v.cfg │ ├── esp32-wrover-kit-1.8v.cfg │ ├── esp32-wrover-kit-3.3v.cfg │ ├── esp32s2-bridge.cfg │ ├── esp32s2-kaluga-1.cfg │ ├── esp32s3-bridge.cfg │ ├── esp32s3-builtin.cfg │ ├── esp32s3-ftdi.cfg │ ├── ethernut3.cfg │ ├── evb-lan9255.cfg │ ├── frdm-kl25z.cfg │ ├── frdm-kl46z.cfg │ ├── fsl_imx6q_sabresd.cfg │ ├── gatemate_eval.cfg │ ├── glyn_tonga2.cfg │ ├── gowin_runber.cfg │ ├── gti │ │ └── espressobin.cfg │ ├── gumstix-aerocore.cfg │ ├── hammer.cfg │ ├── hilscher_nxdb500sys.cfg │ ├── hilscher_nxeb500hmi.cfg │ ├── hilscher_nxhx10.cfg │ ├── hilscher_nxhx50.cfg │ ├── hilscher_nxhx500.cfg │ ├── hilscher_nxsb100.cfg │ ├── hitex_lpc1768stick.cfg │ ├── hitex_lpc2929.cfg │ ├── hitex_stm32-performancestick.cfg │ ├── hitex_str9-comstick.cfg │ ├── iar_lpc1768.cfg │ ├── iar_str912_sk.cfg │ ├── icnova_imx53_sodimm.cfg │ ├── icnova_sam9g45_sodimm.cfg │ ├── imx27ads.cfg │ ├── imx27lnst.cfg │ ├── imx28evk.cfg │ ├── imx31pdk.cfg │ ├── imx35pdk.cfg │ ├── imx53-m53evk.cfg │ ├── imx53loco.cfg │ ├── imx8mp-evk.cfg │ ├── insignal_arndale.cfg │ ├── kasli.cfg │ ├── kc100.cfg │ ├── kc705.cfg │ ├── kcu105.cfg │ ├── keil_mcb1700.cfg │ ├── keil_mcb2140.cfg │ ├── kindle2.cfg │ ├── kontron_sl28.cfg │ ├── kwikstik.cfg │ ├── la_fonera-fon2200.cfg │ ├── lambdaconcept_ecpix-5.cfg │ ├── lemaker_hikey.cfg │ ├── linksys-wag200g.cfg │ ├── linksys-wrt54gl.cfg │ ├── linksys_nslu2.cfg │ ├── lisa-l.cfg │ ├── logicpd_imx27.cfg │ ├── lpc1850_spifi_generic.cfg │ ├── lpc4350_spifi_generic.cfg │ ├── lubbock.cfg │ ├── marsohod.cfg │ ├── marsohod2.cfg │ ├── marsohod3.cfg │ ├── mbed-lpc11u24.cfg │ ├── mbed-lpc1768.cfg │ ├── mcb1700.cfg │ ├── microchip_explorer16.cfg │ ├── microchip_sama5d27_som1_kit1.cfg │ ├── microchip_same51_curiosity_nano.cfg │ ├── microchip_same54_xplained_pro.cfg │ ├── microchip_saml11_xplained_pro.cfg │ ├── mini2440.cfg │ ├── mini6410.cfg │ ├── minispartan6.cfg │ ├── nds32_corvettef1.cfg │ ├── nds32_xc7.cfg │ ├── netgear-dg834v3.cfg │ ├── netgear-wg102.cfg │ ├── nordic_nrf51822_mkit.cfg │ ├── nordic_nrf51_dk.cfg │ ├── nordic_nrf52_dk.cfg │ ├── nordic_nrf52_ftx232.cfg │ ├── novena-internal-fpga.cfg │ ├── npcx_evb.cfg │ ├── numato_mimas_a7.cfg │ ├── numato_opsis.cfg │ ├── nxp_frdm-k64f.cfg │ ├── nxp_frdm-ls1012a.cfg │ ├── nxp_imx7sabre.cfg │ ├── nxp_lpc-link2.cfg │ ├── nxp_mcimx8m-evk.cfg │ ├── nxp_rdb-ls1046a.cfg │ ├── nxp_rdb-ls1088a.cfg │ ├── olimex_LPC2378STK.cfg │ ├── olimex_lpc_h2148.cfg │ ├── olimex_sam7_ex256.cfg │ ├── olimex_sam7_la2.cfg │ ├── olimex_sam9_l9260.cfg │ ├── olimex_stm32_h103.cfg │ ├── olimex_stm32_h107.cfg │ ├── olimex_stm32_h405.cfg │ ├── olimex_stm32_p107.cfg │ ├── omap2420_h4.cfg │ ├── openrd.cfg │ ├── or1k_generic.cfg │ ├── osk5912.cfg │ ├── phone_se_j100i.cfg │ ├── phytec_lpc3250.cfg │ ├── pic-p32mx.cfg │ ├── pico-debug.cfg │ ├── pipistrello.cfg │ ├── propox_mmnet1001.cfg │ ├── pxa255_sst.cfg │ ├── quark_d2000_refboard.cfg │ ├── quark_x10xx_board.cfg │ ├── quicklogic_quickfeather.cfg │ ├── radiona_ulx3s.cfg │ ├── redbee.cfg │ ├── reflexces_achilles_i-dev_kit_arria10.cfg │ ├── renesas_dk-s7g2.cfg │ ├── renesas_falcon.cfg │ ├── renesas_gr_peach.cfg │ ├── renesas_porter.cfg │ ├── renesas_salvator-xs.cfg │ ├── renesas_silk.cfg │ ├── renesas_stout.cfg │ ├── rigado_bmd300_ek.cfg │ ├── rpi3.cfg │ ├── rpi4b.cfg │ ├── rsc-w910.cfg │ ├── sayma_amc.cfg │ ├── sheevaplug.cfg │ ├── sifive-e31arty.cfg │ ├── sifive-e51arty.cfg │ ├── sifive-hifive1-revb.cfg │ ├── sifive-hifive1.cfg │ ├── smdk6410.cfg │ ├── snps_em_sk.cfg │ ├── snps_em_sk_v1.cfg │ ├── snps_em_sk_v2.1.cfg │ ├── snps_em_sk_v2.2.cfg │ ├── snps_hsdk.cfg │ ├── snps_hsdk_4xd.cfg │ ├── spansion_sk-fm4-176l-s6e2cc.cfg │ ├── spansion_sk-fm4-u120-9b560.cfg │ ├── spear300evb.cfg │ ├── spear300evb_mod.cfg │ ├── spear310evb20.cfg │ ├── spear310evb20_mod.cfg │ ├── spear320cpu.cfg │ ├── spear320cpu_mod.cfg │ ├── st_b-l475e-iot01a.cfg │ ├── st_nucleo_8l152r8.cfg │ ├── st_nucleo_8s208rb.cfg │ ├── st_nucleo_f0.cfg │ ├── st_nucleo_f103rb.cfg │ ├── st_nucleo_f3.cfg │ ├── st_nucleo_f4.cfg │ ├── st_nucleo_f7.cfg │ ├── st_nucleo_g0.cfg │ ├── st_nucleo_g4.cfg │ ├── st_nucleo_h743zi.cfg │ ├── st_nucleo_h745zi.cfg │ ├── st_nucleo_l073rz.cfg │ ├── st_nucleo_l1.cfg │ ├── st_nucleo_l4.cfg │ ├── st_nucleo_l5.cfg │ ├── st_nucleo_wb55.cfg │ ├── steval-idb007v1.cfg │ ├── steval-idb008v1.cfg │ ├── steval-idb011v1.cfg │ ├── steval-idb012v1.cfg │ ├── steval_pcc010.cfg │ ├── stm320518_eval.cfg │ ├── stm320518_eval_stlink.cfg │ ├── stm32100b_eval.cfg │ ├── stm3210b_eval.cfg │ ├── stm3210c_eval.cfg │ ├── stm3210e_eval.cfg │ ├── stm3220g_eval.cfg │ ├── stm3220g_eval_stlink.cfg │ ├── stm3241g_eval.cfg │ ├── stm3241g_eval_stlink.cfg │ ├── stm32429i_eval.cfg │ ├── stm32429i_eval_stlink.cfg │ ├── stm32439i_eval.cfg │ ├── stm32439i_eval_stlink.cfg │ ├── stm327x6g_eval.cfg │ ├── stm32f0discovery.cfg │ ├── stm32f103c8_blue_pill.cfg │ ├── stm32f334discovery.cfg │ ├── stm32f3discovery.cfg │ ├── stm32f412g-disco.cfg │ ├── stm32f413h-disco.cfg │ ├── stm32f429disc1.cfg │ ├── stm32f429discovery.cfg │ ├── stm32f469discovery.cfg │ ├── stm32f469i-disco.cfg │ ├── stm32f4discovery.cfg │ ├── stm32f723e-disco.cfg │ ├── stm32f746g-disco.cfg │ ├── stm32f769i-disco.cfg │ ├── stm32f7discovery.cfg │ ├── stm32h735g-disco.cfg │ ├── stm32h745i-disco.cfg │ ├── stm32h747i-disco.cfg │ ├── stm32h750b-disco.cfg │ ├── stm32h7b3i-disco.cfg │ ├── stm32h7x3i_eval.cfg │ ├── stm32h7x_dual_qspi.cfg │ ├── stm32l0discovery.cfg │ ├── stm32l476g-disco.cfg │ ├── stm32l496g-disco.cfg │ ├── stm32l4discovery.cfg │ ├── stm32l4p5g-disco.cfg │ ├── stm32l4r9i-disco.cfg │ ├── stm32ldiscovery.cfg │ ├── stm32mp13x_dk.cfg │ ├── stm32mp15x_dk2.cfg │ ├── stm32vldiscovery.cfg │ ├── str910-eval.cfg │ ├── telo.cfg │ ├── ti_am243_launchpad.cfg │ ├── ti_am263_launchpad.cfg │ ├── ti_am273_launchpad.cfg │ ├── ti_am335xevm.cfg │ ├── ti_am437x_idk.cfg │ ├── ti_am43xx_evm.cfg │ ├── ti_am625_swd_native.cfg │ ├── ti_am625evm.cfg │ ├── ti_am62a7evm.cfg │ ├── ti_am62pevm.cfg │ ├── ti_am642evm.cfg │ ├── ti_am654evm.cfg │ ├── ti_beagleboard.cfg │ ├── ti_beagleboard_xm.cfg │ ├── ti_beaglebone-base.cfg │ ├── ti_beaglebone.cfg │ ├── ti_beaglebone_black.cfg │ ├── ti_blaze.cfg │ ├── ti_cc13x0_launchpad.cfg │ ├── ti_cc13x2_launchpad.cfg │ ├── ti_cc26x0_launchpad.cfg │ ├── ti_cc26x2_launchpad.cfg │ ├── ti_cc3200_launchxl.cfg │ ├── ti_cc3220sf_launchpad.cfg │ ├── ti_cc32xx_launchpad.cfg │ ├── ti_dk-tm4c129.cfg │ ├── ti_ek-tm4c123gxl.cfg │ ├── ti_ek-tm4c1294xl.cfg │ ├── ti_j7200evm.cfg │ ├── ti_j721e_swd_native.cfg │ ├── ti_j721evm.cfg │ ├── ti_j721s2evm.cfg │ ├── ti_j722sevm.cfg │ ├── ti_j784s4evm.cfg │ ├── ti_msp432_launchpad.cfg │ ├── ti_pandaboard.cfg │ ├── ti_pandaboard_es.cfg │ ├── ti_tmdx570ls20susb.cfg │ ├── ti_tmdx570ls31usb.cfg │ ├── tocoding_poplar.cfg │ ├── topas910.cfg │ ├── topasa900.cfg │ ├── tp-link_tl-mr3020.cfg │ ├── tp-link_wdr4300.cfg │ ├── trion_t20_bga256.cfg │ ├── twr-k60f120m.cfg │ ├── twr-k60n512.cfg │ ├── twr-vf65gs10.cfg │ ├── twr-vf65gs10_cmsisdap.cfg │ ├── tx25_stk5.cfg │ ├── tx27_stk5.cfg │ ├── unknown_at91sam9260.cfg │ ├── uptech_2410.cfg │ ├── vd_a53x2_dap.cfg │ ├── vd_a53x2_jtag.cfg │ ├── vd_a75x4_dap.cfg │ ├── vd_a75x4_jtag.cfg │ ├── vd_m4_dap.cfg │ ├── vd_m4_jtag.cfg │ ├── vd_m7_jtag.cfg │ ├── vd_pulpissimo_jtag.cfg │ ├── vd_swerv_jtag.cfg │ ├── vd_xt8_jtag.cfg │ ├── verdex.cfg │ ├── voipac.cfg │ ├── voltcraft_dso-3062c.cfg │ ├── x300t.cfg │ ├── xmc-2go.cfg │ ├── xmc1100-boot-kit.cfg │ ├── xmc4200-application-kit-actuator.cfg │ ├── xmc4300-relax.cfg │ ├── xmc4500-application-kit-general.cfg │ ├── xmc4500-application-kit-sdram.cfg │ ├── xmc4500-relax.cfg │ ├── xmc4700-relax.cfg │ ├── xmc4800-relax.cfg │ ├── xmos_xk-xac-xa8_arm.cfg │ ├── xtensa-kc705-ext-dap.cfg │ ├── xtensa-kc705-ext.cfg │ ├── xtensa-kc705-onboard.cfg │ ├── xtensa-palladium-vdebug-dual.cfg │ ├── xtensa-palladium-vdebug.cfg │ └── xtensa-rt685-ext.cfg ├── chip │ ├── atmel │ │ └── at91 │ │ │ ├── aic.tcl │ │ │ ├── at91_pio.cfg │ │ │ ├── at91_pmc.cfg │ │ │ ├── at91_rstc.cfg │ │ │ ├── at91_wdt.cfg │ │ │ ├── at91sam7x128.tcl │ │ │ ├── at91sam7x256.tcl │ │ │ ├── at91sam9261.cfg │ │ │ ├── at91sam9261_matrix.cfg │ │ │ ├── at91sam9263.cfg │ │ │ ├── at91sam9263_matrix.cfg │ │ │ ├── at91sam9_init.cfg │ │ │ ├── at91sam9_sdramc.cfg │ │ │ ├── at91sam9_smc.cfg │ │ │ ├── hardware.cfg │ │ │ ├── pmc.tcl │ │ │ ├── rtt.tcl │ │ │ ├── sam9_smc.cfg │ │ │ └── usarts.tcl │ ├── st │ │ ├── spear │ │ │ ├── quirk_no_srst.tcl │ │ │ ├── spear3xx.tcl │ │ │ └── spear3xx_ddr.tcl │ │ └── stm32 │ │ │ ├── stm32.tcl │ │ │ ├── stm32_rcc.tcl │ │ │ └── stm32_regs.tcl │ └── ti │ │ └── lm3s │ │ ├── lm3s.tcl │ │ └── lm3s_regs.tcl ├── cpld │ ├── altera-5m570z-cpld.cfg │ ├── altera-epm240.cfg │ ├── altera-max10.cfg │ ├── altera-maxii.cfg │ ├── altera-maxv.cfg │ ├── jtagspi.cfg │ ├── lattice-lc4032ze.cfg │ ├── xilinx-xc3s.cfg │ ├── xilinx-xc4v.cfg │ ├── xilinx-xc4vfx_40_60_100_140.cfg │ ├── xilinx-xc5v.cfg │ ├── xilinx-xc5vfx_100_130_200.cfg │ ├── xilinx-xc6s.cfg │ ├── xilinx-xc6v.cfg │ ├── xilinx-xc7.cfg │ ├── xilinx-xc7v.cfg │ ├── xilinx-xc7vh580t.cfg │ ├── xilinx-xc7vh870t.cfg │ ├── xilinx-xcf-p.cfg │ ├── xilinx-xcf-s.cfg │ ├── xilinx-xcr3256.cfg │ └── xilinx-xcu.cfg ├── cpu │ ├── arc │ │ ├── common.tcl │ │ ├── em.tcl │ │ ├── hs.tcl │ │ └── v2.tcl │ └── arm │ │ ├── arm7tdmi.tcl │ │ ├── arm920.tcl │ │ ├── arm946.tcl │ │ ├── arm966.tcl │ │ └── cortex_m3.tcl ├── fpga │ ├── altera-10m50.cfg │ ├── altera-arriaii.cfg │ ├── altera-cyclone10.cfg │ ├── altera-cycloneiii.cfg │ ├── altera-cycloneiv.cfg │ ├── altera-cyclonev.cfg │ ├── altera-ep3c10.cfg │ ├── efinix_titanium.cfg │ ├── efinix_trion.cfg │ ├── gatemate.cfg │ ├── gowin_gw1n.cfg │ ├── lattice_certus.cfg │ ├── lattice_certuspro.cfg │ ├── lattice_ecp2.cfg │ ├── lattice_ecp3.cfg │ ├── lattice_ecp5.cfg │ ├── lattice_machxo3.cfg │ ├── xilinx-dna.cfg │ └── xilinx-xadc.cfg ├── interface │ ├── altera-usb-blaster.cfg │ ├── altera-usb-blaster2.cfg │ ├── angie.cfg │ ├── arm-jtag-ew.cfg │ ├── ast2600-gpiod.cfg │ ├── at91rm9200.cfg │ ├── beaglebone-jtag-native.cfg │ ├── beaglebone-swd-native.cfg │ ├── buspirate.cfg │ ├── chameleon.cfg │ ├── cmsis-dap.cfg │ ├── dln-2-gpiod.cfg │ ├── dummy.cfg │ ├── esp_usb_bridge.cfg │ ├── esp_usb_jtag.cfg │ ├── estick.cfg │ ├── flashlink.cfg │ ├── ft232r.cfg │ ├── ft232r │ │ └── radiona_ulx3s.cfg │ ├── ftdi │ │ ├── 100ask-openjtag.cfg │ │ ├── ashling-opella-ld-jtag.cfg │ │ ├── ashling-opella-ld-swd.cfg │ │ ├── axm0432.cfg │ │ ├── c232hm.cfg │ │ ├── cortino.cfg │ │ ├── digilent-hs1.cfg │ │ ├── digilent-hs2.cfg │ │ ├── digilent_jtag_hs3.cfg │ │ ├── digilent_jtag_smt2.cfg │ │ ├── digilent_jtag_smt2_nc.cfg │ │ ├── dlp-usb1232h.cfg │ │ ├── dp_busblaster.cfg │ │ ├── dp_busblaster_kt-link.cfg │ │ ├── esp32_devkitj_v1.cfg │ │ ├── esp32s2_kaluga_v1.cfg │ │ ├── flossjtag-noeeprom.cfg │ │ ├── flossjtag.cfg │ │ ├── flyswatter.cfg │ │ ├── flyswatter2.cfg │ │ ├── ft232h-module-swd.cfg │ │ ├── gw16042.cfg │ │ ├── hie-jtag.cfg │ │ ├── hilscher_nxhx10_etm.cfg │ │ ├── hilscher_nxhx500_etm.cfg │ │ ├── hilscher_nxhx500_re.cfg │ │ ├── hilscher_nxhx50_etm.cfg │ │ ├── hilscher_nxhx50_re.cfg │ │ ├── hitex_lpc1768stick.cfg │ │ ├── hitex_str9-comstick.cfg │ │ ├── icebear.cfg │ │ ├── imx8mp-evk.cfg │ │ ├── incircuit-icprog.cfg │ │ ├── iotlab-usb.cfg │ │ ├── isodebug.cfg │ │ ├── jtag-lock-pick_tiny_2.cfg │ │ ├── jtagkey.cfg │ │ ├── jtagkey2.cfg │ │ ├── jtagkey2p.cfg │ │ ├── kt-link.cfg │ │ ├── lambdaconcept_ecpix-5.cfg │ │ ├── lisa-l.cfg │ │ ├── luminary-icdi.cfg │ │ ├── luminary-lm3s811.cfg │ │ ├── luminary.cfg │ │ ├── m53evk.cfg │ │ ├── mbftdi.cfg │ │ ├── minimodule-swd.cfg │ │ ├── minimodule.cfg │ │ ├── minispartan6.cfg │ │ ├── miniwiggler.cfg │ │ ├── neodb.cfg │ │ ├── ngxtech.cfg │ │ ├── olimex-arm-jtag-swd.cfg │ │ ├── olimex-arm-usb-ocd-h.cfg │ │ ├── olimex-arm-usb-ocd.cfg │ │ ├── olimex-arm-usb-tiny-h.cfg │ │ ├── olimex-jtag-tiny.cfg │ │ ├── oocdlink.cfg │ │ ├── opendous_ftdi.cfg │ │ ├── openocd-usb-hs.cfg │ │ ├── openocd-usb.cfg │ │ ├── openrd.cfg │ │ ├── pipistrello.cfg │ │ ├── pls_spc5.cfg │ │ ├── redbee-econotag.cfg │ │ ├── redbee-usb.cfg │ │ ├── rowley-cc-arm-swd.cfg │ │ ├── sheevaplug.cfg │ │ ├── signalyzer-lite.cfg │ │ ├── signalyzer.cfg │ │ ├── sipeed-rv-debugger.cfg │ │ ├── snps_sdp.cfg │ │ ├── steppenprobe.cfg │ │ ├── stm32-stick.cfg │ │ ├── swd-resistor-hack.cfg │ │ ├── ti-icdi.cfg │ │ ├── tigard.cfg │ │ ├── tumpa-lite.cfg │ │ ├── tumpa.cfg │ │ ├── turtelizer2-revB.cfg │ │ ├── turtelizer2-revC.cfg │ │ ├── um232h.cfg │ │ ├── vpaclink.cfg │ │ ├── xds100v2.cfg │ │ ├── xds100v3.cfg │ │ └── xt_kc705_ml605.cfg │ ├── imx-native.cfg │ ├── jlink.cfg │ ├── jtag_dpi.cfg │ ├── jtag_hat_rpi2.cfg │ ├── jtag_vpi.cfg │ ├── kitprog.cfg │ ├── nulink.cfg │ ├── opendous.cfg │ ├── openjtag.cfg │ ├── osbdm.cfg │ ├── parport.cfg │ ├── parport_dlc5.cfg │ ├── raspberrypi-gpio-connector.cfg │ ├── raspberrypi-native.cfg │ ├── raspberrypi2-native.cfg │ ├── rlink.cfg │ ├── rshim.cfg │ ├── stlink-dap.cfg │ ├── stlink-v1.cfg │ ├── stlink-v2-1.cfg │ ├── stlink-v2.cfg │ ├── stlink.cfg │ ├── sysfsgpio-raspberrypi.cfg │ ├── ti-icdi.cfg │ ├── ulink.cfg │ ├── usb-jtag.cfg │ ├── usbprog.cfg │ ├── vdebug.cfg │ ├── vsllink.cfg │ └── xds110.cfg ├── mem_helper.tcl ├── memory.tcl ├── mmr_helpers.tcl ├── target │ ├── 1986ве1т.cfg │ ├── adsp-sc58x.cfg │ ├── aduc702x.cfg │ ├── aducm360.cfg │ ├── allwinner_v3s.cfg │ ├── alphascale_asm9260t.cfg │ ├── altera_fpgasoc.cfg │ ├── altera_fpgasoc_arria10.cfg │ ├── am335x.cfg │ ├── am437x.cfg │ ├── amdm37x.cfg │ ├── ampere_emag.cfg │ ├── ampere_qs_mq.cfg │ ├── ar71xx.cfg │ ├── arm_corelink_sse200.cfg │ ├── armada370.cfg │ ├── at32ap7000.cfg │ ├── at91r40008.cfg │ ├── at91rm9200.cfg │ ├── at91sam3XXX.cfg │ ├── at91sam3ax_4x.cfg │ ├── at91sam3ax_8x.cfg │ ├── at91sam3ax_xx.cfg │ ├── at91sam3nXX.cfg │ ├── at91sam3sXX.cfg │ ├── at91sam3u1c.cfg │ ├── at91sam3u1e.cfg │ ├── at91sam3u2c.cfg │ ├── at91sam3u2e.cfg │ ├── at91sam3u4c.cfg │ ├── at91sam3u4e.cfg │ ├── at91sam3uxx.cfg │ ├── at91sam4XXX.cfg │ ├── at91sam4c32x.cfg │ ├── at91sam4cXXX.cfg │ ├── at91sam4lXX.cfg │ ├── at91sam4sXX.cfg │ ├── at91sam4sd32x.cfg │ ├── at91sam7a2.cfg │ ├── at91sam7se512.cfg │ ├── at91sam7sx.cfg │ ├── at91sam7x256.cfg │ ├── at91sam7x512.cfg │ ├── at91sam9.cfg │ ├── at91sam9260.cfg │ ├── at91sam9260_ext_RAM_ext_flash.cfg │ ├── at91sam9261.cfg │ ├── at91sam9263.cfg │ ├── at91sam9g10.cfg │ ├── at91sam9g20.cfg │ ├── at91sam9g45.cfg │ ├── at91sam9rl.cfg │ ├── at91sama5d2.cfg │ ├── at91samdXX.cfg │ ├── at91samg5x.cfg │ ├── atheros_ar2313.cfg │ ├── atheros_ar2315.cfg │ ├── atheros_ar9331.cfg │ ├── atheros_ar9344.cfg │ ├── atmega128.cfg │ ├── atmega128rfa1.cfg │ ├── atmega32u4.cfg │ ├── atsame5x.cfg │ ├── atsaml1x.cfg │ ├── atsamv.cfg │ ├── avr32.cfg │ ├── bcm2711.cfg │ ├── bcm281xx.cfg │ ├── bcm2835.cfg │ ├── bcm2836.cfg │ ├── bcm2837.cfg │ ├── bcm4706.cfg │ ├── bcm4718.cfg │ ├── bcm47xx.cfg │ ├── bcm5352e.cfg │ ├── bcm6348.cfg │ ├── bluefield.cfg │ ├── bluenrg-x.cfg │ ├── c100.cfg │ ├── c100config.tcl │ ├── c100helper.tcl │ ├── c100regs.tcl │ ├── cavium_cn61xx.cfg │ ├── cc2538.cfg │ ├── cs351x.cfg │ ├── davinci.cfg │ ├── dragonite.cfg │ ├── dsp56321.cfg │ ├── dsp568013.cfg │ ├── dsp568037.cfg │ ├── efm32.cfg │ ├── em357.cfg │ ├── em358.cfg │ ├── eos_s3.cfg │ ├── epc9301.cfg │ ├── esi32xx.cfg │ ├── esp32.cfg │ ├── esp32s2.cfg │ ├── esp32s3.cfg │ ├── esp_common.cfg │ ├── exynos5250.cfg │ ├── faux.cfg │ ├── feroceon.cfg │ ├── fm3.cfg │ ├── fm4.cfg │ ├── fm4_mb9bf.cfg │ ├── fm4_s6e2cc.cfg │ ├── gd32e23x.cfg │ ├── gd32vf103.cfg │ ├── geehy │ │ ├── apm32f0x.cfg │ │ ├── apm32f1x.cfg │ │ └── apm32f4x.cfg │ ├── gp326xxxa.cfg │ ├── hi3798.cfg │ ├── hi6220.cfg │ ├── hilscher_netx10.cfg │ ├── hilscher_netx50.cfg │ ├── hilscher_netx500.cfg │ ├── icepick.cfg │ ├── imx.cfg │ ├── imx21.cfg │ ├── imx25.cfg │ ├── imx27.cfg │ ├── imx28.cfg │ ├── imx31.cfg │ ├── imx35.cfg │ ├── imx51.cfg │ ├── imx53.cfg │ ├── imx6.cfg │ ├── imx6sx.cfg │ ├── imx6ul.cfg │ ├── imx7.cfg │ ├── imx7ulp.cfg │ ├── imx8m.cfg │ ├── imx8qm.cfg │ ├── infineon │ │ └── tle987x.cfg │ ├── is5114.cfg │ ├── ixp42x.cfg │ ├── k1921vk01t.cfg │ ├── k40.cfg │ ├── k60.cfg │ ├── ke0x.cfg │ ├── ke1xf.cfg │ ├── ke1xz.cfg │ ├── kl25.cfg │ ├── kl46.cfg │ ├── klx.cfg │ ├── ks869x.cfg │ ├── kx.cfg │ ├── lpc11xx.cfg │ ├── lpc12xx.cfg │ ├── lpc13xx.cfg │ ├── lpc17xx.cfg │ ├── lpc1850.cfg │ ├── lpc1xxx.cfg │ ├── lpc2103.cfg │ ├── lpc2124.cfg │ ├── lpc2129.cfg │ ├── lpc2148.cfg │ ├── lpc2294.cfg │ ├── lpc2378.cfg │ ├── lpc2460.cfg │ ├── lpc2478.cfg │ ├── lpc2900.cfg │ ├── lpc2xxx.cfg │ ├── lpc3131.cfg │ ├── lpc3250.cfg │ ├── lpc40xx.cfg │ ├── lpc4350.cfg │ ├── lpc4357.cfg │ ├── lpc4370.cfg │ ├── lpc84x.cfg │ ├── lpc8nxx.cfg │ ├── lpc8xx.cfg │ ├── ls1012a.cfg │ ├── ls1028a.cfg │ ├── ls1046a.cfg │ ├── ls1088a.cfg │ ├── lsch3_common.cfg │ ├── marvell │ │ ├── 88f3710.cfg │ │ ├── 88f3720.cfg │ │ ├── 88f37x0.cfg │ │ └── cn9130.cfg │ ├── max32620.cfg │ ├── max32625.cfg │ ├── max3263x.cfg │ ├── mc13224v.cfg │ ├── mdr32f9q2i.cfg │ ├── nds32v5.cfg │ ├── netl_xlp304.cfg │ ├── netl_xlp308.cfg │ ├── netl_xlp316.cfg │ ├── netl_xlp3xx.cfg │ ├── ngultra.cfg │ ├── nhs31xx.cfg │ ├── npcx.cfg │ ├── nrf51.cfg │ ├── nrf52.cfg │ ├── nuc910.cfg │ ├── numicro.cfg │ ├── numicro_m4.cfg │ ├── omap2420.cfg │ ├── omap3530.cfg │ ├── omap4430.cfg │ ├── omap4460.cfg │ ├── omap5912.cfg │ ├── omapl138.cfg │ ├── or1k.cfg │ ├── pic32mx.cfg │ ├── psoc4.cfg │ ├── psoc5lp.cfg │ ├── psoc6.cfg │ ├── pxa255.cfg │ ├── pxa270.cfg │ ├── pxa3xx.cfg │ ├── qn908x.cfg │ ├── qualcomm_qca4531.cfg │ ├── quark_d20xx.cfg │ ├── quark_x10xx.cfg │ ├── readme.txt │ ├── renesas_r7s72100.cfg │ ├── renesas_rcar_gen2.cfg │ ├── renesas_rcar_gen3.cfg │ ├── renesas_rcar_reset_common.cfg │ ├── renesas_rz_five.cfg │ ├── renesas_rz_g2.cfg │ ├── renesas_s7g2.cfg │ ├── rk3308.cfg │ ├── rk3399.cfg │ ├── rp2040.cfg │ ├── rp2350-dbgkey-nonsecure.cfg │ ├── rp2350-dbgkey-secure.cfg │ ├── rp2350-rescue.cfg │ ├── rp2350-riscv.cfg │ ├── rp2350.cfg │ ├── rsl10.cfg │ ├── rtl872xd.cfg │ ├── s32k.cfg │ ├── samsung_s3c2410.cfg │ ├── samsung_s3c2440.cfg │ ├── samsung_s3c2450.cfg │ ├── samsung_s3c4510.cfg │ ├── samsung_s3c6410.cfg │ ├── sharp_lh79532.cfg │ ├── sim3x.cfg │ ├── smp8634.cfg │ ├── snps_em_sk_fpga.cfg │ ├── snps_hsdk.cfg │ ├── snps_hsdk_4xd.cfg │ ├── spear3xx.cfg │ ├── stellaris.cfg │ ├── stm32c0x.cfg │ ├── stm32f0x.cfg │ ├── stm32f1x.cfg │ ├── stm32f2x.cfg │ ├── stm32f3x.cfg │ ├── stm32f4x.cfg │ ├── stm32f7x.cfg │ ├── stm32g0x.cfg │ ├── stm32g4x.cfg │ ├── stm32h7x.cfg │ ├── stm32h7x_dual_bank.cfg │ ├── stm32l0.cfg │ ├── stm32l0_dual_bank.cfg │ ├── stm32l1.cfg │ ├── stm32l1x_dual_bank.cfg │ ├── stm32l4x.cfg │ ├── stm32l5x.cfg │ ├── stm32mp13x.cfg │ ├── stm32mp15x.cfg │ ├── stm32u5x.cfg │ ├── stm32w108xx.cfg │ ├── stm32wbax.cfg │ ├── stm32wbx.cfg │ ├── stm32wlx.cfg │ ├── stm32x5x_common.cfg │ ├── stm32xl.cfg │ ├── stm8l.cfg │ ├── stm8l151x2.cfg │ ├── stm8l151x3.cfg │ ├── stm8l152.cfg │ ├── stm8l15xx4.cfg │ ├── stm8l15xx6.cfg │ ├── stm8l15xx8.cfg │ ├── stm8s.cfg │ ├── stm8s003.cfg │ ├── stm8s103.cfg │ ├── stm8s105.cfg │ ├── str710.cfg │ ├── str730.cfg │ ├── str750.cfg │ ├── str912.cfg │ ├── swj-dp.tcl │ ├── swm050.cfg │ ├── test_reset_syntax_error.cfg │ ├── test_syntax_error.cfg │ ├── ti-ar7.cfg │ ├── ti-cjtag.cfg │ ├── ti_calypso.cfg │ ├── ti_cc13x0.cfg │ ├── ti_cc13x2.cfg │ ├── ti_cc26x0.cfg │ ├── ti_cc26x2.cfg │ ├── ti_cc3220sf.cfg │ ├── ti_cc32xx.cfg │ ├── ti_dm355.cfg │ ├── ti_dm365.cfg │ ├── ti_dm6446.cfg │ ├── ti_k3.cfg │ ├── ti_msp432.cfg │ ├── ti_rm4x.cfg │ ├── ti_tms570.cfg │ ├── ti_tms570lc43xx.cfg │ ├── ti_tms570ls20xxx.cfg │ ├── ti_tms570ls3137.cfg │ ├── tmpa900.cfg │ ├── tmpa910.cfg │ ├── tnetc4401.cfg │ ├── u8500.cfg │ ├── vd_aarch64.cfg │ ├── vd_cortex_m.cfg │ ├── vd_riscv.cfg │ ├── vybrid_vf6xx.cfg │ ├── xilinx_zynqmp.cfg │ ├── xmc1xxx.cfg │ ├── xmc4xxx.cfg │ ├── xmos_xs1-xau8a-10_arm.cfg │ ├── xtensa-core-esp32.cfg │ ├── xtensa-core-esp32s2.cfg │ ├── xtensa-core-esp32s3.cfg │ ├── xtensa-core-nxp_rt600.cfg │ ├── xtensa-core-xt8.cfg │ ├── xtensa.cfg │ ├── zynq_7000.cfg │ └── к1879xб1я.cfg ├── test │ ├── selftest.cfg │ └── syntax1.cfg └── tools │ ├── firmware-recovery.tcl │ ├── memtest.tcl │ └── test_cpu_speed.tcl ├── testing ├── examples │ ├── AT91R40008Test │ │ ├── inc │ │ │ └── typedefs.h │ │ ├── makefile │ │ ├── prj │ │ │ ├── at91r40008_reset.script │ │ │ ├── at91r40008_turtle.cfg │ │ │ ├── eclipse_ram.gdb │ │ │ └── ethernut3_ram.ld │ │ ├── src │ │ │ ├── crt.s │ │ │ └── main.c │ │ ├── test_ram.elf │ │ ├── test_ram.hex │ │ └── test_ram.map │ ├── LPC2148Test │ │ ├── inc │ │ │ └── typedefs.h │ │ ├── makefile │ │ ├── prj │ │ │ ├── eclipse_ram.gdb │ │ │ ├── eclipse_rom.gdb │ │ │ ├── lpc2148_jtagkey.cfg │ │ │ ├── lpc2148_ram.ld │ │ │ └── lpc2148_rom.ld │ │ ├── src │ │ │ ├── crt.s │ │ │ └── main.c │ │ ├── test_ram.elf │ │ ├── test_ram.hex │ │ ├── test_ram.map │ │ ├── test_rom.elf │ │ ├── test_rom.hex │ │ └── test_rom.map │ ├── LPC2294Test │ │ ├── inc │ │ │ └── typedefs.h │ │ ├── makefile │ │ ├── prj │ │ │ ├── eclipse_ram.gdb │ │ │ ├── eclipse_rom.gdb │ │ │ ├── lpc2294_jtagkey.cfg │ │ │ ├── lpc2294_ram.ld │ │ │ └── lpc2294_rom.ld │ │ ├── src │ │ │ ├── crt.s │ │ │ └── main.c │ │ ├── test_ram.elf │ │ ├── test_ram.hex │ │ ├── test_ram.map │ │ ├── test_rom.elf │ │ ├── test_rom.hex │ │ └── test_rom.map │ ├── PIC32 │ │ ├── BlinkingLeds.c │ │ ├── BlinkingLeds.elf │ │ └── readme.txt │ ├── SAM7S256Test │ │ ├── inc │ │ │ └── typedefs.h │ │ ├── makefile │ │ ├── prj │ │ │ ├── eclipse_ram.gdb │ │ │ ├── eclipse_rom.gdb │ │ │ ├── sam7s256_jtagkey.cfg │ │ │ ├── sam7s256_ram.ld │ │ │ ├── sam7s256_reset.script │ │ │ └── sam7s256_rom.ld │ │ ├── results │ │ │ └── 607.html │ │ ├── src │ │ │ ├── crt.s │ │ │ └── main.c │ │ ├── test_ram.elf │ │ ├── test_ram.hex │ │ ├── test_ram.map │ │ ├── test_rom.elf │ │ ├── test_rom.hex │ │ └── test_rom.map │ ├── SAM7X256Test │ │ ├── inc │ │ │ └── typedefs.h │ │ ├── makefile │ │ ├── prj │ │ │ ├── eclipse_ram.gdb │ │ │ ├── eclipse_rom.gdb │ │ │ ├── sam7x256_jtagkey.cfg │ │ │ ├── sam7x256_ram.ld │ │ │ ├── sam7x256_reset.script │ │ │ └── sam7x256_rom.ld │ │ ├── src │ │ │ ├── crt.s │ │ │ └── main.c │ │ ├── test_ram.elf │ │ ├── test_ram.hex │ │ ├── test_ram.map │ │ ├── test_rom.elf │ │ ├── test_rom.hex │ │ └── test_rom.map │ ├── STM32-103 │ │ ├── main.elf │ │ └── readme.txt │ ├── STR710JtagSpeed │ │ ├── inc │ │ │ └── typedefs.h │ │ ├── makefile │ │ ├── prj │ │ │ ├── eclipse_ft2232_ram.gdb │ │ │ ├── str710_jtagkey.cfg │ │ │ └── str7_ram.ld │ │ ├── src │ │ │ ├── crt.s │ │ │ └── main.c │ │ ├── test.elf │ │ ├── test.hex │ │ └── test.map │ ├── STR710Test │ │ ├── .gitignore │ │ ├── inc │ │ │ └── typedefs.h │ │ ├── makefile │ │ ├── prj │ │ │ ├── eclipse_ram.gdb │ │ │ ├── eclipse_rom.gdb │ │ │ ├── hitex_str7_ram.ld │ │ │ ├── hitex_str7_rom.ld │ │ │ ├── str710_jtagkey.cfg │ │ │ └── str710_program.script │ │ ├── src │ │ │ ├── crt.s │ │ │ └── main.c │ │ ├── test_ram.elf │ │ ├── test_ram.hex │ │ ├── test_ram.map │ │ ├── test_rom.elf │ │ ├── test_rom.hex │ │ └── test_rom.map │ ├── STR912Test │ │ ├── inc │ │ │ └── typedefs.h │ │ ├── makefile │ │ ├── prj │ │ │ ├── eclipse_ram.gdb │ │ │ ├── eclipse_rom.gdb │ │ │ ├── str912_jtagkey.cfg │ │ │ ├── str912_program.script │ │ │ ├── str912_ram.ld │ │ │ └── str912_rom.ld │ │ ├── src │ │ │ ├── main.c │ │ │ └── startup.s │ │ ├── test_ram.elf │ │ ├── test_ram.hex │ │ ├── test_ram.map │ │ ├── test_rom.elf │ │ ├── test_rom.hex │ │ └── test_rom.map │ ├── cortex │ │ ├── cm3-ftest.cfg │ │ ├── fault.c │ │ ├── lm3s3748.elf │ │ ├── test.c │ │ └── test.ld │ ├── ledtest-imx27ads │ │ ├── Makefile │ │ ├── crt0.S │ │ ├── gdbinit-imx27ads │ │ ├── ldscript │ │ ├── test.c │ │ └── test.elf │ └── ledtest-imx31pdk │ │ ├── Makefile │ │ ├── crt0.S │ │ ├── gdbinit-imx31pdk │ │ ├── ldscript │ │ ├── test.c │ │ └── test.elf ├── index.html ├── profile_stm32.txt ├── results │ ├── template.html │ └── v0.4.0-rc1 │ │ ├── AT91FR40162.html │ │ ├── LPC2148.html │ │ ├── SAM7.html │ │ ├── STR710.html │ │ └── STR912.html ├── smoketests.html ├── tcl_server.tcl ├── tcl_test.tcl ├── test-am335xgpio-deprecated-commands.cfg ├── test-bcm2835gpio-deprecated-commands.cfg ├── test-linuxgpiod-deprecated-commands.cfg └── testcases.html ├── tools ├── checkpatch.sh ├── disassemble_inc.sh ├── initial.sh ├── logger.pl ├── release.sh ├── release │ ├── helpers.sh │ ├── test.sh │ └── version.sh ├── rlink_make_speed_table │ ├── rlink_make_speed_table │ └── rlink_make_speed_table.pl ├── scripts │ ├── camelcase.txt │ ├── checkpatch.pl │ ├── const_structs.checkpatch │ ├── spdxcheck.py │ ├── spdxexclude │ ├── spelling.txt │ └── typedefs.txt ├── st7_dtc_as │ ├── st7_dtc_as │ └── st7_dtc_as.pl └── uncrustify1.sh └── uncrustify.cfg /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "tools/git2cl"] 2 | path = tools/git2cl 3 | url = https://git.savannah.nongnu.org/git/git2cl.git 4 | [submodule "jimtcl"] 5 | path = jimtcl 6 | url = https://github.com/msteveb/jimtcl.git 7 | [submodule "src/jtag/drivers/libjaylink"] 8 | path = src/jtag/drivers/libjaylink 9 | url = https://gitlab.zapb.de/libjaylink/libjaylink.git 10 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | Dominic Rath 2 | Magnus Lundin 3 | Michael Fischer 4 | Spencer Oliver 5 | Carsten Schlote 6 | Øyvind Harboe 7 | Duane Ellis 8 | Michael Schwingen 9 | Rick Altherr 10 | David Brownell 11 | Vincint Palatin 12 | Zachary T Welch 13 | -------------------------------------------------------------------------------- /AUTHORS.ChangeLog: -------------------------------------------------------------------------------- 1 | drath:Dominic Rath 2 | mlu:Magnus Lundin 3 | mifi:Michael Fischer 4 | ntfreak:Spencer Oliver 5 | duane:Duane Ellis 6 | oharboe:Øyvind Harboe 7 | kc8apf:Rick Altherr 8 | zwelch:Zachary T Welch 9 | vpalatin:Vincent Palatin 10 | bodylove:Carsten Schlote 11 | -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- 1 | OpenOCD is provided under: 2 | 3 | SPDX-License-Identifier: GPL-2.0-or-later 4 | 5 | Being under the terms of the GNU General Public License version 2 or 6 | later, according with: 7 | 8 | LICENSES/preferred/GPL-2.0 9 | 10 | In addition, other licenses may also apply. Please see: 11 | 12 | LICENSES/license-rules.txt 13 | 14 | for more details. 15 | 16 | All contributions to OpenOCD are subject to this COPYING file. 17 | -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- 1 | Retired in favor of git log. 2 | -------------------------------------------------------------------------------- /LICENSES/preferred/gfdl-1.2.texi.readme: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later OR GFDL-1.2-no-invariants-or-later 2 | 3 | The texinfo version of the license gfdl-1.2 is distributed in the 4 | file doc/fdl.texi . 5 | -------------------------------------------------------------------------------- /config_subdir.m4: -------------------------------------------------------------------------------- 1 | dnl AC_CONFIG_SUBDIRS does not allow configure options to be passed 2 | dnl to subdirs, this function allows that by creating a configure.gnu 3 | dnl script that prepends configure options and then calls the real 4 | dnl configure script 5 | AC_DEFUN([AX_CONFIG_SUBDIR_OPTION], 6 | [ 7 | AC_CONFIG_SUBDIRS([$1]) 8 | 9 | m4_ifblank([$2], [rm -f $srcdir/$1/configure.gnu], 10 | [echo -e '#!/bin/sh\nexec "`dirname "'\$'0"`/configure" '"$2"' "'\$'@"' > "$srcdir/$1/configure.gnu" 11 | ]) 12 | ]) 13 | -------------------------------------------------------------------------------- /contrib/firmware/angie/hdl/set_env.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright (C) 2023 by NanoXplore, France - all rights reserved 4 | 5 | [ -z "${XILINX_HOME}" ] && export XILINX_HOME=/home/software/Xilinx/ISE/14.7/ISE_DS/ISE 6 | export PATH="$XILINX_HOME:$PATH" 7 | echo "SET XILINX_HOME to ${XILINX_HOME}" 8 | # This is needed for isim 9 | XILINX_HOME_BASE=${XILINX_HOME}/.. 10 | for part in common EDK PlanAhead ISE 11 | do 12 | el=${XILINX_HOME_BASE}/${part} 13 | . ${el}/.settings64.sh ${el} 14 | done 15 | -------------------------------------------------------------------------------- /contrib/libdcc/README: -------------------------------------------------------------------------------- 1 | This code is an example of using the openocd debug message system. 2 | 3 | Before the message output is seen in the debug window, the functionality 4 | will need enabling: 5 | 6 | From the gdb prompt: 7 | monitor target_request debugmsgs enable 8 | monitor trace point 1 9 | 10 | From the Telnet prompt: 11 | target_request debugmsgs enable 12 | trace point 1 13 | 14 | To see how many times the trace point was hit: 15 | (monitor) trace point 1 16 | 17 | Spen 18 | spen@spen-soft.co.uk 19 | -------------------------------------------------------------------------------- /contrib/loaders/checksum/armv4_5_crc.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x00,0x20,0xa0,0xe1,0x00,0x00,0xe0,0xe3,0x01,0x30,0xa0,0xe1,0x00,0x40,0xa0,0xe3, 3 | 0x0b,0x00,0x00,0xea,0x04,0x10,0xd2,0xe7,0x30,0x70,0x9f,0xe5,0x01,0x0c,0x20,0xe0, 4 | 0x00,0x50,0xa0,0xe3,0x00,0x00,0x50,0xe3,0x80,0x60,0xa0,0xe1,0x01,0x50,0x85,0xe2, 5 | 0x06,0x00,0xa0,0xe1,0x07,0x00,0x26,0xb0,0x08,0x00,0x55,0xe3,0xf8,0xff,0xff,0x1a, 6 | 0x01,0x40,0x84,0xe2,0x03,0x00,0x54,0xe1,0xf1,0xff,0xff,0x1a,0x70,0x00,0x20,0xe1, 7 | 0xb7,0x1d,0xc1,0x04, 8 | -------------------------------------------------------------------------------- /contrib/loaders/checksum/armv7m_crc.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x02,0x46,0x00,0x20,0xc0,0x43,0x0a,0x4e,0x0b,0x46,0x00,0x24,0x0d,0xe0,0x11,0x5d, 3 | 0x09,0x06,0x48,0x40,0x00,0x25,0x00,0x28,0x02,0xda,0x40,0x00,0x70,0x40,0x00,0xe0, 4 | 0x40,0x00,0x01,0x35,0x08,0x2d,0xf6,0xd1,0x01,0x34,0x9c,0x42,0xef,0xd1,0x00,0xbe, 5 | 0xb7,0x1d,0xc1,0x04, 6 | -------------------------------------------------------------------------------- /contrib/loaders/erase_check/armv4_5_erase_check.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x01,0x30,0xd0,0xe4,0x03,0x20,0x02,0xe0,0x01,0x10,0x51,0xe2,0xfb,0xff,0xff,0x1a, 3 | 0x70,0x00,0x20,0xe1, 4 | -------------------------------------------------------------------------------- /contrib/loaders/erase_check/armv7m_erase_check.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x02,0x68,0x12,0x42,0x0d,0xd0,0x43,0x68,0x1c,0x68,0x04,0x33,0x8c,0x42,0x05,0xd1, 3 | 0x01,0x3a,0xf9,0xd1,0x01,0x24,0x04,0x60,0x08,0x30,0xf1,0xe7,0x00,0x24,0xfa,0xe7, 4 | 0x00,0x00,0x00,0xbe, 5 | -------------------------------------------------------------------------------- /contrib/loaders/erase_check/stm8_erase_check.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x00,0x80,0x00,0x00,0x80,0x00,0x96,0xcf,0x00,0x22,0x1e,0x01,0x16,0x04,0xa6,0xff, 3 | 0x90,0x5d,0x26,0x04,0x0d,0x03,0x27,0x17,0x90,0x5d,0x26,0x02,0x0a,0x03,0x90,0x5a, 4 | 0x92,0xbc,0x00,0x00,0xa1,0xff,0x26,0x07,0x5c,0x26,0xe5,0x0c,0x00,0x20,0xe1,0x1f, 5 | 0x01,0x17,0x04,0x8b, 6 | -------------------------------------------------------------------------------- /contrib/loaders/flash/at91sam7x/at91sam7x_ocl_flash.script: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | soft_reset_halt 4 | load_image at91sam7x_ocl.bin 0x200000 5 | resume 0x200000 6 | flash probe 0 7 | -------------------------------------------------------------------------------- /contrib/loaders/flash/cc3220sf/Makefile: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | BIN2C = ../../../../src/helper/bin2char.sh 4 | 5 | CROSS_COMPILE ?= arm-none-eabi- 6 | AS = $(CROSS_COMPILE)as 7 | OBJCOPY = $(CROSS_COMPILE)objcopy 8 | 9 | all: cc3220sf.inc 10 | 11 | %.elf: %.s 12 | $(AS) $< -o $@ 13 | 14 | %.bin: %.elf 15 | $(OBJCOPY) -Obinary $< $@ 16 | 17 | %.inc: %.bin 18 | $(BIN2C) < $< > $@ 19 | 20 | clean: 21 | -rm -f *.elf *.bin *.inc 22 | -------------------------------------------------------------------------------- /contrib/loaders/flash/fespi/riscv.lds: -------------------------------------------------------------------------------- 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 | 3 | OUTPUT_ARCH( "riscv" ) 4 | 5 | SECTIONS 6 | { 7 | . = 0x12340000; 8 | .text : 9 | { 10 | *(.text.entry) 11 | *(.text) 12 | } 13 | .data : { *(.data) } 14 | } 15 | -------------------------------------------------------------------------------- /contrib/loaders/flash/fespi/riscv_wrapper.S: -------------------------------------------------------------------------------- 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 | 3 | #if __riscv_xlen == 64 4 | # define LREG ld 5 | # define SREG sd 6 | # define REGBYTES 8 7 | #else 8 | # define LREG lw 9 | # define SREG sw 10 | # define REGBYTES 4 11 | #endif 12 | 13 | .section .text.entry 14 | .global _start 15 | _start: 16 | lla sp, stack_end 17 | jal flash_fespi 18 | ebreak 19 | 20 | .section .data 21 | .balign REGBYTES 22 | stack: 23 | .fill 16, REGBYTES, 0x8675309 24 | stack_end: 25 | -------------------------------------------------------------------------------- /contrib/loaders/flash/fm4/erase.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x4f,0xf0,0x01,0x03,0x4f,0xf0,0xaa,0x04,0x04,0x80,0x4f,0xf0,0x55,0x05,0x0d,0x80, 3 | 0x4f,0xf0,0x80,0x06,0x06,0x80,0x04,0x80,0x0d,0x80,0x4f,0xf0,0x30,0x06,0x16,0x80, 4 | 0x14,0x78,0x14,0x78,0x15,0x78,0x04,0xf0,0x40,0x06,0x05,0xf0,0x40,0x05,0xae,0x42, 5 | 0x0e,0xd0,0x04,0xf0,0x20,0x05,0x00,0x2d,0xf3,0xd0,0x14,0x78,0x15,0x78,0x04,0xf0, 6 | 0x40,0x06,0x05,0xf0,0x40,0x05,0xae,0x42,0x02,0xd0,0x4f,0xf0,0x02,0x03,0x00,0xbe, 7 | 0x4f,0xf0,0x00,0x03,0x00,0xbe, 8 | -------------------------------------------------------------------------------- /contrib/loaders/flash/fm4/fm4.h: -------------------------------------------------------------------------------- 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 | 3 | /* 4 | * Spansion FM4 flash macros 5 | * 6 | * Copyright (c) 2015 Andreas Färber 7 | * 8 | * Based on S6E2CC_MN709-00007 for S6E2CC/C5/C4/C3/C2/C1 series 9 | */ 10 | 11 | .text 12 | .syntax unified 13 | .cpu cortex-m4 14 | .thumb 15 | .thumb_func 16 | 17 | 18 | #define FLASH_DPOL (1 << 7) 19 | #define FLASH_TOGG (1 << 6) 20 | #define FLASH_TLOV (1 << 5) 21 | #define FLASH_TOGG2 (1 << 2) 22 | -------------------------------------------------------------------------------- /contrib/loaders/flash/gd32vf103/gd32vf103.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x83,0x57,0x06,0x00,0x13,0x06,0x26,0x00,0x23,0x90,0xf6,0x00,0x83,0x27,0x05,0x00, 3 | 0x13,0xf7,0x17,0x00,0xe3,0x1c,0x07,0xfe,0x93,0xf7,0x47,0x01,0x63,0x98,0x07,0x00, 4 | 0x93,0x85,0xf5,0xff,0x93,0x86,0x26,0x00,0xe3,0x9c,0x05,0xfc,0x73,0x00,0x10,0x00, 5 | -------------------------------------------------------------------------------- /contrib/loaders/flash/kinetis/Makefile: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | BIN2C = ../../../../src/helper/bin2char.sh 4 | 5 | CROSS_COMPILE ?= arm-none-eabi- 6 | AS = $(CROSS_COMPILE)as 7 | OBJCOPY = $(CROSS_COMPILE)objcopy 8 | 9 | all: kinetis_flash.inc 10 | 11 | %.elf: %.s 12 | $(AS) $< -o $@ 13 | 14 | %.bin: %.elf 15 | $(OBJCOPY) -Obinary $< $@ 16 | 17 | %.inc: %.bin 18 | $(BIN2C) < $< > $@ 19 | 20 | clean: 21 | -rm -f *.elf *.bin *.inc 22 | -------------------------------------------------------------------------------- /contrib/loaders/flash/kinetis/kinetis_flash.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x16,0x68,0x00,0x2e,0x1f,0xd0,0x55,0x68,0xb5,0x42,0xf9,0xd0,0x60,0x60,0x06,0x27, 3 | 0xe7,0x71,0x2f,0x68,0xa7,0x60,0x80,0x27,0x27,0x70,0x04,0x35,0x9d,0x42,0x01,0xd3, 4 | 0x15,0x1c,0x08,0x35,0x55,0x60,0x16,0x68,0x00,0x2e,0x0c,0xd0,0x26,0x78,0x3e,0x42, 5 | 0xf9,0xd0,0x70,0x27,0x3e,0x42,0x04,0xd1,0x04,0x30,0x01,0x39,0x00,0x29,0xdf,0xd1, 6 | 0x01,0xe0,0x00,0x25,0x55,0x60,0x00,0xbe, 7 | -------------------------------------------------------------------------------- /contrib/loaders/flash/kinetis_ke/Makefile: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | BIN2C = ../../../../src/helper/bin2char.sh 4 | 5 | CROSS_COMPILE ?= arm-none-eabi- 6 | AS = $(CROSS_COMPILE)as 7 | OBJCOPY = $(CROSS_COMPILE)objcopy 8 | 9 | AFLAGS = -EL 10 | 11 | all: kinetis_ke_flash.inc kinetis_ke_watchdog.inc 12 | 13 | %.elf: %.s 14 | $(AS) $(AFLAGS) $< -o $@ 15 | 16 | %.bin: %.elf 17 | $(OBJCOPY) -Obinary $< $@ 18 | 19 | %.inc: %.bin 20 | $(BIN2C) < $< > $@ 21 | 22 | clean: 23 | -rm -f *.elf *.bin *.inc 24 | -------------------------------------------------------------------------------- /contrib/loaders/flash/kinetis_ke/kinetis_ke_watchdog.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x07,0x4b,0x7f,0x22,0x1d,0x78,0x5c,0x78,0x2a,0x40,0x06,0x4d,0x98,0x88,0xd9,0x88, 3 | 0x5d,0x80,0x05,0x4d,0x5d,0x80,0x5c,0x70,0x98,0x80,0xd9,0x80,0x1a,0x70,0x00,0xbe, 4 | 0x00,0x20,0x05,0x40,0xc5,0x20,0x00,0x00,0xd9,0x28,0x00,0x00, 5 | -------------------------------------------------------------------------------- /contrib/loaders/flash/max32xxx/Makefile: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | BIN2C = ../../../../src/helper/bin2char.sh 4 | 5 | CROSS_COMPILE ?= arm-none-eabi- 6 | AS = $(CROSS_COMPILE)as 7 | OBJCOPY = $(CROSS_COMPILE)objcopy 8 | 9 | all: max32xxx.inc 10 | 11 | %.elf: %.s 12 | $(AS) $< -o $@ 13 | 14 | %.bin: %.elf 15 | $(OBJCOPY) -Obinary $< $@ 16 | 17 | %.inc: %.bin 18 | $(BIN2C) < $< > $@ 19 | 20 | clean: 21 | -rm -f *.elf *.bin *.inc 22 | -------------------------------------------------------------------------------- /contrib/loaders/flash/max32xxx/max32xxx.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0xdf,0xf8,0x44,0x40,0xd0,0xf8,0x00,0x80,0xb8,0xf1,0x00,0x0f,0x1a,0xd0,0x47,0x68, 3 | 0x47,0x45,0xf7,0xd0,0x22,0x60,0x02,0xf1,0x04,0x02,0x57,0xf8,0x04,0x8b,0xc4,0xf8, 4 | 0x30,0x80,0xa5,0x68,0x45,0xf0,0x01,0x05,0xa5,0x60,0xd4,0xf8,0x08,0x80,0x18,0xf0, 5 | 0x01,0x0f,0xfa,0xd1,0x8f,0x42,0x28,0xbf,0x00,0xf1,0x08,0x07,0x47,0x60,0x01,0x3b, 6 | 0x03,0xb1,0xdf,0xe7,0x00,0xbe,0x00,0xbf,0x00,0x00,0x00,0x40, 7 | -------------------------------------------------------------------------------- /contrib/loaders/flash/nrf5/nrf5.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x3e,0x60,0x0d,0x68,0x00,0x2d,0x0b,0xd0,0x4c,0x68,0xac,0x42,0xf8,0xd0,0x20,0xcc, 3 | 0x20,0xc3,0x94,0x42,0x01,0xd3,0x0c,0x46,0x08,0x34,0x4c,0x60,0x04,0x38,0xef,0xd1, 4 | 0x00,0xbe, 5 | -------------------------------------------------------------------------------- /contrib/loaders/flash/numicro/numicro_m0.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x04,0x1c,0x00,0x23,0x0d,0x1a,0x67,0x19,0x93,0x42,0x0c,0xd0,0x08,0x4e,0x37,0x60, 3 | 0x80,0xcc,0x08,0x4d,0x2f,0x60,0x08,0x4d,0x01,0x26,0x2e,0x60,0x2f,0x68,0xff,0x07, 4 | 0xfc,0xd4,0x01,0x33,0xee,0xe7,0x05,0x4b,0x18,0x68,0x40,0x21,0x08,0x40,0x00,0xbe, 5 | 0x04,0xc0,0x00,0x50,0x08,0xc0,0x00,0x50,0x10,0xc0,0x00,0x50,0x00,0xc0,0x00,0x50, 6 | -------------------------------------------------------------------------------- /contrib/loaders/flash/numicro/numicro_m4.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x04,0x1c,0x00,0x23,0x0d,0x1a,0x67,0x19,0x93,0x42,0x0c,0xd0,0x08,0x4e,0x37,0x60, 3 | 0x80,0xcc,0x08,0x4d,0x2f,0x60,0x08,0x4d,0x01,0x26,0x2e,0x60,0x2f,0x68,0xff,0x07, 4 | 0xfc,0xd4,0x01,0x33,0xee,0xe7,0x05,0x4b,0x18,0x68,0x40,0x21,0x08,0x40,0x00,0xbe, 5 | 0x04,0xc0,0x00,0x40,0x08,0xc0,0x00,0x40,0x10,0xc0,0x00,0x40,0x00,0xc0,0x00,0x40, 6 | -------------------------------------------------------------------------------- /contrib/loaders/flash/rsl10/rom_launcher.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x98,0x47,0x00,0xbe, 3 | -------------------------------------------------------------------------------- /contrib/loaders/flash/sh_qspi/sh_qspi.ld: -------------------------------------------------------------------------------- 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 | OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") 3 | OUTPUT_ARCH(arm) 4 | ENTRY(_start) 5 | SECTIONS 6 | { 7 | . = 0x0; 8 | . = ALIGN(4); 9 | .text : { 10 | sh_qspi.o (.text*) 11 | *(.text*) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /contrib/loaders/flash/stm32/stm32f1x.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x16,0x68,0x00,0x2e,0x18,0xd0,0x55,0x68,0xb5,0x42,0xf9,0xd0,0x2e,0x88,0x26,0x80, 3 | 0x02,0x35,0x02,0x34,0xc6,0x68,0x01,0x27,0x3e,0x42,0xfb,0xd1,0x14,0x27,0x3e,0x42, 4 | 0x08,0xd1,0x9d,0x42,0x01,0xd3,0x15,0x46,0x08,0x35,0x55,0x60,0x01,0x39,0x00,0x29, 5 | 0x02,0xd0,0xe5,0xe7,0x00,0x20,0x50,0x60,0x30,0x46,0x00,0xbe, 6 | -------------------------------------------------------------------------------- /contrib/loaders/flash/stm32/stm32f2x.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0xd0,0xf8,0x00,0x80,0xb8,0xf1,0x00,0x0f,0x1b,0xd0,0x47,0x68,0x47,0x45,0xf7,0xd0, 3 | 0x0d,0x4e,0x26,0x61,0x37,0xf8,0x02,0x6b,0x22,0xf8,0x02,0x6b,0xbf,0xf3,0x4f,0x8f, 4 | 0xe6,0x68,0x16,0xf4,0x80,0x3f,0xfb,0xd1,0x16,0xf0,0xf0,0x0f,0x07,0xd1,0x8f,0x42, 5 | 0x28,0xbf,0x00,0xf1,0x08,0x07,0x47,0x60,0x01,0x3b,0x13,0xb1,0xe0,0xe7,0x00,0x21, 6 | 0x41,0x60,0x30,0x46,0x00,0xbe,0x00,0x00,0x01,0x01,0x00,0x00, 7 | -------------------------------------------------------------------------------- /contrib/loaders/flash/stm32/stm32lx.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x5a,0x43,0x0a,0x44,0x07,0xe0,0x1d,0x46,0x40,0xc9,0x40,0xc0,0x04,0x3d,0xfb,0xd1, 3 | 0xa6,0x69,0xf6,0x07,0xfc,0xd1,0x91,0x42,0xf5,0xd1,0x00,0xbe, 4 | -------------------------------------------------------------------------------- /contrib/loaders/flash/xmc1xxx/erase.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0xa2,0x23,0x83,0x80,0x42,0x23,0x0b,0x60,0x03,0x88,0x01,0x24,0x23,0x40,0xa3,0x42, 3 | 0xfa,0xd0,0xff,0x23,0x01,0x33,0x19,0x44,0x91,0x42,0xf3,0xdb,0x00,0x23,0x83,0x80, 4 | 0x00,0xbe, 5 | -------------------------------------------------------------------------------- /contrib/loaders/flash/xmc1xxx/erase_check.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x03,0x89,0x06,0x24,0xe4,0x43,0x23,0x40,0x04,0x24,0x23,0x43,0x03,0x81,0xe0,0x23, 3 | 0x83,0x80,0x00,0x23,0xdb,0x43,0x0b,0x60,0x4b,0x60,0x8b,0x60,0xcb,0x60,0x03,0x88, 4 | 0x01,0x24,0x23,0x40,0xa3,0x42,0xfa,0xd0,0x03,0x88,0x0c,0x24,0x23,0x40,0x00,0x2b, 5 | 0x02,0xd1,0x10,0x31,0x91,0x42,0xec,0xdb,0x00,0x23,0x83,0x80,0x00,0xbe, 6 | -------------------------------------------------------------------------------- /contrib/loaders/flash/xmc1xxx/write.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0xa1,0x24,0x84,0x80,0x14,0x68,0x0c,0x60,0x54,0x68,0x4c,0x60,0x94,0x68,0x8c,0x60, 3 | 0xd4,0x68,0xcc,0x60,0x04,0x88,0x01,0x25,0x2c,0x40,0xac,0x42,0xfa,0xd0,0x10,0x31, 4 | 0x10,0x32,0x01,0x3b,0x00,0x2b,0xed,0xdc,0x00,0x24,0x84,0x80,0x00,0xbe, 5 | -------------------------------------------------------------------------------- /contrib/loaders/reset/espressif/esp32/Makefile: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # ESP32 Makefile to compile the SoC reset program 4 | # Copyright (C) 2022 Espressif Systems Ltd. 5 | 6 | # Prefix for ESP32 cross compilers (can include a directory path) 7 | CROSS ?= xtensa-esp32-elf- 8 | 9 | APP_ARCH := xtensa 10 | APP_CHIP := ESP32 11 | APP_CHIP_PATH := $(shell pwd) 12 | SRCS := $(APP_CHIP_PATH)/esp32_cpu_reset_handler.S 13 | 14 | CFLAGS := 15 | LDFLAGS := 16 | 17 | INCLUDES := 18 | DEFINES := 19 | 20 | include ../common.mk 21 | -------------------------------------------------------------------------------- /contrib/loaders/trampoline/espressif/xtensa/esp_xtensa_stub_tramp_win.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../../src/helper/bin2char.sh */ 2 | 0x92,0xc1,0x20,0x90,0xd1,0x49,0xad,0x02,0xbd,0x03,0xcd,0x04,0xdd,0x05,0x60,0xe6, 3 | 0x20,0xe0,0x08,0x00,0x2d,0x0a,0x00,0x40,0x00,0x06,0xff,0xff, 4 | -------------------------------------------------------------------------------- /contrib/loaders/watchdog/armv7m_kinetis_wdog.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x04,0x4a,0xc2,0x81,0x04,0x4a,0xc2,0x81,0x01,0x24,0x02,0x88,0xa2,0x43,0x02,0x80, 3 | 0x05,0xe0,0x00,0x00,0x20,0xc5,0x00,0x00,0x28,0xd9,0x00,0x00,0x00,0x00,0x00,0xbe, 4 | -------------------------------------------------------------------------------- /contrib/loaders/watchdog/armv7m_kinetis_wdog32.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x02,0x68,0x08,0x4b,0x1a,0x42,0x08,0x4b,0x01,0xd0,0x43,0x60,0x02,0xe0,0x83,0x80, 3 | 0x1b,0x0c,0x83,0x80,0x80,0x24,0xa2,0x43,0x20,0x24,0x22,0x43,0x02,0x60,0x03,0x4b, 4 | 0x83,0x60,0x06,0xe0,0x00,0x20,0x00,0x00,0x20,0xc5,0x28,0xd9,0x00,0x04,0x00,0x00, 5 | 0x00,0x00,0x00,0xbe, 6 | -------------------------------------------------------------------------------- /doc/.gitattributes: -------------------------------------------------------------------------------- 1 | # Avoid DOS conversion of texinfo files during git clone 2 | *.texi text eol=lf 3 | *.txt text eol=lf 4 | -------------------------------------------------------------------------------- /doc/Makefile.am: -------------------------------------------------------------------------------- 1 | info_TEXINFOS += %D%/openocd.texi 2 | %C%_openocd_TEXINFOS = %D%/fdl.texi 3 | 4 | dist_man_MANS += %D%/openocd.1 5 | 6 | EXTRA_DIST += %D%/manual 7 | 8 | MAINTAINERCLEANFILES += \ 9 | %D%/mdate-sh \ 10 | %D%/stamp-vti \ 11 | %D%/version.texi 12 | -------------------------------------------------------------------------------- /doc/manual/app.txt: -------------------------------------------------------------------------------- 1 | /** @page appdocs OpenOCD Application APIs 2 | 3 | The top-level APIs in the OpenOCD library allow applications to integrate 4 | all of the low-level functionality using a set of simple function calls. 5 | 6 | These function calls do not exist in a re-usable form, but 7 | contributions to create and document them will be welcome. 8 | 9 | */ 10 | -------------------------------------------------------------------------------- /doc/manual/images/jtag-state-machine-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/doc/manual/images/jtag-state-machine-large.png -------------------------------------------------------------------------------- /src/flash/Makefile.am: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | noinst_LTLIBRARIES += %D%/libflash.la 4 | %C%_libflash_la_SOURCES = \ 5 | %D%/common.c %D%/common.h 6 | 7 | %C%_libflash_la_LIBADD = \ 8 | %D%/nor/libocdflashnor.la \ 9 | %D%/nand/libocdflashnand.la 10 | 11 | STARTUP_TCL_SRCS += %D%/startup.tcl 12 | 13 | include %D%/nor/Makefile.am 14 | include %D%/nand/Makefile.am 15 | -------------------------------------------------------------------------------- /src/helper/base64.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Base64 encoding/decoding (RFC1341) 3 | * Copyright (c) 2005, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef BASE64_H 10 | #define BASE64_H 11 | 12 | unsigned char *base64_encode(const unsigned char *src, size_t len, 13 | size_t *out_len); 14 | unsigned char *base64_decode(const unsigned char *src, size_t len, 15 | size_t *out_len); 16 | 17 | #endif /* BASE64_H */ 18 | -------------------------------------------------------------------------------- /src/helper/util.h: -------------------------------------------------------------------------------- 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 | 3 | /*************************************************************************** 4 | * Copyright (C) 2010 by Øyvind Harboe * 5 | ***************************************************************************/ 6 | 7 | #ifndef OPENOCD_HELPER_UTIL_H 8 | #define OPENOCD_HELPER_UTIL_H 9 | 10 | struct command_context; 11 | 12 | int util_init(struct command_context *cmd_ctx); 13 | 14 | #endif /* OPENOCD_HELPER_UTIL_H */ 15 | -------------------------------------------------------------------------------- /src/jtag/drivers/OpenULINK/include/common.h: -------------------------------------------------------------------------------- 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 | 3 | /*************************************************************************** 4 | * Copyright (C) 2011 by Martin Schmoelzer * 5 | * * 6 | ***************************************************************************/ 7 | 8 | #ifndef __COMMON_H 9 | #define __COMMON_H 10 | 11 | #define DIV_ROUND_UP(m, n) (((m) + (n) - 1) / (n)) 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /src/jtag/drivers/OpenULINK/include/main.h: -------------------------------------------------------------------------------- 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 | 3 | /*************************************************************************** 4 | * Copyright (C) 2011 by Martin Schmoelzer * 5 | * * 6 | ***************************************************************************/ 7 | 8 | #ifndef __MAIN_H 9 | #define __MAIN_H 10 | 11 | void io_init(void); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /src/jtag/drivers/angie/README: -------------------------------------------------------------------------------- 1 | This folder contain only the files needed by ANGIE's driver. 2 | You will find the complete ANGIE's firmware and the bitstream's code source in 3 | contrib/firmware. 4 | -------------------------------------------------------------------------------- /src/jtag/drivers/angie/angie_bitstream.bit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/src/jtag/drivers/angie/angie_bitstream.bit -------------------------------------------------------------------------------- /src/jtag/drivers/angie/angie_firmware.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/src/jtag/drivers/angie/angie_firmware.bin -------------------------------------------------------------------------------- /src/jtag/drivers/usb_blaster/Makefile.am: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | noinst_LTLIBRARIES += %D%/libocdusbblaster.la 4 | %C%_libocdusbblaster_la_SOURCES = $(USB_BLASTER_SRC) 5 | %C%_libocdusbblaster_la_CPPFLAGS = -I$(top_srcdir)/src/jtag/drivers $(AM_CPPFLAGS) $(LIBUSB1_CFLAGS) $(LIBFTDI_CFLAGS) 6 | 7 | USB_BLASTER_SRC = %D%/usb_blaster.c %D%/ublast_access.h 8 | 9 | if USB_BLASTER 10 | USB_BLASTER_SRC += %D%/ublast_access_ftdi.c 11 | endif 12 | 13 | if USB_BLASTER_2 14 | USB_BLASTER_SRC += %D%/ublast2_access_libusb.c 15 | endif 16 | -------------------------------------------------------------------------------- /src/jtag/hla/Makefile.am: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | noinst_LTLIBRARIES += %D%/libocdhla.la 4 | 5 | %C%_libocdhla_la_SOURCES = \ 6 | %D%/hla_transport.c \ 7 | %D%/hla_interface.c \ 8 | %D%/hla_layout.c \ 9 | %D%/hla_transport.h \ 10 | %D%/hla_interface.h \ 11 | %D%/hla_layout.h 12 | -------------------------------------------------------------------------------- /src/rtos/rtos_ecos_stackings.h: -------------------------------------------------------------------------------- 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 | 3 | #ifndef OPENOCD_RTOS_RTOS_ECOS_STACKINGS_H 4 | #define OPENOCD_RTOS_RTOS_ECOS_STACKINGS_H 5 | 6 | #include "rtos.h" 7 | 8 | extern const struct rtos_register_stacking rtos_ecos_cortex_m3_stacking; 9 | 10 | #endif /* OPENOCD_RTOS_RTOS_ECOS_STACKINGS_H */ 11 | -------------------------------------------------------------------------------- /src/rtt/Makefile.am: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | noinst_LTLIBRARIES += %D%/librtt.la 4 | %C%_librtt_la_SOURCES = %D%/rtt.c %D%/rtt.h %D%/tcl.c 5 | -------------------------------------------------------------------------------- /src/server/Makefile.am: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | noinst_LTLIBRARIES += %D%/libserver.la 4 | %C%_libserver_la_SOURCES = \ 5 | %D%/server.c \ 6 | %D%/telnet_server.c \ 7 | %D%/gdb_server.c \ 8 | %D%/server.h \ 9 | %D%/telnet_server.h \ 10 | %D%/gdb_server.h \ 11 | %D%/tcl_server.c \ 12 | %D%/tcl_server.h \ 13 | %D%/rtt_server.c \ 14 | %D%/rtt_server.h \ 15 | %D%/ipdbg.c \ 16 | %D%/ipdbg.h 17 | 18 | STARTUP_TCL_SRCS += %D%/startup.tcl 19 | -------------------------------------------------------------------------------- /src/server/ipdbg.h: -------------------------------------------------------------------------------- 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 | /* Copyright (C) 2020 by Daniel Anselmi */ 3 | 4 | #ifndef OPENOCD_IPDBG_IPDBG_H 5 | #define OPENOCD_IPDBG_IPDBG_H 6 | 7 | #include 8 | 9 | int ipdbg_register_commands(struct command_context *cmd_ctx); 10 | 11 | #endif /* OPENOCD_IPDBG_IPDBG_H */ 12 | -------------------------------------------------------------------------------- /src/server/rtt_server.h: -------------------------------------------------------------------------------- 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 | 3 | /* 4 | * Copyright (C) 2016-2017 by Marc Schink 5 | */ 6 | 7 | #ifndef OPENOCD_SERVER_RTT_SERVER_H 8 | #define OPENOCD_SERVER_RTT_SERVER_H 9 | 10 | #include 11 | 12 | int rtt_server_register_commands(struct command_context *ctx); 13 | 14 | #endif /* OPENOCD_SERVER_RTT_SERVER_H */ 15 | -------------------------------------------------------------------------------- /src/svf/Makefile.am: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | noinst_LTLIBRARIES += %D%/libsvf.la 4 | %C%_libsvf_la_SOURCES = %D%/svf.c %D%/svf.h 5 | -------------------------------------------------------------------------------- /src/target/openrisc/Makefile.am: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | noinst_LTLIBRARIES += %D%/libopenrisc.la 4 | %C%_libopenrisc_la_SOURCES = \ 5 | %D%/or1k.c \ 6 | %D%/or1k_du_adv.c \ 7 | %D%/or1k_tap_mohor.c \ 8 | %D%/or1k_tap_vjtag.c \ 9 | %D%/or1k_tap_xilinx_bscan.c \ 10 | %D%/jsp_server.c \ 11 | %D%/or1k.h \ 12 | %D%/or1k_du.h \ 13 | %D%/or1k_tap.h \ 14 | %D%/jsp_server.h 15 | -------------------------------------------------------------------------------- /src/target/xtensa/Makefile.am: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | noinst_LTLIBRARIES += %D%/libxtensa.la 4 | %C%_libxtensa_la_SOURCES = \ 5 | %D%/xtensa.c \ 6 | %D%/xtensa.h \ 7 | %D%/xtensa_chip.c \ 8 | %D%/xtensa_chip.h \ 9 | %D%/xtensa_debug_module.c \ 10 | %D%/xtensa_debug_module.h \ 11 | %D%/xtensa_fileio.c \ 12 | %D%/xtensa_fileio.h \ 13 | %D%/xtensa_regs.h 14 | -------------------------------------------------------------------------------- /src/transport/Makefile.am: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | noinst_LTLIBRARIES += %D%/libtransport.la 4 | %C%_libtransport_la_SOURCES = \ 5 | %D%/transport.c \ 6 | %D%/transport.h 7 | -------------------------------------------------------------------------------- /src/xsvf/Makefile.am: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | noinst_LTLIBRARIES += %D%/libxsvf.la 4 | %C%_libxsvf_la_SOURCES = %D%/xsvf.c %D%/xsvf.h 5 | -------------------------------------------------------------------------------- /tcl/board/adapteva_parallella1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Adapteva Parallella-I board (via Porcupine-1 adapter board) 5 | # 6 | 7 | reset_config srst_only 8 | 9 | source [find target/zynq_7000.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/ampere_emag8180.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # OpenOCD Board Configuration for eMAG Development Platform 5 | # 6 | # Copyright (c) 2019-2021, Ampere Computing LLC 7 | # 8 | 9 | # 10 | # Configure JTAG speed 11 | # 12 | 13 | adapter speed 2000 14 | 15 | # 16 | # Configure Resets 17 | # 18 | 19 | jtag_ntrst_delay 100 20 | reset_config trst_only 21 | 22 | # 23 | # Configure Targets 24 | # 25 | 26 | source [find target/ampere_emag.cfg] 27 | -------------------------------------------------------------------------------- /tcl/board/arm_evaluator7t.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This board is from ARM and has an samsung s3c45101x01 chip 4 | 5 | source [find target/samsung_s3c4510.cfg] 6 | 7 | # 8 | # FIXME: 9 | # Add (A) sdram configuration 10 | # Add (B) flash cfi programming configuration 11 | # 12 | -------------------------------------------------------------------------------- /tcl/board/atmel_at91sam7s-ek.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Atmel AT91SAM7S-EK 4 | # http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3784 5 | 6 | set CHIPNAME at91sam7s256 7 | 8 | source [find target/at91sam7sx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam3n_ek.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Board configuration for Atmel's SAM3N-EK 5 | # 6 | 7 | reset_config srst_only 8 | 9 | set CHIPNAME at91sam3n4c 10 | 11 | adapter speed 32 12 | 13 | source [find target/at91sam3nXX.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam3s_ek.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find target/at91sam3sXX.cfg] 4 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam3u_ek.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find target/at91sam3u4e.cfg] 4 | 5 | reset_config srst_only 6 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam3x_ek.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find target/at91sam3ax_8x.cfg] 4 | 5 | reset_config srst_only 6 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam4e_ek.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an SAM4E-EK board with a single SAM4E16 chip. 4 | # http://www.atmel.com/tools/sam4e-ek.aspx 5 | 6 | # chip name 7 | set CHIPNAME SAM4E16E 8 | 9 | source [find target/at91sam4sXX.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam4l8_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAM4L8 Xplained Pro evaluation kit. 5 | # http://www.atmel.com/tools/ATSAM4L8-XPRO.aspx 6 | # 7 | 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | # chip name 11 | set CHIPNAME ATSAM4LC8CA 12 | 13 | source [find target/at91sam4lXX.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam4s_ek.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find target/at91sam4sXX.cfg] 4 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam4s_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAM4S Xplained Pro evaluation kit. 5 | # http://www.atmel.com/tools/ATSAM4S-XPRO.aspx 6 | # 7 | 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | # chip name 11 | set CHIPNAME ATSAM4SD32C 12 | 13 | source [find target/at91sam4sd32x.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/atmel_samc20_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAMC20 Xplained Pro evaluation kit. 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | # chip name 10 | set CHIPNAME at91samc20j18 11 | 12 | source [find target/at91samdXX.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/atmel_samc21_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAMC21 Xplained Pro evaluation kit. 5 | # http://www.atmel.com/tools/ATSAMC21-XPRO.aspx 6 | # 7 | 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | # chip name 11 | set CHIPNAME at91samc21j18 12 | 13 | source [find target/at91samdXX.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/atmel_samd10_xplained_mini.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAMD10 Xplained mini evaluation kit. 5 | # http://www.atmel.com/tools/atsamd10-xmini.aspx 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | # chip name 10 | set CHIPNAME at91samd10d14 11 | 12 | source [find target/at91samdXX.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/atmel_samd11_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAMD11 Xplained Pro evaluation kit. 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | # chip name 10 | set CHIPNAME at91samd11d14 11 | 12 | source [find target/at91samdXX.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/atmel_samd20_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAMD20 Xplained Pro evaluation kit. 5 | # http://www.atmel.com/tools/ATSAMD20-XPRO.aspx 6 | # 7 | 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | # chip name 11 | set CHIPNAME at91samd20j18 12 | 13 | source [find target/at91samdXX.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/atmel_samd21_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAMD21 Xplained Pro evaluation kit. 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | # chip name 10 | set CHIPNAME at91samd21j18 11 | 12 | source [find target/at91samdXX.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/atmel_same70_xplained.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAME70 Xplained evaluation kit. 5 | # http://www.atmel.com/tools/ATSAME70-XPLD.aspx 6 | # 7 | # Connect using the EDBG chip on the dev kit over USB 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | set CHIPNAME atsame70q21 11 | 12 | source [find target/atsamv.cfg] 13 | 14 | reset_config srst_only 15 | -------------------------------------------------------------------------------- /tcl/board/atmel_samg53_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAMG53 Xplained Pro evaluation kit. 5 | # http://www.atmel.com/tools/ATSAMG53-XPRO.aspx 6 | # 7 | 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | # chip name 11 | set CHIPNAME ATSAMG53N19 12 | 13 | source [find target/at91samg5x.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/atmel_samg55_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAMG55 Xplained Pro evaluation kit. 5 | # http://www.atmel.com/tools/ATSAMG55-XPRO.aspx 6 | # 7 | 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | # chip name 11 | set CHIPNAME ATSAMG55J19 12 | 13 | source [find target/at91samg5x.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/atmel_saml21_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAML21 Xplained Pro evaluation kit. 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | # chip name 10 | set CHIPNAME at91saml21j18 11 | 12 | source [find target/at91samdXX.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/atmel_samr21_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAMR21 Xplained Pro evaluation kit. 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | # chip name 10 | set CHIPNAME at91samr21g18 11 | 12 | source [find target/at91samdXX.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/atmel_samv71_xplained_ultra.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Atmel SAMV71 Xplained Ultra evaluation kit. 5 | # http://www.atmel.com/tools/ATSAMV71-XULT.aspx 6 | # 7 | # To connect using the EDBG chip on the dev kit over USB, you will 8 | # first need to source [find interface/cmsis-dap.cfg] 9 | # however, since this board also has a SWD+ETM connector, we don't 10 | # automatically source that file here. 11 | 12 | set CHIPNAME samv71 13 | 14 | source [find target/atsamv.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/avnet_ultrazed-eg.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # AVNET UltraZED EG StarterKit 5 | # ZynqMP UlraScale-EG plus IO Carrier with on-board digilent smt2 6 | # 7 | source [find interface/ftdi/digilent_jtag_smt2_nc.cfg] 8 | # jtag transport only 9 | transport select jtag 10 | # reset lines are not wired 11 | reset_config none 12 | 13 | # slow default clock 14 | adapter speed 1000 15 | 16 | set CHIPNAME uscale 17 | 18 | source [find target/xilinx_zynqmp.cfg] 19 | -------------------------------------------------------------------------------- /tcl/board/bcm28155_ap.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # BCM28155_AP 4 | 5 | adapter speed 20000 6 | 7 | set CHIPNAME bcm28155 8 | source [find target/bcm281xx.cfg] 9 | 10 | reset_config trst_and_srst 11 | -------------------------------------------------------------------------------- /tcl/board/bluefield.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Board configuration for BlueField SoC. 5 | # 6 | 7 | source [find interface/rshim.cfg] 8 | source [find target/bluefield.cfg] 9 | -------------------------------------------------------------------------------- /tcl/board/calao-usb-a9260.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # CALAO Systems USB-A9260 (C01 and C02) 4 | 5 | adapter driver ftdi 6 | ftdi device_desc "USB-A9260" 7 | ftdi vid_pid 0x0403 0x6001 0x0403 0x6010 8 | ftdi layout_init 0x0c08 0x0f1b 9 | ftdi layout_signal nTRST -data 0x0100 -noe 0x0400 10 | ftdi layout_signal nSRST -data 0x0200 -noe 0x0800 11 | 12 | transport select jtag 13 | 14 | source [find target/at91sam9260.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/colibri.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Toradex Colibri PXA270 4 | source [find target/pxa270.cfg] 5 | reset_config trst_and_srst srst_push_pull 6 | adapter srst pulse_width 40 7 | 8 | # CS0 -- one bank of CFI flash, 32 MBytes 9 | # the bank is 32-bits wide, two 16-bit chips in parallel 10 | set _FLASHNAME $_CHIPNAME.flash 11 | flash bank $_FLASHNAME cfi 0x00000000 0x02000000 2 4 $_TARGETNAME 12 | -------------------------------------------------------------------------------- /tcl/board/crossbow_tech_imote2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Crossbow Technology iMote2 4 | 5 | set CHIPNAME imote2 6 | source [find target/pxa270.cfg] 7 | 8 | # longer-than-normal reset delay 9 | adapter srst delay 800 10 | 11 | reset_config trst_and_srst separate 12 | 13 | # works for P30 flash 14 | set _FLASHNAME $_CHIPNAME.flash 15 | flash bank $_FLASHNAME cfi 0x00000000 0x2000000 2 2 $_TARGETNAME 16 | -------------------------------------------------------------------------------- /tcl/board/da850evm.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | #DA850 EVM board 4 | # http://focus.ti.com/dsp/docs/thirdparty/catalog/devtoolsproductfolder.tsp?actionPerformed=productFolder&productId=5939 5 | # http://www.logicpd.com/products/development-kits/zoom-omap-l138-evm-development-kit 6 | 7 | source [find target/omapl138.cfg] 8 | 9 | reset_config trst_and_srst separate 10 | 11 | #currently any pinmux/timing must be setup by UBL before openocd can do debug 12 | #TODO: implement pinmux/timing on reset like in board/dm365evm.cfg 13 | -------------------------------------------------------------------------------- /tcl/board/digilent_zedboard.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Digilent Zedboard Rev.C, Rev.D with Xilinx Zynq chip 5 | # 6 | # http://zedboard.com/product/zedboard 7 | # 8 | 9 | source [find interface/ftdi/digilent_jtag_smt2.cfg] 10 | 11 | reset_config srst_only srst_push_pull 12 | 13 | source [find target/zynq_7000.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/diolan_lpc4350-db1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Diolan LPC-4350-DB1 development board 5 | # 6 | 7 | set CHIPNAME lpc4350 8 | 9 | source [find target/lpc4350.cfg] 10 | 11 | flash bank $_CHIPNAME.nor cfi 0x1C000000 0x00200000 2 2 $_CHIPNAME.m4 12 | -------------------------------------------------------------------------------- /tcl/board/diolan_lpc4357-db1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Diolan LPC-4357-DB1 development board 5 | # 6 | 7 | set CHIPNAME lpc4357 8 | 9 | source [find target/lpc4357.cfg] 10 | 11 | flash bank $_CHIPNAME.nor cfi 0x1C000000 0x00200000 2 2 $_CHIPNAME.m4 12 | -------------------------------------------------------------------------------- /tcl/board/dk-tm4c129.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | echo "WARNING: board/dk-tm4c129.cfg is deprecated, please switch to board/ti_dk-tm4c129.cfg" 4 | 5 | source [find board/ti_dk-tm4c129.cfg] 6 | -------------------------------------------------------------------------------- /tcl/board/dp_busblaster_v3.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Dangerous Prototypes - Bus Blaster 5 | # 6 | # http://dangerousprototypes.com/docs/Bus_Blaster 7 | # 8 | # To reprogram the on-board CPLD do: 9 | # openocd -f board/dp_busblaster_v3.cfg -c "adapter speed 1000; init; svf ; shutdown" 10 | # 11 | 12 | source [find interface/ftdi/dp_busblaster.cfg] 13 | ftdi channel 1 14 | 15 | jtag newtap xc2c32a tap -expected-id 0x06e1c093 -irlen 8 16 | -------------------------------------------------------------------------------- /tcl/board/efikamx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Genesi USA EfikaMX 4 | # http://www.genesi-usa.com/products/efika 5 | 6 | # Fall back to 6MHz if RTCK is not supported 7 | jtag_rclk 6000 8 | $_TARGETNAME configure -event "reset-start" { jtag_rclk 6000 } 9 | 10 | source [find target/imx51.cfg] 11 | 12 | reset_config trst_only 13 | -------------------------------------------------------------------------------- /tcl/board/efm32.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Configuration for EFM32 boards with on-board SEGGER J-Link 4 | # 5 | # Tested with Tiny, Giant and Zero Gecko Starter Kit. 6 | # 7 | 8 | source [find interface/jlink.cfg] 9 | transport select swd 10 | adapter speed 1000 11 | 12 | set CHIPNAME efm32 13 | source [find target/efm32.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s3748.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI/Luminary Stellaris lm3s3748 Evaluation Kits 5 | # 6 | # http://www.ti.com/tool/ek-lm3s3748 7 | # 8 | 9 | # NOTE: using the on-board FT2232 JTAG/SWD/SWO interface is optional! 10 | # so is using it in JTAG mode, as done here. 11 | source [find interface/ftdi/luminary.cfg] 12 | 13 | # 20k working area 14 | set WORKAREASIZE 0x4000 15 | set CHIPNAME lm3s3748 16 | source [find target/stellaris.cfg] 17 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s6965.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI/Luminary Stellaris LM3S6965 Evaluation Kits 5 | # 6 | # http://www.ti.com/tool/ek-lm3s6965 7 | # 8 | 9 | # NOTE: using the on-board FT2232 JTAG/SWD/SWO interface is optional! 10 | # so is using it in JTAG mode, as done here. 11 | source [find interface/ftdi/luminary.cfg] 12 | 13 | # 20k working area 14 | set WORKAREASIZE 0x5000 15 | set CHIPNAME lm3s6965 16 | # include the target config 17 | source [find target/stellaris.cfg] 18 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s811-revb.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI/Luminary Stellaris LM3S811 Evaluation Kits (rev B and earlier) 5 | # 6 | # http://www.ti.com/tool/ek-lm3s811 7 | # 8 | 9 | # NOTE: newer 811-EK boards (rev C and above) shouldn't use this. 10 | # use board/ek-lm3s811.cfg 11 | source [find interface/ftdi/luminary-lm3s811.cfg] 12 | 13 | # include the target config 14 | set WORKAREASIZE 0x2000 15 | set CHIPNAME lm3s811 16 | source [find target/stellaris.cfg] 17 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s8962.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI/Luminary Stellaris LM3S8962 Evaluation Kits 5 | # 6 | # http://www.ti.com/tool/ek-lm3s8962 7 | # 8 | 9 | # NOTE: using the on-board FT2232 JTAG/SWD/SWO interface is optional! 10 | # so is using it in JTAG mode, as done here. 11 | source [find interface/ftdi/luminary.cfg] 12 | 13 | # 64k working area 14 | set WORKAREASIZE 0x10000 15 | set CHIPNAME lm3s8962 16 | # include the target config 17 | source [find target/stellaris.cfg] 18 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s9b9x.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI/Luminary Stellaris LM3S9B9x Evaluation Kits 5 | # 6 | # http://www.ti.com/tool/ek-lm3s9b90 7 | # http://www.ti.com/tool/ek-lm3s9b92 8 | # 9 | 10 | # NOTE: using the bundled FT2232 JTAG/SWD/SWO interface is optional! 11 | # so is using in JTAG mode, as done here. 12 | source [find interface/ftdi/luminary-icdi.cfg] 13 | 14 | set WORKAREASIZE 0x4000 15 | set CHIPNAME lm3s9b9x 16 | source [find target/stellaris.cfg] 17 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s9d92.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI/Luminary Stellaris LM3S9D92 Evaluation Kits 5 | # 6 | # http://www.ti.com/tool/ek-lm3s9d92 7 | # 8 | 9 | # NOTE: using the bundled FT2232 JTAG/SWD/SWO interface is optional! 10 | # so is using in JTAG mode, as done here. 11 | source [find interface/ftdi/luminary-icdi.cfg] 12 | 13 | # 64k working area 14 | set WORKAREASIZE 0x10000 15 | set CHIPNAME lm3s9d92 16 | source [find target/stellaris.cfg] 17 | -------------------------------------------------------------------------------- /tcl/board/ek-lm4f120xl.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI Stellaris Launchpad ek-lm4f120xl Evaluation Kits 5 | # 6 | # http://www.ti.com/tool/ek-lm4f120xl 7 | # 8 | 9 | # 10 | # NOTE: using the bundled ICDI interface is optional! 11 | # This interface is not ftdi based as previous boards were 12 | # 13 | source [find interface/ti-icdi.cfg] 14 | 15 | transport select hla_jtag 16 | 17 | set WORKAREASIZE 0x8000 18 | set CHIPNAME lm4f120h5qr 19 | source [find target/stellaris.cfg] 20 | -------------------------------------------------------------------------------- /tcl/board/ek-lm4f232.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI Stellaris LM4F232 Evaluation Kits 5 | # 6 | # http://www.ti.com/tool/ek-lm4f232 7 | # 8 | 9 | # 10 | # NOTE: using the bundled ICDI interface is optional! 11 | # This interface is not ftdi based as previous boards were 12 | # 13 | source [find interface/ti-icdi.cfg] 14 | 15 | transport select hla_jtag 16 | 17 | set WORKAREASIZE 0x8000 18 | set CHIPNAME lm4f23x 19 | source [find target/stellaris.cfg] 20 | -------------------------------------------------------------------------------- /tcl/board/ek-tm4c123gxl.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | echo "WARNING: board/ek-tm4c123gxl.cfg is deprecated, please switch to board/ti_ek-tm4c123gxl.cfg" 4 | 5 | source [find board/ti_ek-tm4c123gxl.cfg] 6 | -------------------------------------------------------------------------------- /tcl/board/ek-tm4c1294xl.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | echo "WARNING: board/ek-tm4c1294xl.cfg is deprecated, please switch to board/ti_ek-tm4c1294xl.cfg" 4 | 5 | source [find board/ti_ek-tm4c1294xl.cfg] 6 | -------------------------------------------------------------------------------- /tcl/board/emcraft_twr-vf6-som-bsb.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # EmCraft Systems TWR-VF6-SOM-BSB 5 | # 6 | # http://www.emcraft.com/products/259#twr-kit 7 | # 8 | 9 | source [find board/emcraft_vf6-som.cfg] 10 | 11 | reset_config srst_only srst_nogate 12 | -------------------------------------------------------------------------------- /tcl/board/emcraft_vf6-som.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # EmCraft Systems Vybrid VF6 SOM 5 | # 6 | # http://www.emcraft.com/products/259#som 7 | # 8 | 9 | set CHIPNAME vf610 10 | source [find target/vybrid_vf6xx.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/esp32-bridge.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # Example OpenOCD configuration file for ESP32 connected via ESP USB Bridge board 4 | # 5 | # For example, OpenOCD can be started for ESP32 debugging on 6 | # 7 | # openocd -f board/esp32-bridge.cfg 8 | # 9 | 10 | # Source the JTAG interface configuration file 11 | source [find interface/esp_usb_bridge.cfg] 12 | # ESP32 chip id defined in the idf esp_chip_model_t 13 | espusbjtag chip_id 1 14 | # Source the ESP32 configuration file 15 | source [find target/esp32.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/esp32s3-builtin.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # Example OpenOCD configuration file for ESP32-S3 connected via builtin USB-JTAG adapter. 4 | # 5 | # For example, OpenOCD can be started for ESP32-S3 debugging on 6 | # 7 | # openocd -f board/esp32s3-builtin.cfg 8 | # 9 | 10 | # Source the JTAG interface configuration file 11 | source [find interface/esp_usb_jtag.cfg] 12 | # Source the ESP32-S3 configuration file 13 | source [find target/esp32s3.cfg] 14 | 15 | adapter speed 40000 16 | -------------------------------------------------------------------------------- /tcl/board/evb-lan9255.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # Microchip LAN9255 evaluation board 4 | # https://www.microchip.com/en-us/development-tool/EV25Y25A 5 | # 6 | 7 | set CHIPNAME same53 8 | 9 | source [find target/atsame5x.cfg] 10 | 11 | reset_config srst_only 12 | -------------------------------------------------------------------------------- /tcl/board/frdm-kl25z.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an Freescale Freedom eval board with a single MKL25Z128VLK4 chip. 4 | # http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL25Z 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | # increase working area to 16KB 10 | set WORKAREASIZE 0x4000 11 | 12 | # chip name 13 | set CHIPNAME MKL25Z128VLK4 14 | 15 | reset_config srst_only 16 | 17 | source [find target/kl25.cfg] 18 | -------------------------------------------------------------------------------- /tcl/board/frdm-kl46z.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an Freescale Freedom eval board with a single MKL46Z256VLL4 chip. 4 | # http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL46Z 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | # increase working area to 16KB 10 | set WORKAREASIZE 0x4000 11 | 12 | # chip name 13 | set CHIPNAME MKL46Z256VLL4 14 | 15 | reset_config srst_only 16 | 17 | source [find target/kl46.cfg] 18 | -------------------------------------------------------------------------------- /tcl/board/gti/espressobin.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # config for ESPRESSObin from 4 | # Globalscale Technologies Inc. 5 | 6 | # srst is isolated through missing resistor 7 | reset_config trst_only 8 | 9 | source [find target/marvell/88f3720.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/gumstix-aerocore.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # JTAG for the STM32F4x chip used on the Gumstix AeroCore is available on 4 | # the first interface of a Quad FTDI chip. nTRST is bit 4. 5 | adapter driver ftdi 6 | ftdi vid_pid 0x0403 0x6011 7 | 8 | ftdi layout_init 0x0000 0x001b 9 | ftdi layout_signal nTRST -data 0x0010 10 | 11 | source [find target/stm32f4x.cfg] 12 | reset_config trst_only 13 | -------------------------------------------------------------------------------- /tcl/board/hitex_lpc1768stick.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Hitex LPC1768 Stick 4 | # 5 | # http://www.hitex.com/?id=1602 6 | # 7 | 8 | reset_config trst_and_srst 9 | 10 | source [find interface/ftdi/hitex_lpc1768stick.cfg] 11 | 12 | source [find target/lpc17xx.cfg] 13 | 14 | 15 | # startup @ 500kHz 16 | adapter speed 500 17 | -------------------------------------------------------------------------------- /tcl/board/iar_lpc1768.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Board from IAR KickStart Kit for LPC1768 4 | # See www.iar.com and also 5 | # http://www.olimex.com/dev/lpc-1766stk.html 6 | # 7 | 8 | source [find target/lpc17xx.cfg] 9 | 10 | # The chip has just been reset. 11 | # 12 | $_TARGETNAME configure -event reset-init { 13 | # FIXME update the core clock to run at 100 MHz; 14 | # and update JTAG clocking similarly; then 15 | # make CCLK match, 16 | 17 | flash probe 0 18 | } 19 | -------------------------------------------------------------------------------- /tcl/board/iar_str912_sk.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # The IAR str912-sk evaluation kick start board has an str912 4 | 5 | source [find target/str912.cfg] 6 | -------------------------------------------------------------------------------- /tcl/board/imx8mp-evk.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # configuration file for NXP MC-IMX8MP-EVK 5 | # 6 | # Board includes FTDI-based JTAG adapter: interface/ftdi/imx8mp-evk.cfg 7 | # 8 | 9 | transport select jtag 10 | adapter speed 1000 11 | reset_config srst_only 12 | adapter srst delay 100 13 | 14 | set CHIPNAME imx8mp 15 | set CHIPCORES 4 16 | 17 | source [find target/imx8m.cfg] 18 | -------------------------------------------------------------------------------- /tcl/board/insignal_arndale.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # InSignal Arndale board 5 | # 6 | 7 | source [find target/exynos5250.cfg] 8 | 9 | # Experimentally determined highest working speed 10 | adapter speed 200 11 | -------------------------------------------------------------------------------- /tcl/board/kasli.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | adapter driver ftdi 4 | ftdi device_desc "Quad RS232-HS" 5 | ftdi vid_pid 0x0403 0x6011 6 | ftdi channel 0 7 | ftdi layout_init 0x0008 0x000b 8 | # adapter usb location 1:8 9 | 10 | reset_config none 11 | transport select jtag 12 | adapter speed 25000 13 | 14 | source [find cpld/xilinx-xc7.cfg] 15 | source [find cpld/jtagspi.cfg] 16 | source [find fpga/xilinx-xadc.cfg] 17 | source [find fpga/xilinx-dna.cfg] 18 | -------------------------------------------------------------------------------- /tcl/board/kcu105.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # xilinx ultrascale 4 | # http://www.xilinx.com/support/documentation/user_guides/ug570-ultrascale-configuration.pdf 5 | 6 | source [find interface/ftdi/digilent_jtag_smt2_nc.cfg] 7 | 8 | set CHIP XCKU040 9 | source [find cpld/xilinx-xcu.cfg] 10 | 11 | source [find cpld/jtagspi.cfg] 12 | 13 | adapter speed 25000 14 | -------------------------------------------------------------------------------- /tcl/board/keil_mcb1700.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Keil MCB1700 eval board 5 | # 6 | # http://www.keil.com/mcb1700/picture.asp 7 | # 8 | 9 | source [find target/lpc17xx.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/keil_mcb2140.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Keil MCB2140 eval board 5 | # 6 | # http://www.keil.com/mcb2140/picture.asp 7 | # 8 | 9 | source [find target/lpc2148.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/kontron_sl28.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # Kontron SMARC-sAL28 3 | 4 | transport select jtag 5 | reset_config srst_only srst_nogate 6 | 7 | jtag newtap unknown0 tap -irlen 12 8 | 9 | set _CPUS 2 10 | source [find target/ls1028a.cfg] 11 | 12 | source [find tcl/cpld/altera-epm240.cfg] 13 | 14 | adapter speed 2000 15 | -------------------------------------------------------------------------------- /tcl/board/kwikstik.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Freescale KwikStik development board 5 | # 6 | 7 | # 8 | # JLINK interface is onboard 9 | # 10 | source [find interface/jlink.cfg] 11 | 12 | source [find target/k40.cfg] 13 | 14 | reset_config trst_and_srst 15 | -------------------------------------------------------------------------------- /tcl/board/la_fonera-fon2200.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find target/atheros_ar2315.cfg] 4 | 5 | reset_config trst_and_srst 6 | -------------------------------------------------------------------------------- /tcl/board/linksys-wrt54gl.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Linksys WRT54GL v1.1 5 | # 6 | 7 | source [find target/bcm5352e.cfg] 8 | 9 | set partition_list { 10 | CFE { Bootloader 0x1c000000 0x00040000 } 11 | firmware { "Kernel+rootfs" 0x1c040000 0x003b0000 } 12 | nvram { "Config space" 0x1c3f0000 0x00010000 } 13 | } 14 | 15 | # External 4MB NOR Flash (Intel TE28F320C3BD90 or similar) 16 | set _FLASHNAME $_CHIPNAME.flash 17 | flash bank $_FLASHNAME cfi 0x1c000000 0x00400000 2 2 $_TARGETNAME 18 | -------------------------------------------------------------------------------- /tcl/board/linksys_nslu2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is for the LinkSys (CISCO) NSLU2 board 4 | # It is an Intel XSCALE IXP420 CPU. 5 | 6 | source [find target/ixp42x.cfg] 7 | # The _TARGETNAME is set by the above. 8 | 9 | $_TARGETNAME configure -work-area-phys 0x00020000 -work-area-size 0x10000 -work-area-backup 0 10 | -------------------------------------------------------------------------------- /tcl/board/lisa-l.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # the Lost Illusions Serendipitous Autopilot 4 | # http://paparazzi.enac.fr/wiki/Lisa 5 | 6 | # Work-area size (RAM size) = 20kB for STM32F103RB device 7 | set WORKAREASIZE 0x5000 8 | 9 | source [find target/stm32f1x.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/logicpd_imx27.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # The LogicPD Eval IMX27 eval board has a single IMX27 chip 4 | source [find target/imx27.cfg] 5 | 6 | # The Logic PD board has a NOR flash on CS0 7 | set _FLASHNAME $_CHIPNAME.flash 8 | flash bank $_FLASHNAME cfi 0xc0000000 0x00200000 2 2 $_TARGETNAME 9 | 10 | # 11 | # FIX ME, Add support to 12 | # 13 | # (A) hard reset the board. 14 | # (B) Initialize the SDRAM on the board 15 | # 16 | -------------------------------------------------------------------------------- /tcl/board/marsohod.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Marsohod CPLD Development and Education board 5 | # 6 | # http://marsohod.org/howtostart/plata 7 | # 8 | 9 | # Recommended MBFTDI programmer 10 | source [find interface/ftdi/mbftdi.cfg] 11 | adapter speed 2000 12 | transport select jtag 13 | 14 | # Altera MAXII EPM240T100C CPLD 15 | source [find cpld/altera-epm240.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/marsohod2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Marsohod2 FPGA Development and Education board 5 | # 6 | # http://www.marsohod.org/prodmarsohod2 7 | # 8 | 9 | # Built-in MBFTDI programmer 10 | source [find interface/ftdi/mbftdi.cfg] 11 | adapter speed 2000 12 | transport select jtag 13 | 14 | # Cyclone III EP3C10E144 FPGA 15 | source [find fpga/altera-ep3c10.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/marsohod3.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Marsohod3 FPGA Development and Education board 5 | # 6 | # http://www.marsohod.org/plata-marsokhod3 7 | # 8 | 9 | # Built-in MBFTDI programmer 10 | source [find interface/ftdi/mbftdi.cfg] 11 | adapter speed 2000 12 | transport select jtag 13 | 14 | # MAX10 10M50SAE144C8GES FPGA 15 | source [find fpga/altera-10m50.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/mbed-lpc11u24.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an mbed eval board with a single NXP LPC11U24 chip. 4 | # http://mbed.org/handbook/mbed-NXP-LPC11U24 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | # NXP LPC11U24 Cortex-M0 with 32kB Flash and 8kB SRAM 10 | set WORKAREASIZE 0x2000 11 | 12 | source [find target/lpc11xx.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/mbed-lpc1768.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an mbed eval board with a single NXP LPC1768 chip. 4 | # http://mbed.org/handbook/mbed-NXP-LPC1768 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | source [find target/lpc17xx.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/microchip_explorer16.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Microchip Explorer 16 with PIC32MX360F512L PIM module. 4 | # http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en024858 5 | 6 | # TAPID for PIC32MX360F512L 7 | set CPUTAPID 0x30938053 8 | 9 | # use 32k working area 10 | set WORKAREASIZE 32768 11 | 12 | source [find target/pic32mx.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/microchip_same51_curiosity_nano.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # Microchip SAME51 Curiosity Nano evaluation kit. 4 | # 5 | # https://www.microchip.com/en-us/development-tool/EV76S68A 6 | # 7 | 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | set CHIPNAME same51 11 | 12 | source [find target/atsame5x.cfg] 13 | 14 | reset_config srst_only 15 | -------------------------------------------------------------------------------- /tcl/board/microchip_same54_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Microchip (former Atmel) SAM E54 Xplained Pro evaluation kit. 5 | # http://www.microchip.com/developmenttools/productdetails.aspx?partno=atsame54-xpro 6 | # 7 | 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | set CHIPNAME same54 11 | 12 | source [find target/atsame5x.cfg] 13 | 14 | reset_config srst_only 15 | -------------------------------------------------------------------------------- /tcl/board/microchip_saml11_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Microchip (formerly Atmel) SAM L11 Xplained Pro Evaluation Kit. 5 | # https://www.microchip.com/DevelopmentTools/ProductDetails/dm320205 6 | # 7 | 8 | source [find interface/cmsis-dap.cfg] 9 | adapter speed 1000 10 | 11 | set CHIPNAME saml11 12 | source [find target/atsaml1x.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/nds32_xc7.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # ADP-XC7K160/410 3 | # http://www.andestech.com/en/products-solutions/andeshape-platforms/adp-xc7k160-410/ 4 | 5 | source [find target/nds32v5.cfg] 6 | -------------------------------------------------------------------------------- /tcl/board/nordic_nrf51822_mkit.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Nordic Semiconductor PCA10024 board (aka nRF51822-mKIT) 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | source [find target/nrf51.cfg] 9 | -------------------------------------------------------------------------------- /tcl/board/nordic_nrf51_dk.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Nordic Semiconductor NRF51 Development Kit (nRF6824) 5 | # 6 | 7 | source [find interface/jlink.cfg] 8 | 9 | transport select swd 10 | 11 | source [find target/nrf51.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/nordic_nrf52_dk.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Nordic Semiconductor NRF52 Development Kit (nRF52832) 5 | # 6 | 7 | source [find interface/jlink.cfg] 8 | 9 | transport select swd 10 | 11 | source [find target/nrf52.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/nordic_nrf52_ftx232.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # nordic module NRF52 (nRF52832/52840) attached to an adafruit ft232h module 5 | # or any FT232H/FT2232H/FT4232H based board/module 6 | # 7 | 8 | source [find interface/ftdi/ft232h-module-swd.cfg] 9 | #source [find interface/ftdi/minimodule-swd.cfg] 10 | 11 | transport select swd 12 | 13 | source [find target/nrf52.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/npcx_evb.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Nuvoton NPCX Evaluation Board 4 | 5 | source [find interface/jlink.cfg] 6 | transport select swd 7 | 8 | source [find target/npcx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/board/numato_opsis.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # http://opsis.hdmi2usb.tv 4 | # 5 | # The Numato Opsis is an FPGA based, open video platform. 6 | # 7 | # The board is supported via ixo-usb-jtag project. See the 8 | # interface/usb-jtag.cfg for more information. 9 | 10 | source [find interface/usb-jtag.cfg] 11 | source [find cpld/xilinx-xc6s.cfg] 12 | source [find cpld/jtagspi.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/nxp_frdm-k64f.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an NXP Freedom eval board with a single MK64FN1M0VLL12 chip. 4 | # https://www.nxp.com/design/development-boards/freedom-development-boards/mcu-boards/freedom-development-platform-for-kinetis-k64-k63-and-k24-mcus:FRDM-K64F 5 | # 6 | 7 | source [find interface/cmsis-dap.cfg] 8 | 9 | # Set working area to 16 KiB 10 | set WORKAREASIZE 0x4000 11 | 12 | set CHIPNAME k64f 13 | reset_config srst_only 14 | 15 | source [find target/kx.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/nxp_frdm-ls1012a.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # NXP FRDM-LS1012A (Freedom) 5 | # 6 | 7 | # 8 | # NXP Kinetis K20 9 | # 10 | source [find interface/cmsis-dap.cfg] 11 | transport select jtag 12 | 13 | # Also offers a 10-pin 0.05" CoreSight JTAG connector. 14 | 15 | source [find target/ls1012a.cfg] 16 | 17 | reset_config srst_only 18 | -------------------------------------------------------------------------------- /tcl/board/nxp_lpc-link2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # NXP LPC-Link2 5 | # 6 | # http://www.nxp.com/board/OM13054.html 7 | # https://www.lpcware.com/lpclink2 8 | # http://embeddedartists.com/products/lpcxpresso/lpclink2.php 9 | # 10 | 11 | source [find target/lpc4370.cfg] 12 | 13 | # W25Q80BVSSIG w/ 1 MB flash 14 | flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m4 15 | -------------------------------------------------------------------------------- /tcl/board/nxp_rdb-ls1088a.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # NXP LS1088ARDB (Reference Design Board) 3 | # This is for the "main" JTAG connector J55 4 | 5 | transport select jtag 6 | reset_config srst_only 7 | 8 | # To access the CPLD, populate J48 and add `-c 'set CWTAP 1'` to your command 9 | # line. At the time of this writing, programming is unsupported. 10 | if { [info exists CWTAP] } { 11 | source [find cpld/altera-epm240.cfg] 12 | } else { 13 | source [find target/ls1088a.cfg] 14 | } 15 | -------------------------------------------------------------------------------- /tcl/board/olimex_LPC2378STK.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | ##################################################### 4 | # Olimex LPC2378STK eval board 5 | # 6 | # http://olimex.com/dev/lpc-2378stk.html 7 | # 8 | # Author: Sten, debian@sansys-electronic.com 9 | ##################################################### 10 | # 11 | 12 | source [find target/lpc2378.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/olimex_lpc_h2148.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Olimex LPC-H2148 eval board 5 | # 6 | # http://www.olimex.com/dev/lpc-h2148.html 7 | # 8 | 9 | source [find target/lpc2148.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/olimex_sam7_ex256.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Olimex SAM7-EX256 has a single Atmel at91sam7ex256 on it. 4 | 5 | source [find target/at91sam7x256.cfg] 6 | -------------------------------------------------------------------------------- /tcl/board/olimex_stm32_h103.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Olimex STM32-H103 eval board 4 | # http://olimex.com/dev/stm32-h103.html 5 | 6 | # Work-area size (RAM size) = 20kB for STM32F103RB device 7 | set WORKAREASIZE 0x5000 8 | 9 | source [find target/stm32f1x.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/olimex_stm32_h107.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Olimex STM32-H107 5 | # 6 | # http://olimex.com/dev/stm32-h107.html 7 | # 8 | 9 | # Work-area size (RAM size) = 64kB for STM32F107VC device 10 | set WORKAREASIZE 0x10000 11 | 12 | source [find target/stm32f1x.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/olimex_stm32_h405.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # Olimex STM32-H405 eval board 3 | # https://www.olimex.com/Products/ARM/ST/STM32-H405/ 4 | 5 | # Work-area size (RAM size) = 128kB for STM32F405RG device 6 | set WORKAREASIZE 0x20000 7 | 8 | source [find target/stm32f4x.cfg] 9 | -------------------------------------------------------------------------------- /tcl/board/olimex_stm32_p107.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Olimex STM32-P107 5 | # 6 | # http://olimex.com/dev/stm32-p107.html 7 | # 8 | 9 | # Work-area size (RAM size) = 64kB for STM32F107VC device 10 | set WORKAREASIZE 0x10000 11 | 12 | source [find target/stm32f1x.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/omap2420_h4.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # OMAP2420 SDP board ("H4") 4 | 5 | source [find target/omap2420.cfg] 6 | 7 | # NOTE: this assumes you're *NOT* using a TI-14 connector. 8 | reset_config trst_and_srst separate 9 | 10 | # Board configs can vary a *LOT* ... parts, jumpers, etc. 11 | # This GP board boots from cs0 using NOR (2x32M), and also 12 | # has 64M NAND on cs6. 13 | flash bank h4.u10 cfi 0x04000000 0x02000000 2 2 $_TARGETNAME 14 | flash bank h4.u11 cfi 0x06000000 0x02000000 2 2 $_TARGETNAME 15 | -------------------------------------------------------------------------------- /tcl/board/phone_se_j100i.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Sony Ericsson J100I Phone 5 | # 6 | # more information can be found on 7 | # http://bb.osmocom.org/trac/wiki/SonyEricssonJ100i 8 | # 9 | source [find target/ti_calypso.cfg] 10 | 11 | # external flash 12 | 13 | set _FLASHNAME $_CHIPNAME.flash 14 | flash bank $_FLASHNAME cfi 0x00000000 0x400000 2 2 $_TARGETNAME 15 | -------------------------------------------------------------------------------- /tcl/board/pic-p32mx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # The Olimex PIC-P32MX has a PIC32MX 4 | 5 | set CPUTAPID 0x40916053 6 | source [find target/pic32mx.cfg] 7 | -------------------------------------------------------------------------------- /tcl/board/pico-debug.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # pico-debug is a virtual CMSIS-DAP debug adapter 3 | # it runs on the very same RP2040 target being debugged without additional hardware 4 | # https://github.com/majbthrd/pico-debug 5 | 6 | source [find interface/cmsis-dap.cfg] 7 | adapter speed 4000 8 | 9 | set CHIPNAME rp2040 10 | source [find target/rp2040-core0.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/quark_d2000_refboard.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Intel Quark microcontroller D2000 Reference Board (web search for doc num 333582) 4 | 5 | # the board has an onboard FTDI FT232H chip 6 | adapter driver ftdi 7 | ftdi vid_pid 0x0403 0x6014 8 | ftdi channel 0 9 | 10 | ftdi layout_init 0x0000 0x030b 11 | ftdi layout_signal nTRST -data 0x0100 -noe 0x0100 12 | 13 | source [find target/quark_d20xx.cfg] 14 | 15 | adapter speed 1000 16 | 17 | reset_config trst_only 18 | -------------------------------------------------------------------------------- /tcl/board/quark_x10xx_board.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # There are many Quark boards that can host the quark_x10xx SoC 4 | # Galileo is an example board 5 | 6 | source [find target/quark_x10xx.cfg] 7 | 8 | #default frequency but this can be adjusted at runtime 9 | adapter speed 4000 10 | 11 | reset_config trst_only 12 | -------------------------------------------------------------------------------- /tcl/board/quicklogic_quickfeather.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # QuickLogic EOS S3 QuickFeather 3 | # https://www.quicklogic.com/products/eos-s3/quickfeather-development-kit/ 4 | 5 | source [find target/eos_s3.cfg] 6 | 7 | reset_config srst_only 8 | 9 | transport select swd 10 | -------------------------------------------------------------------------------- /tcl/board/redbee.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find target/mc13224v.cfg] 4 | -------------------------------------------------------------------------------- /tcl/board/renesas_dk-s7g2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Renesas Synergy DK-S7G2 5 | # 6 | 7 | source [find interface/jlink.cfg] 8 | transport select swd 9 | 10 | # XXX 19-pin SWD+TRACE connector also available 11 | 12 | # Synergy R7FS7G27H2A01CBD 13 | source [find target/renesas_s7g2.cfg] 14 | 15 | # 32 MB QSPI flash (Micron N25Q256A13EF840E) 16 | -------------------------------------------------------------------------------- /tcl/board/renesas_falcon.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # Renesas R-Car V3U Falcon Board Config 3 | 4 | # The Falcon board comes with either an V3U SOC. 5 | 6 | echo "\nFalcon:" 7 | if { ![info exists SOC] } { 8 | set SOC V3U 9 | } 10 | source [find target/renesas_rcar_gen3.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/renesas_gr_peach.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Renesas RZ/A1H GR-Peach board 4 | 5 | reset_config srst_only 6 | 7 | source [find target/renesas_r7s72100.cfg] 8 | -------------------------------------------------------------------------------- /tcl/board/renesas_porter.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Renesas R-Car M2 Evaluation Board 4 | 5 | set SOC M2 6 | source [find target/renesas_rcar_gen2.cfg] 7 | -------------------------------------------------------------------------------- /tcl/board/renesas_salvator-xs.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Renesas R-Car Gen3 Salvator-X(S) Board Config 4 | 5 | # The Salvator-X(S) boards come with either an H3, M3W, or M3N SOC. 6 | 7 | echo "\nSalvator-X(S):" 8 | if { ![info exists SOC] } { 9 | set SOC H3 10 | } 11 | source [find target/renesas_rcar_gen3.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/renesas_silk.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Renesas R-Car E2 Evaluation Board 4 | 5 | set SOC E2 6 | source [find target/renesas_rcar_gen2.cfg] 7 | -------------------------------------------------------------------------------- /tcl/board/renesas_stout.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Renesas R-Car H2 Evaluation Board 4 | 5 | set SOC H2 6 | source [find target/renesas_rcar_gen2.cfg] 7 | -------------------------------------------------------------------------------- /tcl/board/rigado_bmd300_ek.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Rigado BMD-300 Evaluation Kit 5 | # 6 | # https://www.rigado.com/products/modules/bmd-300/ 7 | # 8 | 9 | source [find interface/jlink.cfg] 10 | transport select swd 11 | adapter speed 1000 12 | 13 | source [find target/nrf52.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/rpi3.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is the Raspberry Pi 3 board with BCM2837 chip 4 | # https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2837/README.md 5 | # 6 | # Enable JTAG GPIO on Raspberry Pi boards 7 | # https://www.raspberrypi.org/documentation/configuration/config-txt/gpio.md 8 | 9 | source [find target/bcm2837.cfg] 10 | transport select jtag 11 | 12 | # Raspberry Pi boards only expose Test Reset (TRST) pin, no System Reset (SRST) 13 | reset_config trst_only 14 | -------------------------------------------------------------------------------- /tcl/board/rpi4b.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is the Raspberry Pi 4 model B board with BCM2711 chip 4 | # https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711/README.md 5 | # 6 | # Enable JTAG GPIO on Raspberry Pi boards 7 | # https://www.raspberrypi.org/documentation/configuration/config-txt/gpio.md 8 | 9 | source [find target/bcm2711.cfg] 10 | transport select jtag 11 | 12 | # Raspberry Pi boards only expose Test Reset (TRST) pin, no System Reset (SRST) 13 | reset_config trst_only 14 | -------------------------------------------------------------------------------- /tcl/board/smdk6410.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Target configuration for the Samsung s3c6410 system on chip 4 | # Tested on a SMDK6410 5 | # Processor : ARM1176 6 | # Info: JTAG device found: 0x0032409d (Manufacturer: 0x04e, Part: 0x0324, Version: 0x0) 7 | 8 | source [find target/samsung_s3c6410.cfg] 9 | 10 | set _FLASHNAME $_CHIPNAME.flash 11 | flash bank $_FLASHNAME cfi 0x00000000 0x00100000 2 2 $_TARGETNAME jedec_probe 12 | -------------------------------------------------------------------------------- /tcl/board/snps_hsdk.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Copyright (C) 2019, 2020 Synopsys, Inc. 4 | # Anton Kolesov 5 | # Didin Evgeniy 6 | 7 | # 8 | # Synopsys DesignWare ARC HSDK Software Development Platform (HS38 cores) 9 | # 10 | 11 | source [find interface/ftdi/snps_sdp.cfg] 12 | adapter speed 10000 13 | 14 | # ARCs supports only JTAG. 15 | transport select jtag 16 | 17 | # Configure SoC 18 | source [find target/snps_hsdk.cfg] 19 | -------------------------------------------------------------------------------- /tcl/board/snps_hsdk_4xd.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Copyright (C) 2023 Synopsys, Inc. 4 | # Artemiy Volkov 5 | 6 | # Adapted from tcl/board/snps_hsdk.cfg. 7 | 8 | # 9 | # Synopsys DesignWare ARC HSDK Software Development Platform (HS47D cores) 10 | # 11 | 12 | source [find interface/ftdi/snps_sdp.cfg] 13 | adapter speed 10000 14 | 15 | # ARCs supports only JTAG. 16 | transport select jtag 17 | 18 | # Configure SoC 19 | source [find target/snps_hsdk_4xd.cfg] 20 | -------------------------------------------------------------------------------- /tcl/board/spansion_sk-fm4-176l-s6e2cc.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Spansion SK-FM4-176L-S6E2CC 5 | # 6 | 7 | # 8 | # FM3 MB9AF312K 9 | # 10 | source [find interface/cmsis-dap.cfg] 11 | 12 | # There's also an unpopulated 10-pin 0.05" pinout. 13 | 14 | # 15 | # FM4 S6E2CCAJ0A w/ 192 KB SRAM0 16 | # 17 | set CHIPNAME s6e2cc 18 | set CHIPSERIES S6E2CCAJ0A 19 | set WORKAREASIZE 0x30000 20 | source [find target/fm4_s6e2cc.cfg] 21 | 22 | reset_config srst_only 23 | -------------------------------------------------------------------------------- /tcl/board/spansion_sk-fm4-u120-9b560.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Spansion SK-FM4-U120-9B560 5 | # 6 | 7 | # 8 | # FM3 MB9AF312K 9 | # 10 | # source [find interface/cmsis-dap.cfg] 11 | 12 | # 13 | # FM4 MB9BF568R w/ 64 KB SRAM0 14 | # 15 | set CHIPNAME mb9bf568 16 | set CHIPSERIES MB9BF568R 17 | set WORKAREASIZE 0x10000 18 | source [find target/fm4_mb9bf.cfg] 19 | 20 | reset_config srst_only 21 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_8l152r8.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is a ST NUCLEO 8L152R8 board with a single STM8L152R8T6 chip. 4 | # http://www.st.com/en/evaluation-tools/nucleo-8l152r8.html 5 | 6 | source [find interface/stlink-dap.cfg] 7 | 8 | transport select swim 9 | 10 | source [find target/stm8l15xx8.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_8s208rb.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is a ST NUCLEO 8S208RB board with a single STM8S208RBT6 chip. 4 | # https://www.st.com/en/evaluation-tools/nucleo-8s208rb.html 5 | 6 | source [find interface/stlink-dap.cfg] 7 | 8 | transport select swim 9 | 10 | # 128 KiB flash and 2 KiB EEPROM 11 | set FLASHEND 0x27fff 12 | set EEPROMEND 0x47ff 13 | 14 | source [find target/stm8s.cfg] 15 | 16 | reset_config srst_only 17 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_f103rb.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an ST NUCLEO F103RB board with a single STM32F103RBT6 chip. 4 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259875 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | source [find target/stm32f1x.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_f3.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an ST NUCLEO F334R8 board with a single STM32F334R8T6 chip. 4 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260004 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | source [find target/stm32f3x.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_f4.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is for all ST NUCLEO with any STM32F4. Known boards at the moment: 4 | # STM32F401RET6 5 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260000 6 | # STM32F411RET6 7 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260320 8 | 9 | source [find interface/stlink.cfg] 10 | 11 | transport select hla_swd 12 | 13 | source [find target/stm32f4x.cfg] 14 | 15 | reset_config srst_only 16 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_f7.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # STMicroelectronics STM32F7 Nucleo development board 4 | # Known boards: NUCLEO-F746ZG and NUCLEO-F767ZI 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | source [find target/stm32f7x.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_h743zi.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an ST NUCLEO-H743ZI board with single STM32H743ZI chip. 4 | # http://www.st.com/en/evaluation-tools/nucleo-h743zi.html 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | source [find target/stm32h7x_dual_bank.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_h745zi.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an ST NUCLEO-H745ZI-Q board with single STM32H745ZITx chip. 4 | 5 | source [find interface/stlink-dap.cfg] 6 | transport select dapdirect_swd 7 | 8 | # STM32H745xx devices are dual core (Cortex-M7 and Cortex-M4) 9 | set DUAL_CORE 1 10 | 11 | # enable CTI for cross halting both cores 12 | set USE_CTI 1 13 | 14 | source [find target/stm32h7x_dual_bank.cfg] 15 | 16 | reset_config srst_only 17 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_l073rz.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an ST NUCLEO-L073RZ board with single STM32L073RZ chip. 4 | # http://www.st.com/en/evaluation-tools/nucleo-l073rz.html 5 | source [find interface/stlink.cfg] 6 | 7 | transport select hla_swd 8 | 9 | set WORKAREASIZE 0x2000 10 | 11 | source [find target/stm32l0_dual_bank.cfg] 12 | 13 | # There is only system reset line and JTAG/SWD command can be issued when SRST 14 | reset_config srst_only 15 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_l1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an ST NUCLEO L152RE board with a single STM32L152RET6 chip. 4 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | source [find target/stm32l1x_dual_bank.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_l4.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Should work with all STM32L4 Nucleo Dev Boards. 4 | # http://www.st.com/en/evaluation-tools/stm32-mcu-nucleo.html 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | source [find target/stm32l4x.cfg] 11 | 12 | # use hardware reset 13 | reset_config srst_only srst_nogate 14 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_l5.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is for STM32L5 Nucleo Dev Boards. 4 | # http://www.st.com/en/evaluation-tools/stm32-mcu-nucleo.html 5 | 6 | source [find interface/stlink-dap.cfg] 7 | 8 | transport select dapdirect_swd 9 | 10 | source [find target/stm32l5x.cfg] 11 | 12 | # use hardware reset 13 | reset_config srst_only srst_nogate 14 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_wb55.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Configuration for STM32WB55 Nucleo board (STM32WB55RGV6) 5 | # 6 | 7 | source [find interface/stlink.cfg] 8 | 9 | transport select hla_swd 10 | 11 | source [find target/stm32wbx.cfg] 12 | 13 | reset_config srst_only 14 | -------------------------------------------------------------------------------- /tcl/board/steval-idb007v1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an evaluation board with a single BlueNRG-1 chip. 4 | # http://www.st.com/content/st_com/en/products/evaluation-tools/solution-evaluation-tools/communication-and-connectivity-solution-eval-boards/steval-idb008v1.html 5 | set CHIPNAME bluenrg-1 6 | source [find target/bluenrg-x.cfg] 7 | -------------------------------------------------------------------------------- /tcl/board/steval-idb008v1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an evaluation board with a single BlueNRG-2 chip. 4 | # http://www.st.com/content/st_com/en/products/evaluation-tools/solution-evaluation-tools/communication-and-connectivity-solution-eval-boards/steval-idb007v1.html 5 | set CHIPNAME bluenrg-2 6 | source [find target/bluenrg-x.cfg] 7 | -------------------------------------------------------------------------------- /tcl/board/steval-idb011v1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an evaluation board with a single BlueNRG-LP chip. 4 | set CHIPNAME bluenrg-lp 5 | source [find target/bluenrg-x.cfg] 6 | -------------------------------------------------------------------------------- /tcl/board/steval-idb012v1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an evaluation board with a single BlueNRG-LPS chip. 4 | set CHIPNAME bluenrg-lps 5 | source [find interface/cmsis-dap.cfg] 6 | source [find target/bluenrg-x.cfg] 7 | -------------------------------------------------------------------------------- /tcl/board/steval_pcc010.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Use for the STM207VG plug-in board (1 MiB Flash and 112+16 KiB Ram 4 | # coming with the STEVAL-PCC010 board 5 | # http://www.st.com/internet/evalboard/product/251530.jsp 6 | # or any other board with only a STM32F2x in the JTAG chain 7 | 8 | # increase working area to 32KB for faster flash programming 9 | set WORKAREASIZE 0x8000 10 | 11 | source [find target/stm32f2x.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/stm320518_eval.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # STM320518-EVAL: This is an STM32F0 eval board with a single STM32F051R8T6 4 | # (64KB) chip. 5 | # http://www.st.com/internet/evalboard/product/252994.jsp 6 | # 7 | 8 | # increase working area to 8KB 9 | set WORKAREASIZE 0x2000 10 | 11 | # chip name 12 | set CHIPNAME STM32F051R8T6 13 | 14 | source [find target/stm32f0x.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/stm32100b_eval.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32 eval board with a single STM32F100VBT6 chip. 4 | # http://www.st.com/internet/evalboard/product/247099.jsp 5 | 6 | # The chip has only 8KB sram 7 | set WORKAREASIZE 0x2000 8 | 9 | source [find target/stm32f1x.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/stm3210b_eval.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32 eval board with a single STM32F10x (128KB) chip. 4 | # http://www.st.com/internet/evalboard/product/176090.jsp 5 | 6 | # increase working area to 32KB for faster flash programming 7 | set WORKAREASIZE 0x8000 8 | 9 | source [find target/stm32f1x.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/stm3210c_eval.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32 eval board with a single STM32F107VCT chip. 4 | # http://www.st.com/internet/evalboard/product/217965.jsp 5 | 6 | # increase working area to 32KB for faster flash programming 7 | set WORKAREASIZE 0x8000 8 | 9 | source [find target/stm32f1x.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/stm3220g_eval.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # STM3220G-EVAL: This is an STM32F2 eval board with a single STM32F207IGH6 4 | # (128KB) chip. 5 | # http://www.st.com/internet/evalboard/product/250374.jsp 6 | 7 | # increase working area to 128KB 8 | set WORKAREASIZE 0x20000 9 | 10 | # chip name 11 | set CHIPNAME STM32F207IGH6 12 | 13 | source [find target/stm32f2x.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/stm3241g_eval.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # STM3241G-EVAL: This is an STM32F4 eval board with a single STM32F417IGH6 4 | # (1024KB) chip. 5 | # http://www.st.com/internet/evalboard/product/252216.jsp 6 | 7 | # increase working area to 128KB 8 | set WORKAREASIZE 0x20000 9 | 10 | # chip name 11 | set CHIPNAME STM32F417IGH6 12 | 13 | source [find target/stm32f4x.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/stm32429i_eval.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # STM32429I-EVAL: This is an STM32F4 eval board with a single STM32F429NIH6 4 | # (2048KB) chip. 5 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259093 6 | 7 | # increase working area to 128KB 8 | set WORKAREASIZE 0x20000 9 | 10 | # chip name 11 | set CHIPNAME STM32F429NIH6 12 | 13 | source [find target/stm32f4x.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/stm32439i_eval.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # STM32439I-EVAL: This is an STM32F4 eval board with a single STM32F439NIH6 4 | # (2048KB) chip. 5 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259094 6 | 7 | # increase working area to 128KB 8 | set WORKAREASIZE 0x20000 9 | 10 | # chip name 11 | set CHIPNAME STM32F439NIH6 12 | 13 | source [find target/stm32f4x.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/stm327x6g_eval.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # STM327[4|5]6G-EVAL: This is for the STM32F7 eval boards. 4 | # STM32746G-EVAL 5 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF261639 6 | # STM32756G-EVAL 7 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF261640 8 | 9 | # increase working area to 256KB 10 | set WORKAREASIZE 0x40000 11 | 12 | source [find target/stm32f7x.cfg] 13 | 14 | reset_config srst_only 15 | -------------------------------------------------------------------------------- /tcl/board/stm32f0discovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32F0 discovery board with a single STM32F051R8T6 chip. 4 | # http://www.st.com/internet/evalboard/product/253215.jsp 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | set WORKAREASIZE 0x2000 11 | source [find target/stm32f0x.cfg] 12 | 13 | reset_config srst_only 14 | -------------------------------------------------------------------------------- /tcl/board/stm32f334discovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32F334 discovery board with a single STM32F334C8T6 chip. 4 | # As it is one of the few boards with stlink V.2-1, we source the corresponding 5 | # nucleo file. 6 | # http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/LN1848/PF260318 7 | 8 | source [find board/st_nucleo_f3.cfg] 9 | -------------------------------------------------------------------------------- /tcl/board/stm32f3discovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32F3 discovery board with a single STM32F303VCT6 chip. 4 | # http://www.st.com/internet/evalboard/product/254044.jsp 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | source [find target/stm32f3x.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /tcl/board/stm32f429disc1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # This is an STM32F429 discovery board with a single STM32F429ZI chip. 5 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090 6 | # 7 | 8 | source [find interface/stlink.cfg] 9 | 10 | transport select hla_swd 11 | 12 | source [find target/stm32f4x.cfg] 13 | 14 | reset_config srst_only 15 | -------------------------------------------------------------------------------- /tcl/board/stm32f429discovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # This is an STM32F429 discovery board with a single STM32F429ZI chip. 5 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090 6 | # 7 | 8 | source [find interface/stlink.cfg] 9 | 10 | transport select hla_swd 11 | 12 | # increase working area to 128KB 13 | set WORKAREASIZE 0x20000 14 | 15 | source [find target/stm32f4x.cfg] 16 | 17 | reset_config srst_only 18 | -------------------------------------------------------------------------------- /tcl/board/stm32f469discovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # This is an STM32F469 discovery board with a single STM32F469NI chip. 5 | # http://www.st.com/web/catalog/tools/FM116/CL1620/SC959/SS1532/LN1848/PF262395 6 | # 7 | 8 | source [find interface/stlink.cfg] 9 | 10 | transport select hla_swd 11 | 12 | # increase working area to 128KB 13 | set WORKAREASIZE 0x20000 14 | 15 | source [find target/stm32f4x.cfg] 16 | 17 | reset_config srst_only 18 | -------------------------------------------------------------------------------- /tcl/board/stm32f4discovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32F4 discovery board with a single STM32F407VGT6 chip. 4 | # http://www.st.com/internet/evalboard/product/252419.jsp 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | # increase working area to 64KB 11 | set WORKAREASIZE 0x10000 12 | 13 | source [find target/stm32f4x.cfg] 14 | 15 | reset_config srst_only 16 | -------------------------------------------------------------------------------- /tcl/board/stm32f7discovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32F7 discovery board with a single STM32F756NGH6 chip. 4 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF261641 5 | 6 | # This is for using the onboard STLINK/V2-1 7 | source [find interface/stlink.cfg] 8 | 9 | transport select hla_swd 10 | 11 | # increase working area to 256KB 12 | set WORKAREASIZE 0x40000 13 | 14 | source [find target/stm32f7x.cfg] 15 | 16 | reset_config srst_only 17 | -------------------------------------------------------------------------------- /tcl/board/stm32l0discovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32L053 discovery board with a single STM32L053 chip. 4 | # http://www.st.com/web/en/catalog/tools/PF260319 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | set WORKAREASIZE 0x2000 11 | source [find target/stm32l0.cfg] 12 | 13 | reset_config srst_only 14 | -------------------------------------------------------------------------------- /tcl/board/stm32l4discovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Explicitly for the STM32L476 discovery board: 4 | # http://www.st.com/web/en/catalog/tools/PF261635 5 | # but perfectly functional for any other STM32L4 board connected via 6 | # an stlink-v2-1 interface. 7 | # This is for STM32L4 boards that are connected via stlink-v2-1. 8 | 9 | source [find interface/stlink.cfg] 10 | 11 | transport select hla_swd 12 | 13 | source [find target/stm32l4x.cfg] 14 | 15 | reset_config srst_only 16 | -------------------------------------------------------------------------------- /tcl/board/stm32ldiscovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32L discovery board with a single STM32L152RBT6 chip. 4 | # http://www.st.com/internet/evalboard/product/250990.jsp 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | set WORKAREASIZE 0x4000 11 | source [find target/stm32l1.cfg] 12 | 13 | reset_config srst_only 14 | -------------------------------------------------------------------------------- /tcl/board/stm32mp13x_dk.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # board MB1635x 4 | # http://www.st.com/en/evaluation-tools/stm32mp135f-dk.html 5 | 6 | source [find interface/stlink-dap.cfg] 7 | 8 | transport select dapdirect_swd 9 | 10 | source [find target/stm32mp13x.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /tcl/board/stm32mp15x_dk2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # board MB1272B 4 | # http://www.st.com/en/evaluation-tools/stm32mp157a-dk1.html 5 | # http://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html 6 | 7 | source [find interface/stlink-dap.cfg] 8 | 9 | transport select dapdirect_swd 10 | 11 | source [find target/stm32mp15x.cfg] 12 | 13 | reset_config srst_only 14 | -------------------------------------------------------------------------------- /tcl/board/stm32vldiscovery.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This is an STM32VL discovery board with a single STM32F100RB chip. 4 | # http://www.st.com/internet/evalboard/product/250863.jsp 5 | 6 | source [find interface/stlink.cfg] 7 | 8 | transport select hla_swd 9 | 10 | set WORKAREASIZE 0x2000 11 | source [find target/stm32f1x.cfg] 12 | 13 | reset_config srst_only 14 | -------------------------------------------------------------------------------- /tcl/board/ti_am335xevm.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI AM335x Evaluation Module 5 | # 6 | # For more information please see http://www.ti.com/tool/tmdxevm3358 7 | # 8 | jtag_rclk 6000 9 | 10 | source [find target/am335x.cfg] 11 | 12 | reset_config trst_and_srst 13 | -------------------------------------------------------------------------------- /tcl/board/ti_am437x_idk.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Texas Instruments AM437x Industrial Development Kit 4 | 5 | # The JTAG interface is built directly on the board. 6 | source [find interface/ftdi/xds100v2.cfg] 7 | 8 | transport select jtag 9 | adapter speed 30000 10 | 11 | source [find target/am437x.cfg] 12 | $_TARGETNAME configure -event reset-init { init_platform 0x61a11b32 } 13 | 14 | reset_config trst_and_srst 15 | -------------------------------------------------------------------------------- /tcl/board/ti_am43xx_evm.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Works on both AM437x GP EVM and AM438x ePOS EVM 4 | transport select jtag 5 | adapter speed 16000 6 | 7 | source [find target/am437x.cfg] 8 | 9 | reset_config trst_and_srst 10 | -------------------------------------------------------------------------------- /tcl/board/ti_beagleboard.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # OMAP3 BeagleBoard 4 | # http://beagleboard.org 5 | 6 | # Fall back to 6MHz if RTCK is not supported 7 | jtag_rclk 6000 8 | 9 | source [find target/omap3530.cfg] 10 | 11 | # TI-14 JTAG connector 12 | reset_config trst_only 13 | 14 | # Later run: omap3_dbginit 15 | -------------------------------------------------------------------------------- /tcl/board/ti_beagleboard_xm.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # BeagleBoard xM (DM37x) 4 | # http://beagleboard.org 5 | 6 | set CHIPTYPE "dm37x" 7 | source [find target/amdm37x.cfg] 8 | 9 | # The TI-14 JTAG connector does not have srst. CPU reset is handled in 10 | # hardware. 11 | reset_config trst_only 12 | 13 | # "amdm37x_dbginit dm37x.cpu" needs to be run after init. 14 | -------------------------------------------------------------------------------- /tcl/board/ti_beaglebone-base.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # AM335x Beaglebone family base configuration 4 | # http://beagleboard.org/bone 5 | 6 | source [find target/am335x.cfg] 7 | -------------------------------------------------------------------------------- /tcl/board/ti_beaglebone.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # AM335x Beaglebone 4 | # http://beagleboard.org/bone 5 | 6 | # The JTAG interface is built directly on the board. 7 | source [find interface/ftdi/xds100v2.cfg] 8 | 9 | adapter speed 16000 10 | 11 | reset_config trst_and_srst 12 | 13 | source [find board/ti_beaglebone-base.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/ti_beaglebone_black.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # AM335x Beaglebone Black 4 | # http://beagleboard.org/bone 5 | 6 | adapter speed 1000 7 | 8 | reset_config trst_and_srst 9 | 10 | source [find board/ti_beaglebone-base.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/ti_blaze.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | jtag_rclk 6000 4 | 5 | source [find target/omap4430.cfg] 6 | 7 | reset_config trst_and_srst 8 | -------------------------------------------------------------------------------- /tcl/board/ti_cc13x0_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI CC13x0 LaunchPad Evaluation Kit 5 | # 6 | source [find interface/xds110.cfg] 7 | transport select jtag 8 | adapter speed 5500 9 | source [find target/ti_cc13x0.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/ti_cc13x2_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI CC13x2 LaunchPad Evaluation Kit 5 | # 6 | source [find interface/xds110.cfg] 7 | adapter speed 5500 8 | transport select jtag 9 | source [find target/ti_cc13x2.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/ti_cc26x0_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI CC26x0 LaunchPad Evaluation Kit 5 | # 6 | source [find interface/xds110.cfg] 7 | adapter speed 5500 8 | transport select jtag 9 | source [find target/ti_cc26x0.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/ti_cc26x2_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI CC26x2 LaunchPad Evaluation Kit 5 | # 6 | source [find interface/xds110.cfg] 7 | adapter speed 5500 8 | transport select jtag 9 | source [find target/ti_cc26x2.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/ti_cc3200_launchxl.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI SimpleLink Wi-Fi CC3200 LaunchPad 5 | # 6 | # http://www.ti.com/tool/cc3200-launchxl 7 | # 8 | 9 | source [find interface/ftdi/ti-icdi.cfg] 10 | 11 | if { [info exists TRANSPORT] } { 12 | transport select $TRANSPORT 13 | } else { 14 | transport select jtag 15 | } 16 | 17 | adapter speed 2500 18 | 19 | set WORKAREASIZE 0x40000 20 | source [find target/ti_cc32xx.cfg] 21 | 22 | reset_config srst_only 23 | adapter srst delay 1100 24 | -------------------------------------------------------------------------------- /tcl/board/ti_cc3220sf_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI CC3220SF-LaunchXL LaunchPad Evaluation Kit 5 | # 6 | source [find interface/xds110.cfg] 7 | adapter speed 8500 8 | transport select swd 9 | source [find target/ti_cc3220sf.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/ti_cc32xx_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI CC32xx-LaunchXL LaunchPad Evaluation Kit 5 | # 6 | source [find interface/xds110.cfg] 7 | adapter speed 8500 8 | transport select swd 9 | source [find target/ti_cc32xx.cfg] 10 | 11 | reset_config srst_only 12 | adapter srst delay 1100 13 | -------------------------------------------------------------------------------- /tcl/board/ti_dk-tm4c129.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI Tiva C DK-TM4C129X Connected Development Kit 5 | # 6 | # http://www.ti.com/tool/dk-tm4c129x 7 | # 8 | 9 | source [find interface/ti-icdi.cfg] 10 | 11 | transport select hla_jtag 12 | 13 | set WORKAREASIZE 0x8000 14 | set CHIPNAME tm4c129xnczad 15 | 16 | source [find target/stellaris.cfg] 17 | -------------------------------------------------------------------------------- /tcl/board/ti_ek-tm4c123gxl.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI Tiva C Series ek-tm4c123gxl Launchpad Evaluation Kit 5 | # 6 | # http://www.ti.com/tool/ek-tm4c123gxl 7 | # 8 | 9 | source [find interface/ti-icdi.cfg] 10 | 11 | transport select hla_jtag 12 | 13 | set WORKAREASIZE 0x8000 14 | set CHIPNAME tm4c123gh6pm 15 | source [find target/stellaris.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/ti_ek-tm4c1294xl.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI Tiva C Series ek-tm4c1294xl Launchpad Evaluation Kit 5 | # 6 | # http://www.ti.com/tool/ek-tm4c1294xl 7 | # 8 | 9 | source [find interface/ti-icdi.cfg] 10 | 11 | transport select hla_jtag 12 | 13 | set WORKAREASIZE 0x8000 14 | set CHIPNAME tm4c1294ncpdt 15 | 16 | source [find target/stellaris.cfg] 17 | -------------------------------------------------------------------------------- /tcl/board/ti_msp432_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TI MSP432 LaunchPad Evaluation Kit 5 | # 6 | source [find interface/xds110.cfg] 7 | adapter speed 10000 8 | transport select swd 9 | source [find target/ti_msp432.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/ti_pandaboard.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | jtag_rclk 6000 4 | 5 | source [find target/omap4430.cfg] 6 | 7 | reset_config trst_only 8 | -------------------------------------------------------------------------------- /tcl/board/ti_pandaboard_es.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | jtag_rclk 6000 4 | 5 | source [find target/omap4460.cfg] 6 | 7 | reset_config trst_only 8 | -------------------------------------------------------------------------------- /tcl/board/ti_tmdx570ls31usb.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | adapter speed 1500 4 | 5 | source [find interface/ftdi/xds100v2.cfg] 6 | source [find target/ti_tms570.cfg] 7 | 8 | reset_config trst_only 9 | -------------------------------------------------------------------------------- /tcl/board/tp-link_tl-mr3020.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find target/atheros_ar9331.cfg] 4 | 5 | $_TARGETNAME configure -event reset-init { 6 | ar9331_25mhz_pll_init 7 | sleep 1 8 | ar9331_ddr1_init 9 | } 10 | 11 | set ram_boot_address 0xa0000000 12 | $_TARGETNAME configure -work-area-phys 0xa1FFE000 -work-area-size 0x1000 13 | 14 | flash bank flash0 ath79 0xbf000000 0 0 0 $_TARGETNAME cs0 15 | -------------------------------------------------------------------------------- /tcl/board/twr-k60n512.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Freescale TWRK60N512 development board 5 | # 6 | 7 | source [find target/k60.cfg] 8 | 9 | $_TARGETNAME configure -event reset-init { 10 | puts "-event reset-init occurred" 11 | } 12 | 13 | # 14 | # Definitions for the additional 'program flash' bank 15 | # (instructions and/or data) 16 | # 17 | flash bank pflash.1 kinetis 0x00040000 0x40000 0 4 $_TARGETNAME 18 | -------------------------------------------------------------------------------- /tcl/board/twr-vf65gs10_cmsisdap.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Board configuration file for the Freescale VF65GS10 tower board 5 | # 6 | # CMSIS-DAP via USB-OTG connector 7 | # 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | # only SWD is supported by the CMSIS-DAP on this board 11 | transport select swd 12 | 13 | # Source generic part of twr-vf65gs10 configuration 14 | source [find board/twr-vf65gs10.cfg] 15 | 16 | # override reset configuration 17 | reset_config srst_only 18 | -------------------------------------------------------------------------------- /tcl/board/xmc-2go.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Infineon XMC 2Go 5 | # 6 | 7 | # 8 | # Segger J-Link Lite XMC4200 on-board 9 | # 10 | source [find interface/jlink.cfg] 11 | transport select swd 12 | 13 | set CHIPNAME xmc1100 14 | set WORKAREASIZE 0x4000 15 | source [find target/xmc1xxx.cfg] 16 | 17 | reset_config srst_only srst_nogate 18 | -------------------------------------------------------------------------------- /tcl/board/xmc1100-boot-kit.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Infineon XMC1100 Boot Kit 5 | # 6 | 7 | # 8 | # Segger J-Link Lite XMC4200 on-board 9 | # 10 | source [find interface/jlink.cfg] 11 | transport select swd 12 | 13 | set CHIPNAME xmc1100 14 | set WORKAREASIZE 0x4000 15 | source [find target/xmc1xxx.cfg] 16 | 17 | reset_config srst_only srst_nogate 18 | -------------------------------------------------------------------------------- /tcl/board/xmc4200-application-kit-actuator.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Infineon XMC4200 Application Kit - Actuator 5 | # 6 | 7 | # 8 | # Segger J-Link Lite XMC4200 on-board 9 | # 10 | source [find interface/jlink.cfg] 11 | transport select swd 12 | 13 | set CHIPNAME xmc4200 14 | source [find target/xmc4xxx.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/xmc4300-relax.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Infineon XMC4300 Relax EtherCAT Kit 5 | # 6 | 7 | # 8 | # Segger J-Link Lite XMC4200 on-board 9 | # 10 | source [find interface/jlink.cfg] 11 | transport select swd 12 | 13 | set CHIPNAME xmc4300 14 | source [find target/xmc4xxx.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/xmc4500-application-kit-general.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Infineon XMC4500 Application Kit - General Purpose 5 | # 6 | 7 | set CHIPNAME xmc4500 8 | source [find target/xmc4xxx.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /tcl/board/xmc4500-application-kit-sdram.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Infineon XMC4500 Application Kit - SDRAM 5 | # 6 | 7 | # 8 | # Segger J-Link Lite XMC4200 on-board 9 | # 10 | 11 | set CHIPNAME xmc4500 12 | source [find target/xmc4xxx.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/xmc4500-relax.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Infineon XMC4500 Relax Kit / Relax Lite Kit 5 | # 6 | 7 | # 8 | # Segger J-Link Lite XMC4500 on-board 9 | # 10 | source [find interface/jlink.cfg] 11 | transport select swd 12 | 13 | # There's also an unpopulated 10-pin 0.05" pinout. 14 | 15 | set CHIPNAME xmc4500 16 | source [find target/xmc4xxx.cfg] 17 | -------------------------------------------------------------------------------- /tcl/board/xmc4700-relax.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Infineon XMC4700 Relax Lite Kit / Relax Kit for 5V Shields / Relax Kit 5 | # 6 | 7 | # 8 | # Segger J-Link Lite XMC4200 on-board 9 | # 10 | source [find interface/jlink.cfg] 11 | transport select swd 12 | 13 | # There's also an unpopulated 10-pin 0.05" pinout. 14 | 15 | set CHIPNAME xmc4700 16 | source [find target/xmc4xxx.cfg] 17 | 18 | # Relax Kit only: N25Q032A qSPI flash 19 | -------------------------------------------------------------------------------- /tcl/board/xmc4800-relax.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Infineon XMC4800 Relax EtherCAT Kit 5 | # 6 | 7 | # 8 | # Segger J-Link Lite XMC4200 on-board 9 | # 10 | source [find interface/jlink.cfg] 11 | transport select swd 12 | 13 | # There's also an unpopulated 10-pin 0.05" pinout. 14 | 15 | set CHIPNAME xmc4800 16 | source [find target/xmc4xxx.cfg] 17 | 18 | # N25Q032A qSPI flash 19 | -------------------------------------------------------------------------------- /tcl/board/xmos_xk-xac-xa8_arm.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # xCORE-XA Core Module 5 | # 6 | # https://www.xmos.com/support/boards?product=17940 7 | # 8 | 9 | # 10 | # J-Link OB STM32F103 11 | # 12 | source [find interface/jlink.cfg] 13 | transport select swd 14 | 15 | # 16 | # XS1-XAU8A-10 17 | # 18 | source [find target/xmos_xs1-xau8a-10_arm.cfg] 19 | -------------------------------------------------------------------------------- /tcl/board/xtensa-kc705-ext-dap.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # Cadence KC705 FPGA Development Platform for Xtensa targets 3 | # Can be used with various external adapters that support DAP, e.g. JLink 4 | # 5 | 6 | adapter speed 5000 7 | 8 | # KC705 supports DAP/JTAG 9 | transport select jtag 10 | set XTENSA_DAP enable 11 | set XTENSA_DAP_BASE 0x10000 12 | 13 | # Create Xtensa target first 14 | source [find target/xtensa.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/xtensa-kc705-ext.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # Cadence KC705 FPGA Development Platform for Xtensa targets 3 | # Can be used with various external adapters, e.g. Flyswatter2 or JLink 4 | # 5 | 6 | adapter speed 10000 7 | 8 | # KC705 supports JTAG only 9 | transport select jtag 10 | 11 | # Create Xtensa target first 12 | source [find target/xtensa.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/xtensa-kc705-onboard.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # Cadence KC705 FPGA Development Platform for Xtensa targets 3 | # Can be used with on-board (FTDI) adapter or various external adapters 4 | # 5 | 6 | source [find interface/ftdi/xt_kc705_ml605.cfg] 7 | adapter speed 10000 8 | 9 | # KC705 supports JTAG only 10 | transport select jtag 11 | 12 | # Create Xtensa target first 13 | source [find target/xtensa.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/xtensa-rt685-ext.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # NXP RT6XX Developemnt Platform with Xtensa HiFi DSP 3 | # Can be used with various external adapters that support DAP, e.g. JLink 4 | # 5 | 6 | adapter speed 10000 7 | 8 | # RT6XX supports SWD only 9 | transport select swd 10 | set XTENSA_DAP enable 11 | 12 | # Create Xtensa target first 13 | source [find target/xtensa.cfg] 14 | 15 | source [find target/xtensa-core-nxp_rt600.cfg] 16 | -------------------------------------------------------------------------------- /tcl/chip/atmel/at91/hardware.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # External Memory Map 4 | set AT91_CHIPSELECT_0 0x10000000 5 | set AT91_CHIPSELECT_1 0x20000000 6 | set AT91_CHIPSELECT_2 0x30000000 7 | set AT91_CHIPSELECT_3 0x40000000 8 | set AT91_CHIPSELECT_4 0x50000000 9 | set AT91_CHIPSELECT_5 0x60000000 10 | set AT91_CHIPSELECT_6 0x70000000 11 | set AT91_CHIPSELECT_7 0x80000000 12 | -------------------------------------------------------------------------------- /tcl/chip/atmel/at91/pmc.tcl: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | if [info exists AT91C_MAINOSC_FREQ] { 4 | # user set this... let it be. 5 | } { 6 | # 18.432mhz is a common thing... 7 | set AT91C_MAINOSC_FREQ 18432000 8 | } 9 | global AT91C_MAINOSC_FREQ 10 | 11 | if [info exists AT91C_SLOWOSC_FREQ] { 12 | # user set this... let it be. 13 | } { 14 | # 32khz is the norm 15 | set AT91C_SLOWOSC_FREQ 32768 16 | } 17 | global AT91C_SLOWOSC_FREQ 18 | -------------------------------------------------------------------------------- /tcl/chip/st/stm32/stm32.tcl: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find bitsbytes.tcl] 4 | source [find cpu/arm/cortex_m3.tcl] 5 | source [find memory.tcl] 6 | source [find mmr_helpers.tcl] 7 | 8 | source [find chip/st/stm32/stm32_regs.tcl] 9 | source [find chip/st/stm32/stm32_rcc.tcl] 10 | -------------------------------------------------------------------------------- /tcl/chip/ti/lm3s/lm3s.tcl: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find chip/ti/lm3s/lm3s_regs.tcl] 4 | -------------------------------------------------------------------------------- /tcl/cpld/altera-5m570z-cpld.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # file altera-5m570z-cpld.cfg replaced by altera-maxv.cfg 4 | echo "DEPRECATED: use altera-maxv.cfg instead of deprecated altera-5m570z-cpld.cfg" 5 | 6 | #just to be backward compatible: 7 | #tap will be 5m570z.tap instead of maxv.tap: 8 | set CHIPNAME 5m570z 9 | source [find cpld/altera-maxv.cfg] 10 | -------------------------------------------------------------------------------- /tcl/cpld/altera-epm240.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # file altera-epm240.cfg replaced by altera-maxii.cfg 4 | echo "DEPRECATED: use altera-maxii.cfg instead of deprecated altera-epm240.cfg" 5 | 6 | #just to be backward compatible: 7 | #tap will be epm240.tap instead of maxii.tap: 8 | set CHIPNAME epm240 9 | source [find cpld/altera-maxii.cfg] 10 | 11 | # 200ns seems like a good speed 12 | # c.f. Table 5-34: MAX II JTAG Timing Parameters 13 | adapter speed 5000 14 | -------------------------------------------------------------------------------- /tcl/cpld/lattice-lc4032ze.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Lattice ispMACH 4000ZE family, device LC4032ZE 4 | # just configure a tap 5 | jtag newtap LC4032ZE tap -irlen 8 -expected-id 0x01806043 6 | -------------------------------------------------------------------------------- /tcl/cpld/xilinx-xcr3256.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | #xilinx coolrunner xcr3256 4 | #simple device - just configure a tap 5 | jtag newtap xcr tap -irlen 5 -ircapture 0x01 -irmask 0x1f -expected-id 0x0494c093 6 | -------------------------------------------------------------------------------- /tcl/cpu/arm/arm7tdmi.tcl: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | set CPU_TYPE arm 4 | set CPU_NAME arm7tdmi 5 | set CPU_ARCH armv4t 6 | set CPU_MAX_ADDRESS 0xFFFFFFFF 7 | set CPU_NBITS 32 8 | -------------------------------------------------------------------------------- /tcl/cpu/arm/arm920.tcl: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | set CPU_TYPE arm 4 | set CPU_NAME arm920 5 | set CPU_ARCH armv4t 6 | set CPU_MAX_ADDRESS 0xFFFFFFFF 7 | set CPU_NBITS 32 8 | -------------------------------------------------------------------------------- /tcl/cpu/arm/arm946.tcl: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | set CPU_TYPE arm 4 | set CPU_NAME arm946 5 | set CPU_ARCH armv5te 6 | set CPU_MAX_ADDRESS 0xFFFFFFFF 7 | set CPU_NBITS 32 8 | -------------------------------------------------------------------------------- /tcl/cpu/arm/arm966.tcl: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | set CPU_TYPE arm 4 | set CPU_NAME arm966 5 | set CPU_ARCH armv5te 6 | set CPU_MAX_ADDRESS 0xFFFFFFFF 7 | set CPU_NBITS 32 8 | -------------------------------------------------------------------------------- /tcl/cpu/arm/cortex_m3.tcl: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | set CPU_TYPE arm 4 | set CPU_NAME cortex_m3 5 | set CPU_ARCH armv7 6 | set CPU_MAX_ADDRESS 0xFFFFFFFF 7 | set CPU_NBITS 32 8 | -------------------------------------------------------------------------------- /tcl/fpga/altera-10m50.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # file altera-10m50.cfg replaced by altera-max10.cfg 4 | echo "DEPRECATED: use altera-max10.cfg instead of deprecated altera-10m50.cfg" 5 | 6 | #just to be backward compatible: 7 | #tap will be 10m50.tap instead of max10.tap: 8 | set CHIPNAME 10m50 9 | source [find cpld/altera-max10.cfg] 10 | -------------------------------------------------------------------------------- /tcl/fpga/altera-ep3c10.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # file altera-ep3c10.cfg replaced by altera-cycloneiii.cfg 4 | echo "DEPRECATED: use altera-cycloneiii.cfg instead of deprecated altera-ep3c10.cfg" 5 | 6 | #just to be backward compatible: 7 | #tap will be ep3c10.tap instead of cycloneiii.tap: 8 | set CHIPNAME ep3c10 9 | source [find fpga/altera-cycloneiii.cfg] 10 | -------------------------------------------------------------------------------- /tcl/fpga/efinix_trion.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # efinix trion 4 | # https://www.efinixinc.com/docs/an021-jtag-bst-trion-v1.0.pdf 5 | 6 | if { [info exists CHIPNAME] } { 7 | set _CHIPNAME $CHIPNAME 8 | } else { 9 | set _CHIPNAME trion 10 | } 11 | 12 | jtag newtap $_CHIPNAME tap -irlen 4 -ignore-version \ 13 | -expected-id 0x00210A79 \ 14 | -expected-id 0x00240A79 \ 15 | -expected-id 0x00220A79 16 | 17 | pld create $_CHIPNAME.pld efinix -chain-position $_CHIPNAME.tap -family trion 18 | -------------------------------------------------------------------------------- /tcl/fpga/gatemate.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # GateMateTM FPGA 4 | # https://www.colognechip.com/programmable-logic/gatemate/ 5 | # https://colognechip.com/docs/ds1001-gatemate1-datasheet-latest.pdf 6 | 7 | if { [info exists CHIPNAME] } { 8 | set _CHIPNAME $CHIPNAME 9 | } else { 10 | set _CHIPNAME gatemate 11 | } 12 | 13 | jtag newtap $_CHIPNAME tap -irlen 6 -ignore-version \ 14 | -expected-id 0x20000001 15 | 16 | pld create $_CHIPNAME.pld gatemate -chain-position $_CHIPNAME.tap 17 | -------------------------------------------------------------------------------- /tcl/fpga/lattice_certus.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | if { [info exists CHIPNAME] } { 4 | set _CHIPNAME $_CHIPNAME 5 | } else { 6 | set _CHIPNAME certus 7 | } 8 | 9 | # Lattice Certus 10 | # 11 | # Certus NX LFD2NX-17 0x310f0043 12 | # Certus NX LFD2NX-40 0x310f1043 13 | 14 | 15 | jtag newtap $_CHIPNAME tap -irlen 8 -irmask 0x83 -ircapture 0x1 \ 16 | -expected-id 0x310F1043 -expected-id 0x310F0043 17 | 18 | pld create $_CHIPNAME.pld lattice -chain-position $_CHIPNAME.tap 19 | -------------------------------------------------------------------------------- /tcl/fpga/lattice_certuspro.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | if { [info exists CHIPNAME] } { 4 | set _CHIPNAME $_CHIPNAME 5 | } else { 6 | set _CHIPNAME certuspro 7 | } 8 | 9 | # Lattice CertusPro 10 | # 11 | # 0x010f4043 - LFCPNX-100 12 | # 0x 043 - LFCPNX-50 13 | 14 | jtag newtap $_CHIPNAME tap -irlen 8 -irmask 0x83 -ircapture 0x1 \ 15 | -expected-id 0x010f4043 16 | # -expected-id 0x01112043 17 | 18 | pld create $_CHIPNAME.pld lattice -chain-position $_CHIPNAME.tap 19 | -------------------------------------------------------------------------------- /tcl/interface/altera-usb-blaster.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Altera USB-Blaster 5 | # 6 | # http://www.altera.com/literature/ug/ug_usb_blstr.pdf 7 | # 8 | 9 | adapter driver usb_blaster 10 | usb_blaster lowlevel_driver ftdi 11 | # These are already the defaults. 12 | # usb_blaster vid_pid 0x09FB 0x6001 13 | # usb_blaster device_desc "USB-Blaster" 14 | -------------------------------------------------------------------------------- /tcl/interface/altera-usb-blaster2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Altera USB-Blaster II 5 | # 6 | 7 | adapter driver usb_blaster 8 | usb_blaster vid_pid 0x09fb 0x6010 0x09fb 0x6810 9 | usb_blaster lowlevel_driver ublast2 10 | usb_blaster firmware /path/to/quartus/blaster_6810.hex 11 | -------------------------------------------------------------------------------- /tcl/interface/angie.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright (C) 2023 by NanoXplore, France - all rights reserved 3 | # 4 | # configuration file for ANGIE Adapter from NanoXplore. 5 | # 6 | 7 | adapter driver angie 8 | adapter speed 10000 9 | reset_config trst_and_srst trst_push_pull srst_open_drain 10 | -------------------------------------------------------------------------------- /tcl/interface/arm-jtag-ew.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Olimex ARM-JTAG-EW 5 | # 6 | # http://www.olimex.com/dev/arm-jtag-ew.html 7 | # 8 | 9 | adapter driver arm-jtag-ew 10 | -------------------------------------------------------------------------------- /tcl/interface/at91rm9200.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Various Atmel AT91RM9200 boards 5 | # 6 | # TODO: URL? 7 | # 8 | 9 | adapter driver at91rm9200 10 | at91rm9200_device rea_ecr 11 | -------------------------------------------------------------------------------- /tcl/interface/chameleon.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Amontec Chameleon POD 5 | # 6 | # http://www.amontec.com/chameleon.shtml 7 | # 8 | 9 | adapter driver parport 10 | parport cable chameleon 11 | -------------------------------------------------------------------------------- /tcl/interface/cmsis-dap.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # ARM CMSIS-DAP compliant adapter 5 | # 6 | # http://www.keil.com/support/man/docs/dapdebug/ 7 | # 8 | 9 | adapter driver cmsis-dap 10 | 11 | # Optionally specify the serial number of CMSIS-DAP usb device. 12 | # adapter serial 02200201E6661E601B98E3B9 13 | -------------------------------------------------------------------------------- /tcl/interface/dummy.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Dummy interface (for testing purposes) 5 | # 6 | 7 | adapter driver dummy 8 | -------------------------------------------------------------------------------- /tcl/interface/esp_usb_bridge.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # ESP USB Bridge jtag adapter 4 | # 5 | 6 | adapter driver esp_usb_jtag 7 | 8 | espusbjtag vid_pid 0x303a 0x1002 9 | espusbjtag caps_descriptor 0x030A # string descriptor index:10 10 | -------------------------------------------------------------------------------- /tcl/interface/esp_usb_jtag.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # Espressif builtin USB-JTAG adapter 4 | # 5 | 6 | adapter driver esp_usb_jtag 7 | 8 | espusbjtag vid_pid 0x303a 0x1001 9 | espusbjtag caps_descriptor 0x2000 10 | -------------------------------------------------------------------------------- /tcl/interface/estick.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # eStick 5 | # 6 | # http://code.google.com/p/estick-jtag/ 7 | # 8 | 9 | adapter driver opendous 10 | -------------------------------------------------------------------------------- /tcl/interface/flashlink.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # ST FlashLINK JTAG parallel cable 5 | # 6 | # http://www.st.com/internet/evalboard/product/94023.jsp 7 | # http://www.st.com/stonline/products/literature/um/7889.pdf 8 | # 9 | 10 | if { [info exists PARPORTADDR] } { 11 | set _PARPORTADDR $PARPORTADDR 12 | } else { 13 | set _PARPORTADDR 0 14 | } 15 | 16 | adapter driver parport 17 | parport port $_PARPORTADDR 18 | parport cable flashlink 19 | -------------------------------------------------------------------------------- /tcl/interface/ft232r.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | adapter driver ft232r 4 | adapter speed 1000 5 | -------------------------------------------------------------------------------- /tcl/interface/ft232r/radiona_ulx3s.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # This adapter is integrated in to Radiona ULX3S board: 4 | # board/radiona_ulx3s.cfg 5 | # See schematics for the ft232r layout: 6 | # https://github.com/emard/ulx3s/blob/master/doc/schematics_v316.pdf 7 | 8 | adapter driver ft232r 9 | adapter speed 1000 10 | ft232r vid_pid 0x0403 0x6015 11 | ft232r tck_num DSR 12 | ft232r tms_num DCD 13 | ft232r tdi_num RI 14 | ft232r tdo_num CTS 15 | ft232r trst_num RTS 16 | ft232r srst_num DTR 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/cortino.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Hitex Cortino 5 | # 6 | # http://www.hitex.com/index.php?id=cortino 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Cortino" 11 | ftdi vid_pid 0x0640 0x0032 12 | 13 | ftdi layout_init 0x0108 0x010b 14 | ftdi layout_signal nTRST -data 0x0100 15 | ftdi layout_signal nSRST -data 0x0200 -oe 0x0200 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/digilent-hs1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # this supports JTAG-HS1 and JTAG-SMT1 4 | # (the later being the OEM on-board version) 5 | 6 | adapter driver ftdi 7 | ftdi device_desc "Digilent Adept USB Device" 8 | ftdi vid_pid 0x0403 0x6010 9 | # channel 1 does not have any functionality 10 | ftdi channel 0 11 | # just TCK TDI TDO TMS, no reset 12 | ftdi layout_init 0x0088 0x008b 13 | reset_config none 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/digilent_jtag_hs3.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Digilent JTAG-HS3 5 | # 6 | 7 | adapter driver ftdi 8 | ftdi vid_pid 0x0403 0x6014 9 | ftdi device_desc "Digilent USB Device" 10 | 11 | # From Digilent support: 12 | # The SRST pin is [...] 0x20 and 0x10 is the /OE (active low output enable) 13 | 14 | ftdi layout_init 0x2088 0x308b 15 | ftdi layout_signal nSRST -data 0x2000 -noe 0x1000 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/flyswatter.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TinCanTools Flyswatter 5 | # 6 | # http://web.archive.org/web/20150419072034/http://www.tincantools.com/JTAG/Flyswatter.html 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Flyswatter" 11 | ftdi vid_pid 0x0403 0x6010 12 | 13 | ftdi layout_init 0x0818 0x0cfb 14 | ftdi layout_signal nTRST -data 0x0010 15 | ftdi layout_signal nSRST -oe 0x0020 16 | ftdi layout_signal LED -data 0x0c00 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/flyswatter2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TinCanTools Flyswatter2 5 | # 6 | # https://www.tincantools.com/product/flyswatter2/ 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Flyswatter2" 11 | ftdi vid_pid 0x0403 0x6010 12 | 13 | ftdi layout_init 0x0538 0x057b 14 | ftdi layout_signal LED -ndata 0x0400 15 | ftdi layout_signal nTRST -data 0x0010 16 | ftdi layout_signal nSRST -data 0x0020 -noe 0x0100 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/hitex_lpc1768stick.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Hitex LPC1768-Stick 5 | # 6 | # http://www.hitex.com/?id=1602 7 | # 8 | 9 | 10 | adapter driver ftdi 11 | ftdi device_desc "LPC1768-Stick" 12 | ftdi vid_pid 0x0640 0x0026 13 | 14 | ftdi layout_init 0x0388 0x038b 15 | ftdi layout_signal nTRST -data 0x0100 16 | ftdi layout_signal nSRST -data 0x0080 -noe 0x200 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/hitex_str9-comstick.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Hitex STR9-comStick 5 | # 6 | # http://www.hitex.com/index.php?id=383 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "STR9-comStick" 11 | ftdi vid_pid 0x0640 0x002c 12 | 13 | ftdi layout_init 0x0108 0x010b 14 | ftdi layout_signal nTRST -data 0x0100 15 | ftdi layout_signal nSRST -data 0x0200 -oe 0x0200 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/incircuit-icprog.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # In-Circuit's ICprog OpenOCD JTAG Adapter 5 | # https://shop.in-circuit.de/product_info.php?products_id=112 6 | # 7 | # Schematics available at 8 | # http://wiki.in-circuit.de/images/0/06/610000158A_openocd.pdf 9 | # 10 | 11 | adapter driver ftdi 12 | ftdi vid_pid 0x0403 0x6010 13 | 14 | ftdi layout_init 0x0508 0x0f1b 15 | ftdi layout_signal nSRST -noe 0x0400 -data 0x0800 16 | ftdi layout_signal nTRST -noe 0x0100 -data 0x0200 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/iotlab-usb.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # This is the integrated adapter as found on the IoT-LAB boards 5 | # https://github.com/iot-lab/iot-lab/wiki 6 | # 7 | 8 | adapter driver ftdi 9 | ftdi vid_pid 0x0403 0x6010 10 | 11 | ftdi layout_init 0x0008 0x000b 12 | ftdi layout_signal nTRST -data 0x0010 -oe 0x0010 13 | ftdi layout_signal nSRST -data 0x0040 -oe 0x0040 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/jtagkey.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Amontec JTAGkey 5 | # 6 | # http://www.amontec.com/jtagkey.shtml 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Amontec JTAGkey" 11 | ftdi vid_pid 0x0403 0xcff8 12 | 13 | ftdi layout_init 0x0c08 0x0f1b 14 | ftdi layout_signal nTRST -data 0x0100 -noe 0x0400 15 | ftdi layout_signal nSRST -data 0x0200 -noe 0x0800 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/jtagkey2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Amontec JTAGkey2 5 | # 6 | # http://www.amontec.com/jtagkey2.shtml 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Amontec JTAGkey-2" 11 | ftdi vid_pid 0x0403 0xcff8 12 | 13 | ftdi layout_init 0x0c08 0x0f1b 14 | ftdi layout_signal nTRST -data 0x0100 -noe 0x0400 15 | ftdi layout_signal nSRST -data 0x0200 -noe 0x0800 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/jtagkey2p.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Amontec JTAGkey2P 5 | # 6 | # http://www.amontec.com/jtagkey2p.shtml 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Amontec JTAGkey-2P" 11 | ftdi vid_pid 0x0403 0xcff8 12 | 13 | ftdi layout_init 0x0c08 0x0f1b 14 | ftdi layout_signal nTRST -data 0x0100 -noe 0x0400 15 | ftdi layout_signal nSRST -data 0x0200 -noe 0x0800 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/kt-link.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Kristech KT-Link 5 | # 6 | # http://www.kristech.eu 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "KT-LINK" 11 | ftdi vid_pid 0x0403 0xbbe2 12 | 13 | ftdi layout_init 0x8c28 0xff3b 14 | ftdi layout_signal nTRST -data 0x0100 -noe 0x0400 15 | ftdi layout_signal nSRST -data 0x0200 -noe 0x0800 16 | ftdi layout_signal LED -data 0x8000 17 | ftdi layout_signal SWD_EN -ndata 0x0020 -oe 0x2000 18 | ftdi layout_signal SWDIO_OE -ndata 0x1000 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/lambdaconcept_ecpix-5.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # This adapter is integrated in to LambdaConcept ECPIX-5 board: 4 | # interface/ftdi/lambdaconcept_ecpix-5.cfg 5 | # See schematics for the ftdi layout: 6 | # http://docs.lambdaconcept.com/ecpix-5/_static/resources/SCH_ECPIX-5_R02.PDF 7 | 8 | adapter driver ftdi 9 | adapter speed 10000 10 | ftdi device_desc "Dual RS232-HS" 11 | ftdi vid_pid 0x0403 0x6010 12 | 13 | ftdi layout_init 0xfff8 0xfffb 14 | transport select jtag 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/m53evk.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # DENX M53EVK 5 | # 6 | # http://www.denx-cs.de/?q=M53EVK 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Dual RS232-HS" 11 | ftdi vid_pid 0x0403 0x6010 12 | 13 | ftdi channel 0 14 | ftdi layout_init 0x0008 0x000b 15 | ftdi layout_signal nTRST -data 0x0010 -oe 0x0010 16 | ftdi layout_signal nSRST -data 0x0020 -oe 0x0020 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/mbftdi.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # MBFTDI 5 | # 6 | # http://www.marsohod.org/prodmbftdi 7 | # 8 | # Also the Marsohod2 and the Marsohod3 boards 9 | # include a built-in MBFTDI for FPGA programming. 10 | # See http://www.marsohod.org/prodmarsohod2 11 | # and http://www.marsohod.org/plata-marsokhod3 for details. 12 | # 13 | 14 | adapter driver ftdi 15 | ftdi device_desc "Dual RS232-HS" 16 | ftdi vid_pid 0x0403 0x6010 17 | 18 | ftdi layout_init 0x0008 0x000b 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/neodb.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Openmoko USB JTAG/RS232 adapter 5 | # 6 | # http://wiki.openmoko.org/wiki/Debug_Board_v3 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Debug Board for Neo1973" 11 | ftdi vid_pid 0x1457 0x5118 12 | 13 | ftdi layout_init 0x0508 0x0f1b 14 | ftdi layout_signal nTRST -data 0x0200 -noe 0x0100 15 | ftdi layout_signal nSRST -data 0x0800 -noe 0x0400 16 | ftdi layout_signal nNOR_WP -data 0x0010 -oe 0x0010 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/olimex-arm-jtag-swd.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Olimex ARM JTAG SWD adapter 5 | # https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-SWD/ 6 | # 7 | 8 | transport select swd 9 | 10 | ftdi layout_signal SWD_EN -nalias nTRST 11 | ftdi layout_signal SWDIO_OE -alias TMS 12 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/olimex-arm-usb-ocd-h.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Olimex ARM-USB-OCD-H 5 | # 6 | # http://www.olimex.com/dev/arm-usb-ocd-h.html 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Olimex OpenOCD JTAG ARM-USB-OCD-H" 11 | ftdi vid_pid 0x15ba 0x002b 12 | 13 | ftdi layout_init 0x0908 0x0b1b 14 | ftdi layout_signal nSRST -oe 0x0200 15 | ftdi layout_signal nTRST -data 0x0100 16 | ftdi layout_signal LED -data 0x0800 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/olimex-arm-usb-ocd.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Olimex ARM-USB-OCD 5 | # 6 | # http://www.olimex.com/dev/arm-usb-ocd.html 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Olimex OpenOCD JTAG" 11 | ftdi vid_pid 0x15ba 0x0003 12 | 13 | ftdi layout_init 0x0c08 0x0f1b 14 | ftdi layout_signal nSRST -oe 0x0200 15 | ftdi layout_signal nTRST -data 0x0100 -noe 0x0400 16 | ftdi layout_signal LED -data 0x0800 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/olimex-arm-usb-tiny-h.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Olimex ARM-USB-TINY-H 5 | # 6 | # http://www.olimex.com/dev/arm-usb-tiny-h.html 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Olimex OpenOCD JTAG ARM-USB-TINY-H" 11 | ftdi vid_pid 0x15ba 0x002a 12 | 13 | ftdi layout_init 0x0808 0x0a1b 14 | ftdi layout_signal nSRST -oe 0x0200 15 | ftdi layout_signal nTRST -data 0x0100 -oe 0x0100 16 | ftdi layout_signal LED -data 0x0800 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/olimex-jtag-tiny.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Olimex ARM-USB-TINY 5 | # 6 | # http://www.olimex.com/dev/arm-usb-tiny.html 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Olimex OpenOCD JTAG TINY" 11 | ftdi vid_pid 0x15ba 0x0004 12 | 13 | ftdi layout_init 0x0808 0x0a1b 14 | ftdi layout_signal nSRST -oe 0x0200 15 | ftdi layout_signal nTRST -data 0x0100 -oe 0x0100 16 | ftdi layout_signal LED -data 0x0800 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/openocd-usb-hs.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # embedded projects openocd usb adapter v3 5 | # 6 | # http://shop.embedded-projects.net/index.php?module=artikel&action=artikel&id=14 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Dual RS232-HS" 11 | ftdi vid_pid 0x0403 0x6010 12 | 13 | ftdi layout_init 0x0508 0x0f1b 14 | ftdi layout_signal nTRST -data 0x0200 -noe 0x0100 15 | ftdi layout_signal nSRST -data 0x0800 -noe 0x0400 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/openocd-usb.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Hubert Hoegl's USB to JTAG 5 | # 6 | # http://www.hs-augsburg.de/~hhoegl/proj/usbjtag/usbjtag.html 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Dual RS232" 11 | ftdi vid_pid 0x0403 0x6010 12 | 13 | ftdi layout_init 0x0508 0x0f1b 14 | ftdi layout_signal nTRST -data 0x0200 -noe 0x0100 15 | ftdi layout_signal nSRST -data 0x0800 -noe 0x0400 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/openrd.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Marvell OpenRD 5 | # 6 | # http://www.marvell.com/products/embedded_processors/developer/kirkwood/openrd.jsp 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "OpenRD JTAGKey FT2232D B" 11 | ftdi vid_pid 0x0403 0x9e90 12 | ftdi channel 0 13 | 14 | ftdi layout_init 0x0608 0x0f1b 15 | ftdi layout_signal nTRST -data 0x0200 16 | ftdi layout_signal nSRST -noe 0x0400 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/rowley-cc-arm-swd.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Rowley ARM SWD Adapter 5 | # http://sites.fastspring.com/rowley/product/armswdadapter 6 | # https://drive.google.com/file/d/0Bzv7UpKpOQhnTUNNdzI5OUR4WGs/edit?usp=sharing 7 | # 8 | 9 | transport select swd 10 | 11 | ftdi layout_signal SWD_EN -nalias nTRST 12 | ftdi layout_signal SWDIO_OE -alias TMS 13 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/sheevaplug.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Marvel SheevaPlug Development Kit 5 | # 6 | # http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "SheevaPlug JTAGKey FT2232D B" 11 | ftdi vid_pid 0x9e88 0x9e8f 12 | ftdi channel 0 13 | 14 | ftdi layout_init 0x0608 0x0f1b 15 | ftdi layout_signal nTRST -data 0x0200 -noe 0x0100 16 | ftdi layout_signal nSRST -data 0x0800 -noe 0x0400 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/sipeed-rv-debugger.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Interface file for BL702-based SIPEED RV Debugger 5 | # 6 | 7 | adapter driver ftdi 8 | adapter speed 6000 9 | 10 | ftdi device_desc "JTAG Debugger" 11 | ftdi vid_pid 0x0403 0x6010 12 | ftdi layout_init 0x0008 0x001b 13 | ftdi layout_signal nSRST -oe 0x0020 -data 0x0020 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/snps_sdp.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Copyright (C) 2020 Synopsys, Inc. 4 | # Anton Kolesov 5 | # Didin Evgeniy 6 | 7 | # 8 | # Synopsys SDP Mainboard has embdded FT2232 chip, which is similar to Digilent 9 | # HS-1, except that it uses channel B for JTAG communication, instead of 10 | # channel A. 11 | # 12 | 13 | adapter driver ftdi 14 | ftdi vid_pid 0x0403 0x6010 15 | ftdi layout_init 0x0088 0x008b 16 | ftdi channel 1 17 | 18 | 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/stm32-stick.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Hitex STM32-PerformanceStick 5 | # 6 | # http://www.hitex.com/index.php?id=340 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "STM32-PerformanceStick" 11 | ftdi vid_pid 0x0640 0x002d 12 | 13 | ftdi layout_init 0x0388 0x038b 14 | ftdi layout_signal nTRST -data 0x0100 15 | ftdi layout_signal nSRST -data 0x0080 -noe 0x200 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/ti-icdi.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # This is an FTDI-based debugging solution as found on some TI boards, 5 | # e.g. CC3200 LaunchPad. 6 | # 7 | # The schematics are identical to luminary-icdi (including SWD 8 | # support) but the USB IDs are different. 9 | # 10 | 11 | adapter driver ftdi 12 | ftdi vid_pid 0x0451 0xc32a 13 | 14 | ftdi layout_init 0x00a8 0x00eb 15 | ftdi layout_signal nSRST -noe 0x0020 16 | ftdi layout_signal SWD_EN -ndata 0x0080 17 | ftdi layout_signal SWDIO_OE -data 0x0008 18 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/tumpa-lite.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TIAO USB Multi-Protocol Adapter (TUMPA) Lite 5 | # 6 | # http://www.diygadget.com/tiao-usb-multi-protocol-adapter-lite-jtag-spi-i2c-serial.html 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi vid_pid 0x0403 0x8a99 11 | 12 | ftdi layout_init 0x0038 0x087b 13 | ftdi layout_signal nTRST -data 0x0020 -oe 0x0020 14 | ftdi layout_signal nSRST -data 0x0010 -oe 0x0010 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/tumpa.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # TIAO USB Multi-Protocol Adapter (TUMPA) 5 | # 6 | # http://www.diygadget.com/tiao-usb-multi-protocol-adapter-jtag-spi-i2c-serial.html 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi vid_pid 0x0403 0x8a98 0x0403 0x6010 11 | 12 | ftdi layout_init 0x0038 0x087b 13 | ftdi layout_signal nTRST -data 0x0020 14 | ftdi layout_signal nSRST -data 0x0010 15 | 16 | reset_config srst_push_pull 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/turtelizer2-revC.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # egnite Turtelizer 2 revC (with TRST and SRST) 5 | # 6 | # http://www.ethernut.de/en/hardware/turtelizer/index.html 7 | # 8 | 9 | adapter driver ftdi 10 | ftdi device_desc "Turtelizer JTAG/RS232 Adapter" 11 | ftdi vid_pid 0x0403 0xbdc8 12 | 13 | ftdi layout_init 0x0008 0x0c7b 14 | ftdi layout_signal nTRST -oe 0x0020 15 | ftdi layout_signal nSRST -oe 0x0040 16 | ftdi layout_signal LED -ndata 0x0c00 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/xds100v3.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Texas Instruments XDS100 ver 3.0 5 | # 6 | # http://processors.wiki.ti.com/index.php/XDS100 7 | # 8 | 9 | # Version 3.0 is the same as 2.0 as far as OpenOCD is concerned 10 | source [find interface/ftdi/xds100v2.cfg] 11 | 12 | # The USB ids are different. 13 | ftdi vid_pid 0x0403 0xa6d1 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/xt_kc705_ml605.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # Xilinx KC705 / ML605 with Xtensa daughtercard; onboard USB/FT2232 3 | # 4 | 5 | adapter driver ftdi 6 | ftdi vid_pid 0x0403 0x6010 7 | # Specify "adapter serial " here as needed 8 | 9 | ftdi layout_init 0x0010 0x007b 10 | ftdi layout_signal nTRST -data 0x0010 11 | ftdi layout_signal nSRST -ndata 0x0020 12 | -------------------------------------------------------------------------------- /tcl/interface/jlink.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # SEGGER J-Link 5 | # 6 | # http://www.segger.com/jlink.html 7 | # 8 | 9 | adapter driver jlink 10 | 11 | # The serial number can be used to select a specific device in case more than 12 | # one is connected to the host. 13 | # 14 | # Example: Select J-Link with serial number 123456789 15 | # 16 | # adapter serial 123456789 17 | -------------------------------------------------------------------------------- /tcl/interface/jtag_vpi.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | adapter driver jtag_vpi 4 | 5 | # Set the VPI JTAG server port 6 | if { [info exists VPI_PORT] } { 7 | set _VPI_PORT $VPI_PORT 8 | } else { 9 | set _VPI_PORT 5555 10 | } 11 | 12 | # Set the VPI JTAG server address 13 | if { [info exists VPI_ADDRESS] } { 14 | set _VPI_ADDRESS $VPI_ADDRESS 15 | } else { 16 | set _VPI_ADDRESS "127.0.0.1" 17 | } 18 | 19 | jtag_vpi set_port $_VPI_PORT 20 | jtag_vpi set_address $_VPI_ADDRESS 21 | -------------------------------------------------------------------------------- /tcl/interface/kitprog.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Cypress Semiconductor KitProg 5 | # 6 | # Note: This is the driver for the proprietary KitPtog protocol. If the 7 | # KitProg is in CMSIS-DAP mode, you should either use the cmsis-dap 8 | # interface driver or switch the KitProg to KitProg mode. 9 | # 10 | 11 | adapter driver kitprog 12 | 13 | # Optionally specify the serial number of the KitProg you want to use. 14 | # adapter serial 1926402735485200 15 | -------------------------------------------------------------------------------- /tcl/interface/nulink.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Nuvoton Nu-Link in-circuit debugger/programmer 5 | # 6 | 7 | adapter driver hla 8 | hla_layout nulink 9 | hla_device_desc "Nu-Link" 10 | hla_vid_pid 0x0416 0x511b 0x0416 0x511c 0x0416 0x511d 0x0416 0x5200 0x0416 0x5201 11 | 12 | # Only swd is supported 13 | transport select hla_swd 14 | -------------------------------------------------------------------------------- /tcl/interface/opendous.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # opendous-jtag 5 | # 6 | # http://code.google.com/p/opendous-jtag/ 7 | # 8 | 9 | adapter driver opendous 10 | -------------------------------------------------------------------------------- /tcl/interface/openjtag.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # OpenJTAG 5 | # 6 | # www.openjtag.org 7 | # 8 | 9 | adapter driver openjtag 10 | openjtag device_desc "Open JTAG Project" 11 | -------------------------------------------------------------------------------- /tcl/interface/osbdm.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # P&E Micro OSBDM (aka OSJTAG) interface 5 | # 6 | # http://pemicro.com/osbdm/ 7 | # 8 | adapter driver osbdm 9 | reset_config srst_only 10 | -------------------------------------------------------------------------------- /tcl/interface/parport.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Parallel port wiggler (many clones available) on port 0x378 5 | # 6 | # Addresses: 0x378/LPT1 or 0x278/LPT2 ... 7 | # 8 | 9 | if { [info exists PARPORTADDR] } { 10 | set _PARPORTADDR $PARPORTADDR 11 | } else { 12 | if {$tcl_platform(platform) eq "windows"} { 13 | set _PARPORTADDR 0x378 14 | } { 15 | set _PARPORTADDR 0 16 | } 17 | } 18 | 19 | adapter driver parport 20 | parport port $_PARPORTADDR 21 | parport cable wiggler 22 | -------------------------------------------------------------------------------- /tcl/interface/parport_dlc5.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Xilinx Parallel Cable III 'DLC 5' (and various clones) 5 | # 6 | # http://www.xilinx.com/itp/xilinx4/data/docs/pac/appendixb.html 7 | # 8 | 9 | if { [info exists PARPORTADDR] } { 10 | set _PARPORTADDR $PARPORTADDR 11 | } else { 12 | set _PARPORTADDR 0 13 | } 14 | 15 | adapter driver parport 16 | parport port $_PARPORTADDR 17 | parport cable dlc5 18 | -------------------------------------------------------------------------------- /tcl/interface/raspberrypi2-native.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | echo "WARNING: interface/raspberrypi2-native.cfg is deprecated." 4 | echo "WARNING: Please use interface/raspberrypi-native.cfg for all Raspberry Pi models." 5 | 6 | source [find interface/raspberrypi-native.cfg] 7 | -------------------------------------------------------------------------------- /tcl/interface/rlink.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Raisonance RLink 5 | # 6 | # http://www.mcu-raisonance.com/~rlink-debugger-programmer__microcontrollers__tool~tool__T018:4cn9ziz4bnx6.html 7 | # 8 | 9 | adapter driver rlink 10 | -------------------------------------------------------------------------------- /tcl/interface/rshim.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # BlueField SoC in-circuit debugger/programmer 5 | # 6 | 7 | adapter driver rshim 8 | transport select dapdirect_swd 9 | -------------------------------------------------------------------------------- /tcl/interface/stlink-v1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | echo "WARNING: interface/stlink-v1.cfg is deprecated, please switch to interface/stlink.cfg" 4 | source [find interface/stlink.cfg] 5 | -------------------------------------------------------------------------------- /tcl/interface/stlink-v2-1.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | echo "WARNING: interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg" 4 | source [find interface/stlink.cfg] 5 | -------------------------------------------------------------------------------- /tcl/interface/stlink-v2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | echo "WARNING: interface/stlink-v2.cfg is deprecated, please switch to interface/stlink.cfg" 4 | source [find interface/stlink.cfg] 5 | -------------------------------------------------------------------------------- /tcl/interface/ulink.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Keil ULINK running OpenULINK firmware. 5 | # 6 | # http://www.keil.com/ulink1/ 7 | # http://article.gmane.org/gmane.comp.debugging.openocd.devel/17362 8 | # 9 | 10 | adapter driver ulink 11 | -------------------------------------------------------------------------------- /tcl/interface/usbprog.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Embedded Projects USBprog 5 | # 6 | # http://embedded-projects.net/index.php?page_id=135 7 | # 8 | 9 | adapter driver usbprog 10 | # USBprog is broken w/short TMS sequences, this is a workaround 11 | # until the C code can be fixed. 12 | tms_sequence long 13 | -------------------------------------------------------------------------------- /tcl/interface/vsllink.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Versaloon Link -- VSLLink 5 | # 6 | # http://www.versaloon.com/ 7 | # 8 | 9 | adapter driver vsllink 10 | -------------------------------------------------------------------------------- /tcl/interface/xds110.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Texas Instruments XDS110 5 | # 6 | # http://processors.wiki.ti.com/index.php/XDS110 7 | # http://processors.wiki.ti.com/index.php/Emulation_Software_Package#XDS110_Support_Utilities 8 | # 9 | 10 | adapter driver xds110 11 | 12 | # Use serial number option to use a specific XDS110 13 | # when more than one are connected to the host. 14 | # adapter serial 00000000 15 | -------------------------------------------------------------------------------- /tcl/target/at91sam3ax_4x.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # common stuff 4 | source [find target/at91sam3ax_xx.cfg] 5 | 6 | # size is automatically "calculated" by probing 7 | set _FLASHNAME $_CHIPNAME.flash0 8 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 9 | # This is a 256K chip - it has the 2nd bank 10 | set _FLASHNAME $_CHIPNAME.flash1 11 | flash bank $_FLASHNAME at91sam3 0x0000A0000 0 1 1 $_TARGETNAME 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam3ax_8x.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # common stuff 4 | source [find target/at91sam3ax_xx.cfg] 5 | 6 | # size is automatically "calculated" by probing 7 | set _FLASHNAME $_CHIPNAME.flash0 8 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 9 | # This is a 512K chip - it has the 2nd bank 10 | set _FLASHNAME $_CHIPNAME.flash1 11 | flash bank $_FLASHNAME at91sam3 0x0000C0000 0 1 1 $_TARGETNAME 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam3ax_xx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # script for ATMEL sam3, a Cortex-M3 chip 4 | # 5 | # at91sam3A4C 6 | # at91sam3A8C 7 | # at91sam3X4C 8 | # at91sam3X4E 9 | # at91sam3X8C 10 | # at91sam3X8E 11 | # at91sam3X8H 12 | source [find target/at91sam3XXX.cfg] 13 | -------------------------------------------------------------------------------- /tcl/target/at91sam3sXX.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # script for ATMEL sam3, a Cortex-M3 chip 4 | # 5 | # at91sam3s4c 6 | # at91sam3s4b 7 | # at91sam3s4a 8 | # at91sam3s2c 9 | # at91sam3s2b 10 | # at91sam3s2a 11 | # at91sam3s1c 12 | # at91sam3s1b 13 | # at91sam3s1a 14 | 15 | source [find target/at91sam3XXX.cfg] 16 | 17 | set _FLASHNAME $_CHIPNAME.flash 18 | flash bank $_FLASHNAME at91sam3 0x00400000 0 1 1 $_TARGETNAME 19 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u1c.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # common stuff 4 | source [find target/at91sam3uxx.cfg] 5 | 6 | # size is automatically "calculated" by probing 7 | set _FLASHNAME $_CHIPNAME.flash 8 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 9 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u1e.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # common stuff 4 | source [find target/at91sam3uxx.cfg] 5 | 6 | # size is automatically "calculated" by probing 7 | set _FLASHNAME $_CHIPNAME.flash 8 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 9 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u2c.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # common stuff 4 | source [find target/at91sam3uxx.cfg] 5 | 6 | # size is automatically "calculated" by probing 7 | set _FLASHNAME $_CHIPNAME.flash 8 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 9 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u2e.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # common stuff 4 | source [find target/at91sam3uxx.cfg] 5 | 6 | # size is automatically "calculated" by probing 7 | set _FLASHNAME $_CHIPNAME.flash 8 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 9 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u4c.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # common stuff 4 | source [find target/at91sam3uxx.cfg] 5 | 6 | # size is automatically "calculated" by probing 7 | set _FLASHNAME $_CHIPNAME.flash0 8 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 9 | # This is a 256K chip, it has the 2nd bank 10 | set _FLASHNAME $_CHIPNAME.flash1 11 | flash bank $_FLASHNAME at91sam3 0x000100000 0 1 1 $_TARGETNAME 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u4e.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # common stuff 4 | source [find target/at91sam3uxx.cfg] 5 | 6 | # size is automatically "calculated" by probing 7 | set _FLASHNAME $_CHIPNAME.flash0 8 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 9 | # This is a 256K chip - it has the 2nd bank 10 | set _FLASHNAME $_CHIPNAME.flash1 11 | flash bank $_FLASHNAME at91sam3 0x000100000 0 1 1 $_TARGETNAME 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam3uxx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # script for ATMEL sam3, a Cortex-M3 chip 4 | # 5 | # at91sam3u4e 6 | # at91sam3u2e 7 | # at91sam3u1e 8 | # at91sam3u4c 9 | # at91sam3u2c 10 | # at91sam3u1c 11 | 12 | source [find target/at91sam3XXX.cfg] 13 | -------------------------------------------------------------------------------- /tcl/target/at91sam4c32x.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # script for ATMEL sam4c32, a Cortex-M4 chip 4 | # 5 | 6 | source [find target/at91sam4XXX.cfg] 7 | 8 | set _FLASHNAME $_CHIPNAME.flash0 9 | flash bank $_FLASHNAME at91sam4 0x01000000 0 1 1 $_TARGETNAME 10 | set _FLASHNAME $_CHIPNAME.flash1 11 | flash bank $_FLASHNAME at91sam4 0x01100000 0 1 1 $_TARGETNAME 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam4cXXX.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # script for ATMEL sam4c, a Cortex-M4 chip 4 | # 5 | 6 | source [find target/at91sam4XXX.cfg] 7 | 8 | set _FLASHNAME $_CHIPNAME.flash 9 | flash bank $_FLASHNAME at91sam4 0x01000000 0 1 1 $_TARGETNAME 10 | -------------------------------------------------------------------------------- /tcl/target/at91sam4sXX.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # script for ATMEL sam4, a Cortex-M4 chip 4 | # 5 | 6 | source [find target/at91sam4XXX.cfg] 7 | 8 | set _FLASHNAME $_CHIPNAME.flash 9 | flash bank $_FLASHNAME at91sam4 0x00400000 0 1 1 $_TARGETNAME 10 | -------------------------------------------------------------------------------- /tcl/target/at91sam4sd32x.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # script for ATMEL sam4sd32, a Cortex-M4 chip 4 | # 5 | 6 | source [find target/at91sam4XXX.cfg] 7 | 8 | set _FLASHNAME $_CHIPNAME.flash0 9 | flash bank $_FLASHNAME at91sam4 0x00400000 0 1 1 $_TARGETNAME 10 | set _FLASHNAME $_CHIPNAME.flash1 11 | flash bank $_FLASHNAME at91sam4 0x00500000 0 1 1 $_TARGETNAME 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam9261.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | ###################################### 4 | # Target: Atmel AT91SAM9261 5 | ###################################### 6 | 7 | if { [info exists CHIPNAME] } { 8 | set AT91_CHIPNAME $CHIPNAME 9 | } else { 10 | set AT91_CHIPNAME at91sam9261 11 | } 12 | 13 | source [find target/at91sam9.cfg] 14 | 15 | # Internal sram1 memory 16 | $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x28000 -work-area-backup 1 17 | -------------------------------------------------------------------------------- /tcl/target/at91sam9rl.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | ###################################### 4 | # Target: Atmel AT91SAM9RL 5 | ###################################### 6 | 7 | if { [info exists CHIPNAME] } { 8 | set AT91_CHIPNAME $CHIPNAME 9 | } else { 10 | set AT91_CHIPNAME at91sam9rl 11 | } 12 | 13 | source [find target/at91sam9.cfg] 14 | 15 | # Internal sram1 memory 16 | $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x10000 -work-area-backup 1 17 | -------------------------------------------------------------------------------- /tcl/target/at91samg5x.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # script for the ATMEL samg5x Cortex-M4F chip family 4 | # 5 | 6 | source [find target/at91sam4XXX.cfg] 7 | 8 | set _FLASHNAME $_CHIPNAME.flash 9 | flash bank $_FLASHNAME at91sam4 0x00400000 0 1 1 $_TARGETNAME 10 | -------------------------------------------------------------------------------- /tcl/target/atheros_ar2313.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | if { [info exists CHIPNAME] } { 4 | set _CHIPNAME $_CHIPNAME 5 | } else { 6 | set _CHIPNAME ar2313 7 | } 8 | 9 | if { [info exists CPUTAPID] } { 10 | set _CPUTAPID $CPUTAPID 11 | } else { 12 | set _CPUTAPID 0x00000001 13 | } 14 | 15 | jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID 16 | 17 | set _TARGETNAME $_CHIPNAME.cpu 18 | target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME 19 | -------------------------------------------------------------------------------- /tcl/target/atheros_ar2315.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | if { [info exists CHIPNAME] } { 4 | set _CHIPNAME $_CHIPNAME 5 | } else { 6 | set _CHIPNAME ar2315 7 | } 8 | 9 | if { [info exists CPUTAPID] } { 10 | set _CPUTAPID $CPUTAPID 11 | } else { 12 | set _CPUTAPID 0x00000001 13 | } 14 | 15 | jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID 16 | 17 | set _TARGETNAME $_CHIPNAME.cpu 18 | target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME 19 | -------------------------------------------------------------------------------- /tcl/target/bcm4706.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | set _CHIPNAME bcm4706 4 | set _CPUID 0x1008c17f 5 | 6 | jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUID 7 | 8 | set _TARGETNAME $_CHIPNAME.cpu 9 | target create $_TARGETNAME mips_m4k -endian little -chain-position $_TARGETNAME 10 | -------------------------------------------------------------------------------- /tcl/target/bcm4718.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | set _CHIPNAME bcm4718 4 | set _LVTAPID 0x1471617f 5 | set _CPUID 0x0008c17f 6 | 7 | source [find target/bcm47xx.cfg] 8 | -------------------------------------------------------------------------------- /tcl/target/bcm5352e.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | set _CHIPNAME bcm5352e 4 | set _CPUID 0x0535217f 5 | 6 | jtag newtap $_CHIPNAME cpu -irlen 8 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUID 7 | 8 | set _TARGETNAME $_CHIPNAME.cpu 9 | target create $_TARGETNAME mips_m4k -endian little -chain-position $_TARGETNAME 10 | -------------------------------------------------------------------------------- /tcl/target/bcm6348.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | set _CHIPNAME bcm6348 4 | set _CPUID 0x0634817f 5 | 6 | adapter speed 1000 7 | 8 | jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUID 9 | 10 | set _TARGETNAME $_CHIPNAME.cpu 11 | target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME 12 | -------------------------------------------------------------------------------- /tcl/target/em358.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Target configuration for the Silicon Labs EM358 chips 4 | 5 | # 6 | # em357 family supports JTAG and SWD transports 7 | # 8 | 9 | if { ![info exists CHIPNAME] } { 10 | set CHIPNAME em358 11 | } 12 | 13 | if { ![info exists BSTAPID] } { 14 | set BSTAPID 0x069aa62b 15 | } 16 | 17 | # 512K of flash in the em358 chips 18 | set FLASHSIZE 0x80000 19 | source [find target/em357.cfg] 20 | -------------------------------------------------------------------------------- /tcl/target/k40.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Freescale Kinetis K40 devices 5 | # 6 | 7 | set CHIPNAME k40 8 | source [find target/kx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/k60.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Freescale Kinetis K60 devices 5 | # 6 | 7 | set CHIPNAME k60 8 | source [find target/kx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/ke1xf.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # NXP (Freescale) Kinetis KE1xF devices 5 | # 6 | 7 | set CHIPNAME ke 8 | 9 | source [find target/kx.cfg] 10 | -------------------------------------------------------------------------------- /tcl/target/ke1xz.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # NXP (Freescale) Kinetis KE1xZ devices 5 | # 6 | 7 | set CHIPNAME ke 8 | 9 | source [find target/klx.cfg] 10 | -------------------------------------------------------------------------------- /tcl/target/kl25.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Freescale Kinetis KL25 devices 5 | # 6 | 7 | set CHIPNAME kl25 8 | source [find target/klx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/kl46.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Freescale Kinetis KL46 devices 5 | # 6 | 7 | set CHIPNAME kl46 8 | source [find target/klx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/lpc11xx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # NXP LPC11xx Cortex-M0 with at least 1kB SRAM 4 | set CHIPNAME lpc11xx 5 | set CHIPSERIES lpc1100 6 | if { ![info exists WORKAREASIZE] } { 7 | set WORKAREASIZE 0x400 8 | } 9 | 10 | source [find target/lpc1xxx.cfg] 11 | -------------------------------------------------------------------------------- /tcl/target/lpc12xx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # NXP LPC12xx Cortex-M0 with at least 4kB SRAM 4 | set CHIPNAME lpc12xx 5 | set CHIPSERIES lpc1200 6 | if { ![info exists WORKAREASIZE] } { 7 | set WORKAREASIZE 0x1000 8 | } 9 | 10 | source [find target/lpc1xxx.cfg] 11 | -------------------------------------------------------------------------------- /tcl/target/lpc13xx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # NXP LPC13xx Cortex-M3 with at least 4kB SRAM 4 | set CHIPNAME lpc13xx 5 | set CHIPSERIES lpc1300 6 | if { ![info exists WORKAREASIZE] } { 7 | set WORKAREASIZE 0x1000 8 | } 9 | 10 | source [find target/lpc1xxx.cfg] 11 | -------------------------------------------------------------------------------- /tcl/target/lpc17xx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # NXP LPC17xx Cortex-M3 with at least 8kB SRAM 4 | set CHIPNAME lpc17xx 5 | set CHIPSERIES lpc1700 6 | if { ![info exists WORKAREASIZE] } { 7 | set WORKAREASIZE 0x2000 8 | } 9 | 10 | source [find target/lpc1xxx.cfg] 11 | -------------------------------------------------------------------------------- /tcl/target/lpc40xx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # NXP LPC40xx Cortex-M4F with at least 16kB SRAM 4 | set CHIPNAME lpc40xx 5 | set CHIPSERIES lpc4000 6 | if { ![info exists WORKAREASIZE] } { 7 | set WORKAREASIZE 0x4000 8 | } 9 | 10 | source [find target/lpc1xxx.cfg] 11 | -------------------------------------------------------------------------------- /tcl/target/lpc4357.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # NXP LPC4357 5 | # 6 | 7 | if { ![info exists CHIPNAME] } { 8 | set CHIPNAME lpc4357 9 | } 10 | set WORKAREASIZE 0x8000 11 | source [find target/lpc4350.cfg] 12 | 13 | flash bank $_CHIPNAME.flasha lpc2000 0x1A000000 0x80000 0 0 $_CHIPNAME.m4 lpc4300 204000 calc_checksum 14 | flash bank $_CHIPNAME.flashb lpc2000 0x1B000000 0x80000 0 0 $_CHIPNAME.m4 lpc4300 204000 calc_checksum 15 | -------------------------------------------------------------------------------- /tcl/target/lpc84x.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # NXP LPC84x Cortex-M0+ with at least 8kB SRAM 4 | if { ![info exists CHIPNAME] } { 5 | set CHIPNAME lpc84x 6 | } 7 | set CHIPSERIES lpc800 8 | if { ![info exists WORKAREASIZE] } { 9 | set WORKAREASIZE 0x1fe0 10 | } 11 | 12 | set IAP_ENTRY 0x0F001FF1 13 | source [find target/lpc1xxx.cfg] 14 | -------------------------------------------------------------------------------- /tcl/target/lpc8xx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # NXP LPC8xx Cortex-M0+ with at least 1kB SRAM 4 | if { ![info exists CHIPNAME] } { 5 | set CHIPNAME lpc8xx 6 | } 7 | set CHIPSERIES lpc800 8 | if { ![info exists WORKAREASIZE] } { 9 | set WORKAREASIZE 0x400 10 | } 11 | 12 | source [find target/lpc1xxx.cfg] 13 | -------------------------------------------------------------------------------- /tcl/target/ls1028a.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # NXP LS1028A 3 | 4 | if { [info exists CHIPNAME] } { 5 | set _CHIPNAME $CHIPNAME 6 | } else { 7 | set _CHIPNAME ls1028a 8 | } 9 | 10 | if { [info exists DAP_TAPID] } { 11 | set _DAP_TAPID $DAP_TAPID 12 | } else { 13 | set _DAP_TAPID 0x6ba00477 14 | } 15 | 16 | set _CPUS 2 17 | 18 | source [find target/lsch3_common.cfg] 19 | -------------------------------------------------------------------------------- /tcl/target/ls1088a.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # NXP LS1088A 3 | 4 | if { [info exists CHIPNAME] } { 5 | set _CHIPNAME $CHIPNAME 6 | } else { 7 | set _CHIPNAME ls1088a 8 | } 9 | 10 | if { [info exists DAP_TAPID] } { 11 | set _DAP_TAPID $DAP_TAPID 12 | } else { 13 | set _DAP_TAPID 0x5ba00477 14 | } 15 | 16 | set _CPUS 8 17 | 18 | source [find target/lsch3_common.cfg] 19 | 20 | # Seems to work OK in testing 21 | adapter speed 10000 22 | -------------------------------------------------------------------------------- /tcl/target/marvell/88f3710.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Marvell Armada 3710 4 | 5 | set CORES 1 6 | 7 | source [find target/marvell/88f37x0.cfg] 8 | -------------------------------------------------------------------------------- /tcl/target/marvell/88f3720.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Marvell Armada 3720 4 | 5 | set CORES 2 6 | 7 | source [find target/marvell/88f37x0.cfg] 8 | -------------------------------------------------------------------------------- /tcl/target/nds32v5.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # Andes Core 4 | # 5 | # http://www.andestech.com 6 | # 7 | 8 | set _CHIPNAME nds 9 | jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1000563D 10 | 11 | set _TARGETNAME $_CHIPNAME.cpu 12 | target create $_TARGETNAME riscv -chain-position $_TARGETNAME 13 | -------------------------------------------------------------------------------- /tcl/target/netl_xlp304.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # Target: XLP304 processor by NetLogic Microsystems 4 | # 5 | 6 | set XLP_NT 4 7 | source [find target/netl_xlp3xx.cfg] 8 | -------------------------------------------------------------------------------- /tcl/target/netl_xlp308.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # Target: XLP308 processor by NetLogic Microsystems 4 | # 5 | 6 | set XLP_NT 8 7 | source [find target/netl_xlp3xx.cfg] 8 | -------------------------------------------------------------------------------- /tcl/target/netl_xlp316.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # Target: XLP316 processor by NetLogic Microsystems 4 | # 5 | 6 | set XLP_NT 16 7 | source [find target/netl_xlp3xx.cfg] 8 | -------------------------------------------------------------------------------- /tcl/target/nhs31xx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # NXP NHS31xx Cortex-M0+ with 8kB SRAM 4 | 5 | set CHIPNAME nhs31xx 6 | source [find target/lpc8nxx.cfg] 7 | -------------------------------------------------------------------------------- /tcl/target/renesas_rcar_reset_common.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # Renesas R-Car Gen2 Evaluation Board common settings 4 | 5 | reset_config trst_and_srst srst_nogate 6 | 7 | proc init_reset {mode} { 8 | # Assert both resets: equivalent to a power-on reset 9 | adapter assert trst assert srst 10 | 11 | # Deassert TRST to begin TAP communication 12 | adapter deassert trst assert srst 13 | 14 | # TAP should now be responsive, validate the scan-chain 15 | jtag arp_init 16 | } 17 | -------------------------------------------------------------------------------- /tcl/target/stm32h7x_dual_bank.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # script for stm32h7x family (dual flash bank) 4 | 5 | # STM32H7xxxI 2Mo have a dual bank flash. 6 | set DUAL_BANK 1 7 | 8 | source [find target/stm32h7x.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/stm32l0_dual_bank.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find target/stm32l0.cfg] 4 | 5 | # Add the second flash bank. 6 | set _FLASHNAME $_CHIPNAME.flash1 7 | flash bank $_FLASHNAME stm32lx 0 0 0 0 $_TARGETNAME 8 | -------------------------------------------------------------------------------- /tcl/target/stm32l1x_dual_bank.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find target/stm32l1.cfg] 4 | 5 | # The stm32l1x 384kb have a dual bank flash. 6 | # Let's add a definition for the second bank here. 7 | 8 | # Add the second flash bank. 9 | set _FLASHNAME $_CHIPNAME.flash1 10 | flash bank $_FLASHNAME stm32lx 0 0 0 0 $_TARGETNAME 11 | -------------------------------------------------------------------------------- /tcl/target/stm32xl.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # script for stm32xl family (dual flash bank) 4 | source [find target/stm32f1x.cfg] 5 | 6 | # flash size will be probed 7 | set _FLASHNAME $_CHIPNAME.flash1 8 | flash bank $_FLASHNAME stm32f1x 0x08080000 0 0 0 $_TARGETNAME 9 | -------------------------------------------------------------------------------- /tcl/target/stm8l152.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | echo 'DEPRECATED: choose between stm8l15xx4.cfg, stm8l15xx6.cfg and stm8l15xx8.cfg instead of stm8l152.cfg' 4 | echo ' using stm8l152.cfg for backwards compatability' 5 | 6 | set EEPROMSTART 0x1000 7 | set EEPROMEND 0x13ff 8 | 9 | proc stm8_reset_rop {} { 10 | mwb 0x4800 0xaa 11 | mwb 0x4800 0xaa 12 | reset halt 13 | } 14 | 15 | source [find target/stm8l.cfg] 16 | -------------------------------------------------------------------------------- /tcl/target/stm8s003.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | #config script for STM8S003 4 | 5 | set FLASHEND 0x9FFF 6 | set BLOCKSIZE 0x40 7 | 8 | proc stm8_reset_rop {} { 9 | mwb 0x4800 0x00 10 | reset halt 11 | } 12 | 13 | source [find target/stm8s.cfg] 14 | -------------------------------------------------------------------------------- /tcl/target/stm8s103.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | #config script for STM8S103 4 | 5 | set FLASHEND 0x9FFF 6 | set EEPROMEND 0x427F 7 | set OPTIONEND 0x480A 8 | set BLOCKSIZE 0x40 9 | 10 | proc stm8_reset_rop {} { 11 | mwb 0x4800 0x00 12 | reset halt 13 | } 14 | 15 | source [find target/stm8s.cfg] 16 | -------------------------------------------------------------------------------- /tcl/target/stm8s105.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | #config script for STM8S105 4 | 5 | proc stm8_reset_rop {} { 6 | mwb 0x4800 0x00 7 | reset halt 8 | } 9 | 10 | source [find target/stm8s.cfg] 11 | -------------------------------------------------------------------------------- /tcl/target/test_syntax_error.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # This script tests a syntax error in the startup 4 | # config script 5 | 6 | syntax error here 7 | -------------------------------------------------------------------------------- /tcl/target/ti_cc13x0.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Texas Instruments CC13x0 - ARM Cortex-M3 5 | # 6 | # http://www.ti.com 7 | # 8 | 9 | set CHIPNAME cc13x0 10 | set JRC_TAPID 0x0B9BE02F 11 | set WORKAREASIZE 0x4000 12 | 13 | source [find target/ti_cc26x0.cfg] 14 | -------------------------------------------------------------------------------- /tcl/target/ti_cc13x2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Texas Instruments CC13x2 - ARM Cortex-M4 5 | # 6 | # http://www.ti.com 7 | # 8 | 9 | set CHIPNAME cc13x2 10 | set JRC_TAPID 0x0BB4102F 11 | set WORKAREASIZE 0x7000 12 | 13 | source [find target/ti_cc26x0.cfg] 14 | -------------------------------------------------------------------------------- /tcl/target/ti_cc26x2.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # Texas Instruments CC26x2 - ARM Cortex-M4 5 | # 6 | # http://www.ti.com 7 | # 8 | 9 | set CHIPNAME cc26x2 10 | set JRC_TAPID 0x0BB4102F 11 | set WORKAREASIZE 0x7000 12 | 13 | source [find target/ti_cc26x0.cfg] 14 | -------------------------------------------------------------------------------- /tcl/target/ti_rm4x.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | source [find target/ti_tms570.cfg] 4 | -------------------------------------------------------------------------------- /tcl/target/ti_tms570lc43xx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | set DAP_TAPID 0x0B95A02F 4 | set JRC_TAPID 0x0B95A02F 5 | 6 | source [find target/ti_tms570.cfg] 7 | -------------------------------------------------------------------------------- /tcl/target/ti_tms570ls20xxx.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # TMS570LS20216, TMS570LS20206, TMS570LS10216 4 | # TMS570LS10206, TMS570LS10116, TMS570LS10106 5 | set DAP_TAPID 0x0B7B302F 6 | set JRC_TAPID 0x0B7B302F 7 | 8 | source [find target/ti_tms570.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/ti_tms570ls3137.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # TMS570LS3137 4 | set DAP_TAPID 0x0B8A002F 5 | set JRC_TAPID 0x0B8A002F 6 | 7 | source [find target/ti_tms570.cfg] 8 | -------------------------------------------------------------------------------- /tcl/target/vd_cortex_m.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # Cadence virtual debug interface 3 | # ARM Cortex M 4 | 5 | if {![info exists CHIPNAME]} { 6 | set CHIPNAME cortex_m 7 | } 8 | set _TARGETNAME $CHIPNAME.cpu 9 | set _DAPNAME $CHIPNAME.dap 10 | 11 | dap create $_DAPNAME -chain-position $_TARGETNAME 12 | 13 | target create $_TARGETNAME cortex_m -dap $_DAPNAME 14 | -------------------------------------------------------------------------------- /tcl/target/vd_riscv.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # Cadence virtual debug interface 3 | # RISCV core 4 | 5 | if {![info exists _HARTID]} { 6 | set _HARTID 0x00 7 | } 8 | if {![info exists _CHIPNAME]} { 9 | set _CHIPNAME riscv 10 | } 11 | set _TARGETNAME $_CHIPNAME.cpu 12 | 13 | target create $_TARGETNAME riscv -chain-position $_TARGETNAME -coreid $_HARTID 14 | 15 | riscv set_reset_timeout_sec 120 16 | riscv set_command_timeout_sec 120 17 | riscv set_mem_access sysbus progbuf 18 | -------------------------------------------------------------------------------- /tcl/target/xmos_xs1-xau8a-10_arm.cfg: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | # 4 | # XMOS xCORE-XA XS1-XAU8A-10: ARM Cortex-M3 @ 48 MHz 5 | # 6 | # http://www.xmos.com/products/silicon/xcore-xa/xa-series 7 | # 8 | 9 | if { ![info exists CHIPNAME] } { 10 | set CHIPNAME xcorexa 11 | } 12 | 13 | if { ![info exists WORKAREASIZE] } { 14 | # XS1-XAU8A-10-FB265: 128 KB SRAM 15 | set WORKAREASIZE 0x20000 16 | } 17 | 18 | source [find target/efm32.cfg] 19 | -------------------------------------------------------------------------------- /testing/examples/AT91R40008Test/prj/at91r40008_reset.script: -------------------------------------------------------------------------------- 1 | wait_halt 2 | sleep 10 3 | poll 4 | # Ethernut 3 remapping is required to access external flash memory. 5 | mww 0xffe00000 0x1000213d 6 | mww 0xffe00004 0x20003e3d 7 | mww 0xffe00020 0x00000001 8 | -------------------------------------------------------------------------------- /testing/examples/AT91R40008Test/prj/eclipse_ram.gdb: -------------------------------------------------------------------------------- 1 | target remote localhost:3333 2 | monitor reset 3 | monitor sleep 500 4 | monitor poll 5 | monitor soft_reset_halt 6 | monitor arm7_9 sw_bkpts enable 7 | monitor mww 0xFFE00000 0x1000213D 8 | monitor mww 0xFFE00004 0x20003E3D 9 | monitor mww 0xFFE00020 0x00000001 10 | monitor mdw 0xFFE00000 1 11 | monitor mdw 0xFFE00004 1 12 | load 13 | break main 14 | continue 15 | -------------------------------------------------------------------------------- /testing/examples/AT91R40008Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/AT91R40008Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/LPC2148Test/prj/eclipse_ram.gdb: -------------------------------------------------------------------------------- 1 | target remote localhost:3333 2 | monitor reset 3 | monitor sleep 500 4 | monitor poll 5 | monitor soft_reset_halt 6 | monitor arm7_9 sw_bkpts enable 7 | monitor mww 0xE01FC040 0x0002 8 | monitor mdw 0xE01FC040 9 | load 10 | break main 11 | continue 12 | -------------------------------------------------------------------------------- /testing/examples/LPC2148Test/prj/eclipse_rom.gdb: -------------------------------------------------------------------------------- 1 | target remote localhost:3333 2 | monitor reset 3 | monitor sleep 500 4 | monitor poll 5 | monitor soft_reset_halt 6 | monitor arm7_9 force_hw_bkpts enable 7 | monitor mww 0xE01FC040 0x0002 8 | monitor mdw 0xE01FC040 9 | load 10 | break main 11 | continue 12 | -------------------------------------------------------------------------------- /testing/examples/LPC2148Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/LPC2148Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/LPC2148Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/LPC2148Test/test_rom.elf -------------------------------------------------------------------------------- /testing/examples/LPC2294Test/prj/eclipse_ram.gdb: -------------------------------------------------------------------------------- 1 | target remote localhost:3333 2 | monitor reset 3 | monitor sleep 500 4 | monitor poll 5 | monitor soft_reset_halt 6 | monitor arm7_9 sw_bkpts enable 7 | monitor mww 0xE01FC040 0x0002 8 | monitor mdw 0xE01FC040 9 | load 10 | break main 11 | continue 12 | -------------------------------------------------------------------------------- /testing/examples/LPC2294Test/prj/eclipse_rom.gdb: -------------------------------------------------------------------------------- 1 | target remote localhost:3333 2 | monitor reset 3 | monitor sleep 500 4 | monitor poll 5 | monitor soft_reset_halt 6 | monitor arm7_9 force_hw_bkpts enable 7 | monitor mww 0xE01FC040 0x0002 8 | monitor mdw 0xE01FC040 9 | load 10 | break main 11 | continue 12 | -------------------------------------------------------------------------------- /testing/examples/LPC2294Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/LPC2294Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/LPC2294Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/LPC2294Test/test_rom.elf -------------------------------------------------------------------------------- /testing/examples/PIC32/BlinkingLeds.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/PIC32/BlinkingLeds.elf -------------------------------------------------------------------------------- /testing/examples/PIC32/readme.txt: -------------------------------------------------------------------------------- 1 | Here you'll find a simple example tested with PIC32 Starter kit (source code and .elf file). It will blink repeatedly the LEDs on the board. 2 | The program was compiled and written on the target using MPLAB IDE v 8.0 that comes with the kit because openocd is missing currently the ability 3 | to program the flash for this specific target. It is possible in the future this limitation to be removed. 4 | -------------------------------------------------------------------------------- /testing/examples/SAM7S256Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/SAM7S256Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/SAM7S256Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/SAM7S256Test/test_rom.elf -------------------------------------------------------------------------------- /testing/examples/SAM7X256Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/SAM7X256Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/SAM7X256Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/SAM7X256Test/test_rom.elf -------------------------------------------------------------------------------- /testing/examples/STM32-103/main.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/STM32-103/main.elf -------------------------------------------------------------------------------- /testing/examples/STM32-103/readme.txt: -------------------------------------------------------------------------------- 1 | Olimex STM32-p103 board. 2 | 3 | main.elf is a file that can be programmed to flash for 4 | testing purposes(e.g. test GDB load performance). 5 | 6 | http://www.olimex.com/dev/stm32-p103.html 7 | -------------------------------------------------------------------------------- /testing/examples/STR710JtagSpeed/test.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/STR710JtagSpeed/test.elf -------------------------------------------------------------------------------- /testing/examples/STR710Test/.gitignore: -------------------------------------------------------------------------------- 1 | .dep 2 | src/main.lst 3 | -------------------------------------------------------------------------------- /testing/examples/STR710Test/prj/eclipse_ram.gdb: -------------------------------------------------------------------------------- 1 | target remote localhost:3333 2 | monitor reset 3 | monitor sleep 500 4 | monitor poll 5 | monitor soft_reset_halt 6 | monitor arm7_9 sw_bkpts enable 7 | monitor mww 0xA0000050 0x01c2 8 | monitor mdw 0xA0000050 9 | load 10 | break main 11 | continue 12 | -------------------------------------------------------------------------------- /testing/examples/STR710Test/prj/eclipse_rom.gdb: -------------------------------------------------------------------------------- 1 | target remote localhost:3333 2 | monitor reset 3 | monitor sleep 500 4 | monitor poll 5 | monitor soft_reset_halt 6 | monitor arm7_9 force_hw_bkpts enable 7 | monitor mww 0xA0000050 0x01c2 8 | monitor mdw 0xA0000050 9 | load 10 | break main 11 | continue 12 | -------------------------------------------------------------------------------- /testing/examples/STR710Test/prj/str710_program.script: -------------------------------------------------------------------------------- 1 | flash protect 0 0 7 off 2 | -------------------------------------------------------------------------------- /testing/examples/STR710Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/STR710Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/STR710Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/STR710Test/test_rom.elf -------------------------------------------------------------------------------- /testing/examples/STR912Test/prj/eclipse_ram.gdb: -------------------------------------------------------------------------------- 1 | target remote localhost:3333 2 | monitor reset 3 | monitor sleep 500 4 | monitor poll 5 | monitor soft_reset_halt 6 | monitor arm7_9 sw_bkpts enable 7 | 8 | # Set SRAM size to 96 KB 9 | monitor mww 0x5C002034 0x0197 10 | monitor mdw 0x5C002034 11 | 12 | # Set Flash, Bank0 size to 512 KB 13 | monitor mww 0x54000000 0xf 14 | 15 | load 16 | break main 17 | continue 18 | -------------------------------------------------------------------------------- /testing/examples/STR912Test/prj/eclipse_rom.gdb: -------------------------------------------------------------------------------- 1 | target remote localhost:3333 2 | monitor reset 3 | monitor sleep 500 4 | monitor poll 5 | monitor soft_reset_halt 6 | monitor arm7_9 force_hw_bkpts enable 7 | 8 | # Set SRAM size to 96 KB 9 | monitor mww 0x5C002034 0x0197 10 | monitor mdw 0x5C002034 11 | 12 | # Set Flash, Bank0 size to 512 KB 13 | monitor mww 0x54000000 0xf 14 | 15 | load 16 | break main 17 | continue 18 | -------------------------------------------------------------------------------- /testing/examples/STR912Test/prj/str912_program.script: -------------------------------------------------------------------------------- 1 | str9x flash_config 0 4 2 0 0x80000 2 | flash protect 0 0 7 off 3 | -------------------------------------------------------------------------------- /testing/examples/STR912Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/STR912Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/STR912Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/STR912Test/test_rom.elf -------------------------------------------------------------------------------- /testing/examples/cortex/lm3s3748.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/cortex/lm3s3748.elf -------------------------------------------------------------------------------- /testing/examples/ledtest-imx27ads/ldscript: -------------------------------------------------------------------------------- 1 | SECTIONS 2 | { 3 | . = 0xA0000000; 4 | .text : { *(.text) } 5 | .data ALIGN(0x10): { *(.data) } 6 | .bss ALIGN(0x10): { 7 | __bss_start__ = ABSOLUTE(.); 8 | *(.bss) 9 | . += 0x100; 10 | } 11 | __bss_end__ = .; 12 | PROVIDE (__stack = .); 13 | _end = .; 14 | .debug_info 0 : { *(.debug_info) } 15 | .debug_abbrev 0 : { *(.debug_abbrev) } 16 | .debug_line 0 : { *(.debug_line) } 17 | .debug_frame 0 : { *(.debug_frame) } 18 | } 19 | -------------------------------------------------------------------------------- /testing/examples/ledtest-imx27ads/test.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/ledtest-imx27ads/test.elf -------------------------------------------------------------------------------- /testing/examples/ledtest-imx31pdk/ldscript: -------------------------------------------------------------------------------- 1 | SECTIONS 2 | { 3 | . = 0x80000100; 4 | .text : { *(.text) } 5 | .data ALIGN(0x10): { *(.data) } 6 | .bss ALIGN(0x10): { 7 | __bss_start__ = ABSOLUTE(.); 8 | *(.bss) 9 | . += 0x100; 10 | } 11 | __bss_end__ = .; 12 | PROVIDE (__stack = .); 13 | _end = .; 14 | .debug_info 0 : { *(.debug_info) } 15 | .debug_abbrev 0 : { *(.debug_abbrev) } 16 | .debug_line 0 : { *(.debug_line) } 17 | .debug_frame 0 : { *(.debug_frame) } 18 | } 19 | -------------------------------------------------------------------------------- /testing/examples/ledtest-imx31pdk/test.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/testing/examples/ledtest-imx31pdk/test.elf -------------------------------------------------------------------------------- /testing/tcl_server.tcl: -------------------------------------------------------------------------------- 1 | # Simple tcl client to connect to openocd 2 | puts "Use empty line to exit" 3 | set fo [socket 127.0.0.1 6666] 4 | puts -nonewline stdout "> " 5 | flush stdout 6 | while {[gets stdin line] >= 0} { 7 | if {$line eq {}} break 8 | puts $fo $line 9 | flush $fo 10 | gets $fo line 11 | puts $line 12 | puts -nonewline stdout "> " 13 | flush stdout 14 | } 15 | close $fo 16 | -------------------------------------------------------------------------------- /tools/checkpatch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # SPDX-License-Identifier: GPL-2.0-or-later 3 | 4 | since=${1:-HEAD^} 5 | tools/scripts/checkpatch.pl --git ${since}.. 6 | -------------------------------------------------------------------------------- /tools/rlink_make_speed_table/rlink_make_speed_table: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec perl "$0.pl" $* 3 | -------------------------------------------------------------------------------- /tools/scripts/const_structs.checkpatch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypi/openocd/cf9c0b41cd5c45b2faf01b4fd1186f160342b7b7/tools/scripts/const_structs.checkpatch -------------------------------------------------------------------------------- /tools/scripts/spdxexclude: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | # 3 | # Patterns for excluding files and directories 4 | 5 | # Ignore the license directory and the licensing documentation which would 6 | # create lots of noise for no value 7 | LICENSES/ 8 | license-rules.rst 9 | 10 | # Other files without copyrightable content 11 | /NEWS* 12 | testing/ 13 | 14 | -------------------------------------------------------------------------------- /tools/scripts/typedefs.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: GPL-2.0-or-later 2 | 3 | fd_set 4 | Jim_Cmd 5 | Jim_CmdProc 6 | Jim_DelCmdProc 7 | Jim_Interp 8 | Jim_Obj 9 | -------------------------------------------------------------------------------- /tools/st7_dtc_as/st7_dtc_as: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec perl "$0.pl" $* 3 | --------------------------------------------------------------------------------