├── .gitignore ├── .gitmodules ├── AUTHORS ├── AUTHORS.ChangeLog ├── BUGS ├── COPYING ├── ChangeLog ├── Doxyfile.in ├── HACKING ├── Makefile.am ├── NEWS ├── 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.OSX ├── README.Windows ├── TODO ├── bootstrap ├── config_subdir.m4 ├── configure.ac ├── contrib ├── 60-openocd.rules ├── coresight-trace.txt ├── cross-build.sh ├── gen-stellaris-part-header.pl ├── itmdump.c ├── libdcc │ ├── README │ ├── dcc_stdio.c │ ├── dcc_stdio.h │ └── example.c ├── loaders │ ├── Makefile │ ├── README │ ├── checksum │ │ ├── Makefile │ │ ├── armv4_5_crc.inc │ │ ├── armv4_5_crc.s │ │ ├── armv7m_crc.inc │ │ ├── armv7m_crc.s │ │ └── mips32.s │ ├── 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_0_erase_check.inc │ │ ├── armv7m_0_erase_check.s │ │ ├── armv7m_erase_check.inc │ │ └── armv7m_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 │ │ ├── cortex-m0.S │ │ ├── efm32.S │ │ ├── fm4 │ │ │ ├── Makefile │ │ │ ├── erase.S │ │ │ ├── erase.inc │ │ │ ├── fm4.h │ │ │ ├── write.S │ │ │ └── write.inc │ │ ├── fpga │ │ │ └── xilinx_bscan_spi.py │ │ ├── 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 │ │ ├── mdr32fx.S │ │ ├── mrvlqspi_write.S │ │ ├── pic32mx.s │ │ ├── sim3x.s │ │ ├── stellaris.s │ │ ├── stm32f1x.S │ │ ├── stm32f2x.S │ │ ├── stm32l4x.S │ │ ├── stm32lx.S │ │ ├── str7x.s │ │ ├── str9x.s │ │ └── xmc1xxx │ │ │ ├── Makefile │ │ │ ├── erase.S │ │ │ ├── erase.inc │ │ │ ├── erase_check.S │ │ │ ├── erase_check.inc │ │ │ ├── write.S │ │ │ ├── write.inc │ │ │ └── xmc1xxx.S │ └── watchdog │ │ ├── Makefile │ │ ├── armv7m_kinetis_wdog.inc │ │ └── armv7m_kinetis_wdog.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 ├── Makefile.am ├── fdl.texi ├── manual │ ├── app.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 ├── guess-rev.sh ├── src ├── Makefile.am ├── flash │ ├── Makefile.am │ ├── common.c │ ├── common.h │ ├── mflash.c │ ├── mflash.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 │ │ ├── atsamv.c │ │ ├── avrf.c │ │ ├── cfi.c │ │ ├── cfi.h │ │ ├── core.c │ │ ├── core.h │ │ ├── driver.h │ │ ├── drivers.c │ │ ├── dsp5680xx_flash.c │ │ ├── efm32.c │ │ ├── em357.c │ │ ├── faux.c │ │ ├── fm3.c │ │ ├── fm4.c │ │ ├── imp.h │ │ ├── jtagspi.c │ │ ├── kinetis.c │ │ ├── kinetis_ke.c │ │ ├── lc823450.c │ │ ├── lc823450_spifi.h │ │ ├── lpc2000.c │ │ ├── lpc288x.c │ │ ├── lpc2900.c │ │ ├── lpcspifi.c │ │ ├── mdr.c │ │ ├── mrvlqspi.c │ │ ├── niietcm4.c │ │ ├── non_cfi.c │ │ ├── non_cfi.h │ │ ├── nrf51.c │ │ ├── numicro.c │ │ ├── ocl.c │ │ ├── ocl.h │ │ ├── pic32mx.c │ │ ├── psoc4.c │ │ ├── sim3x.c │ │ ├── spi.c │ │ ├── spi.h │ │ ├── stellaris.c │ │ ├── stm32f1x.c │ │ ├── stm32f2x.c │ │ ├── stm32l4x.c │ │ ├── stm32lx.c │ │ ├── stmsmi.c │ │ ├── str7x.c │ │ ├── str9x.c │ │ ├── str9xpec.c │ │ ├── tcl.c │ │ ├── tms470.c │ │ ├── virtual.c │ │ ├── xmc1xxx.c │ │ └── xmc4xxx.c │ └── startup.tcl ├── hello.c ├── hello.h ├── helper │ ├── Makefile.am │ ├── bin2char.sh │ ├── binarybuffer.c │ ├── binarybuffer.h │ ├── command.c │ ├── command.h │ ├── configuration.c │ ├── configuration.h │ ├── fileio.c │ ├── fileio.h │ ├── ioutil.c │ ├── ioutil.h │ ├── ioutil_stubs.c │ ├── jep106.c │ ├── jep106.h │ ├── jep106.inc │ ├── jim-nvp.c │ ├── jim-nvp.h │ ├── list.h │ ├── log.c │ ├── log.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 │ ├── aice │ │ ├── Makefile.am │ │ ├── aice_interface.c │ │ ├── aice_interface.h │ │ ├── aice_pipe.c │ │ ├── aice_pipe.h │ │ ├── aice_port.c │ │ ├── aice_port.h │ │ ├── aice_transport.c │ │ ├── aice_transport.h │ │ ├── aice_usb.c │ │ └── aice_usb.h │ ├── commands.c │ ├── commands.h │ ├── core.c │ ├── driver.h │ ├── 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 │ │ ├── amt_jtagaccel.c │ │ ├── arm-jtag-ew.c │ │ ├── at91rm9200.c │ │ ├── bcm2835gpio.c │ │ ├── bitbang.c │ │ ├── bitbang.h │ │ ├── bitq.c │ │ ├── bitq.h │ │ ├── buspirate.c │ │ ├── cmsis_dap_usb.c │ │ ├── driver.c │ │ ├── dummy.c │ │ ├── ep93xx.c │ │ ├── ftdi.c │ │ ├── gw16012.c │ │ ├── jlink.c │ │ ├── jtag_vpi.c │ │ ├── libusb0_common.c │ │ ├── libusb0_common.h │ │ ├── libusb1_common.c │ │ ├── libusb1_common.h │ │ ├── libusb_common.h │ │ ├── minidriver_imp.h │ │ ├── mpsse.c │ │ ├── mpsse.h │ │ ├── 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 │ │ ├── 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 │ │ ├── usb_common.c │ │ ├── usb_common.h │ │ ├── usbprog.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 │ ├── hla │ │ ├── Makefile.am │ │ ├── hla_interface.c │ │ ├── hla_interface.h │ │ ├── hla_layout.c │ │ ├── hla_layout.h │ │ ├── hla_tcl.c │ │ ├── hla_tcl.h │ │ ├── hla_transport.c │ │ └── hla_transport.h │ ├── interface.c │ ├── interface.h │ ├── interfaces.c │ ├── interfaces.h │ ├── jtag.h │ ├── minidriver.h │ ├── minidriver │ │ └── minidriver_imp.h │ ├── minidummy │ │ ├── jtag_minidriver.h │ │ └── minidummy.c │ ├── startup.tcl │ ├── swd.h │ ├── tcl.c │ ├── tcl.h │ └── zy1000 │ │ ├── jtag_minidriver.h │ │ └── zy1000.c ├── main.c ├── openocd.c ├── openocd.h ├── pld │ ├── Makefile.am │ ├── pld.c │ ├── pld.h │ ├── virtex2.c │ ├── virtex2.h │ ├── xilinx_bit.c │ └── xilinx_bit.h ├── rtos │ ├── ChibiOS.c │ ├── FreeRTOS.c │ ├── Makefile.am │ ├── ThreadX.c │ ├── eCos.c │ ├── embKernel.c │ ├── linux.c │ ├── linux_header.h │ ├── mqx.c │ ├── nuttx.c │ ├── nuttx_header.h │ ├── 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_standard_stackings.c │ ├── rtos_standard_stackings.h │ ├── rtos_ucos_iii_stackings.c │ ├── rtos_ucos_iii_stackings.h │ └── uCOS-III.c ├── server │ ├── Makefile.am │ ├── gdb_server.c │ ├── gdb_server.h │ ├── server.c │ ├── server.h │ ├── server_stubs.c │ ├── startup.tcl │ ├── tcl_server.c │ ├── tcl_server.h │ ├── telnet_server.c │ └── telnet_server.h ├── svf │ ├── Makefile.am │ ├── svf.c │ └── svf.h ├── target │ ├── Makefile.am │ ├── adi_v5_jtag.c │ ├── adi_v5_swd.c │ ├── algorithm.c │ ├── algorithm.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_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 │ ├── 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 │ ├── armv7m.c │ ├── armv7m.h │ ├── armv7m_trace.c │ ├── armv7m_trace.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 │ ├── 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 │ ├── mips32.c │ ├── mips32.h │ ├── mips32_dmaacc.c │ ├── mips32_dmaacc.h │ ├── mips32_pracc.c │ ├── mips32_pracc.h │ ├── mips_ejtag.c │ ├── mips_ejtag.h │ ├── mips_m4k.c │ ├── mips_m4k.h │ ├── nds32.c │ ├── nds32.h │ ├── nds32_aice.c │ ├── nds32_aice.h │ ├── nds32_cmd.c │ ├── nds32_cmd.h │ ├── nds32_disassembler.c │ ├── nds32_disassembler.h │ ├── nds32_edm.h │ ├── nds32_insn.h │ ├── nds32_reg.c │ ├── nds32_reg.h │ ├── nds32_tlb.c │ ├── nds32_tlb.h │ ├── nds32_v2.c │ ├── nds32_v2.h │ ├── nds32_v3.c │ ├── nds32_v3.h │ ├── nds32_v3_common.c │ ├── nds32_v3_common.h │ ├── nds32_v3m.c │ ├── nds32_v3m.h │ ├── oocd_trace.c │ ├── oocd_trace.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 │ ├── smp.c │ ├── smp.h │ ├── startup.tcl │ ├── 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 ├── transport │ ├── Makefile.am │ ├── transport.c │ └── transport.h └── xsvf │ ├── Makefile.am │ ├── xsvf.c │ └── xsvf.h ├── tcl ├── bitsbytes.tcl ├── board │ ├── actux3.cfg │ ├── adapteva_parallella1.cfg │ ├── alphascale_asm9260_ek.cfg │ ├── altera_sockit.cfg │ ├── am3517evm.cfg │ ├── arm_evaluator7t.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_samd20_xplained_pro.cfg │ ├── atmel_samd21_xplained_pro.cfg │ ├── atmel_same70_xplained.cfg │ ├── atmel_samg53_xplained_pro.cfg │ ├── atmel_saml21_xplained_pro.cfg │ ├── atmel_samr21_xplained_pro.cfg │ ├── atmel_samv71_xplained_ultra.cfg │ ├── balloon3-cpu.cfg │ ├── bcm28155_ap.cfg │ ├── bt-homehubv1.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_zedboard.cfg │ ├── diolan_lpc4350-db1.cfg │ ├── diolan_lpc4357-db1.cfg │ ├── dk-tm4c129.cfg │ ├── dm355evm.cfg │ ├── dm365evm.cfg │ ├── dm6446evm.cfg │ ├── dp_busblaster_v3.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_twr-vf6-som-bsb.cfg │ ├── emcraft_vf6-som.cfg │ ├── ethernut3.cfg │ ├── frdm-kl25z.cfg │ ├── frdm-kl46z.cfg │ ├── fsl_imx6q_sabresd.cfg │ ├── glyn_tonga2.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 │ ├── insignal_arndale.cfg │ ├── kc705.cfg │ ├── keil_mcb1700.cfg │ ├── keil_mcb2140.cfg │ ├── kwikstik.cfg │ ├── la_fonera-fon2200.cfg │ ├── lc823450_xgevk.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 │ ├── mini2440.cfg │ ├── mini6410.cfg │ ├── minispartan6.cfg │ ├── nds32_xc5.cfg │ ├── netgear-dg834v3.cfg │ ├── netgear-wg102.cfg │ ├── nordic_nrf51822_mkit.cfg │ ├── nordic_nrf51_dk.cfg │ ├── nordic_nrf52_dk.cfg │ ├── novena-internal-fpga.cfg │ ├── numato_opsis.cfg │ ├── nxp_lpc-link2.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_p107.cfg │ ├── omap2420_h4.cfg │ ├── open-bldc.cfg │ ├── openrd.cfg │ ├── or1k_generic.cfg │ ├── osk5912.cfg │ ├── phone_se_j100i.cfg │ ├── phytec_lpc3250.cfg │ ├── pic-p32mx.cfg │ ├── pipistrello.cfg │ ├── propox_mmnet1001.cfg │ ├── pxa255_sst.cfg │ ├── quark_d2000_refboard.cfg │ ├── quark_x10xx_board.cfg │ ├── redbee.cfg │ ├── renesas_dk-s7g2.cfg │ ├── rsc-w910.cfg │ ├── sheevaplug.cfg │ ├── smdk6410.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_nucleo_f0.cfg │ ├── st_nucleo_f103rb.cfg │ ├── st_nucleo_f3.cfg │ ├── st_nucleo_f4.cfg │ ├── st_nucleo_l1.cfg │ ├── st_nucleo_l476rg.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 │ ├── stm32f334discovery.cfg │ ├── stm32f3discovery.cfg │ ├── stm32f429disc1.cfg │ ├── stm32f429discovery.cfg │ ├── stm32f469discovery.cfg │ ├── stm32f4discovery.cfg │ ├── stm32f7discovery.cfg │ ├── stm32l0discovery.cfg │ ├── stm32l4discovery.cfg │ ├── stm32ldiscovery.cfg │ ├── stm32vldiscovery.cfg │ ├── str910-eval.cfg │ ├── telo.cfg │ ├── ti-cc3200-launchxl.cfg │ ├── ti_am335xevm.cfg │ ├── ti_am437x_idk.cfg │ ├── ti_am43xx_evm.cfg │ ├── ti_beagleboard.cfg │ ├── ti_beagleboard_xm.cfg │ ├── ti_beaglebone.cfg │ ├── ti_blaze.cfg │ ├── ti_pandaboard.cfg │ ├── ti_pandaboard_es.cfg │ ├── ti_tmdx570ls20susb.cfg │ ├── ti_tmdx570ls31usb.cfg │ ├── topas910.cfg │ ├── topasa900.cfg │ ├── tp-link_tl-mr3020.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 │ ├── 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 │ └── zy1000.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-epm240.cfg │ ├── jtagspi.cfg │ ├── lattice-lc4032ze.cfg │ ├── xilinx-xc6s.cfg │ ├── xilinx-xc7.cfg │ └── xilinx-xcr3256.cfg ├── cpu │ └── arm │ │ ├── arm7tdmi.tcl │ │ ├── arm920.tcl │ │ ├── arm946.tcl │ │ ├── arm966.tcl │ │ └── cortex_m3.tcl ├── fpga │ ├── altera-10m50.cfg │ └── altera-ep3c10.cfg ├── interface │ ├── altera-usb-blaster.cfg │ ├── altera-usb-blaster2.cfg │ ├── arm-jtag-ew.cfg │ ├── at91rm9200.cfg │ ├── buspirate.cfg │ ├── calao-usb-a9260.cfg │ ├── chameleon.cfg │ ├── cmsis-dap.cfg │ ├── dummy.cfg │ ├── estick.cfg │ ├── flashlink.cfg │ ├── ftdi │ │ ├── 100ask-openjtag.cfg │ │ ├── axm0432.cfg │ │ ├── calao-usb-a9260-c01.cfg │ │ ├── calao-usb-a9260-c02.cfg │ │ ├── cortino.cfg │ │ ├── digilent-hs1.cfg │ │ ├── digilent-hs2.cfg │ │ ├── digilent_jtag_hs3.cfg │ │ ├── digilent_jtag_smt2.cfg │ │ ├── dlp-usb1232h.cfg │ │ ├── dp_busblaster.cfg │ │ ├── dp_busblaster_kt-link.cfg │ │ ├── flossjtag-noeeprom.cfg │ │ ├── flossjtag.cfg │ │ ├── flyswatter.cfg │ │ ├── flyswatter2.cfg │ │ ├── gw16042.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 │ │ ├── iotlab-usb.cfg │ │ ├── jtag-lock-pick_tiny_2.cfg │ │ ├── jtagkey.cfg │ │ ├── jtagkey2.cfg │ │ ├── jtagkey2p.cfg │ │ ├── kt-link.cfg │ │ ├── lisa-l.cfg │ │ ├── luminary-icdi.cfg │ │ ├── luminary-lm3s811.cfg │ │ ├── luminary.cfg │ │ ├── m53evk.cfg │ │ ├── mbftdi.cfg │ │ ├── minimodule.cfg │ │ ├── minispartan6.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 │ │ ├── redbee-econotag.cfg │ │ ├── redbee-usb.cfg │ │ ├── rowley-cc-arm-swd.cfg │ │ ├── sheevaplug.cfg │ │ ├── signalyzer-lite.cfg │ │ ├── signalyzer.cfg │ │ ├── sony-ft232h-with-resistor.cfg │ │ ├── stm32-stick.cfg │ │ ├── swd-resistor-hack.cfg │ │ ├── ti-icdi.cfg │ │ ├── tumpa-lite.cfg │ │ ├── tumpa.cfg │ │ ├── turtelizer2-revB.cfg │ │ ├── turtelizer2-revC.cfg │ │ ├── um232h.cfg │ │ ├── vpaclink.cfg │ │ ├── xds100v2.cfg │ │ └── xds100v3.cfg │ ├── jlink.cfg │ ├── jtag_vpi.cfg │ ├── nds32-aice.cfg │ ├── opendous.cfg │ ├── openjtag.cfg │ ├── osbdm.cfg │ ├── parport.cfg │ ├── parport_dlc5.cfg │ ├── raspberrypi-native.cfg │ ├── raspberrypi2-native.cfg │ ├── rlink.cfg │ ├── stlink-v1.cfg │ ├── stlink-v2-1.cfg │ ├── stlink-v2.cfg │ ├── sysfsgpio-raspberrypi.cfg │ ├── ti-icdi.cfg │ ├── ulink.cfg │ ├── usb-jtag.cfg │ ├── usbprog.cfg │ └── vsllink.cfg ├── mem_helper.tcl ├── memory.tcl ├── mmr_helpers.tcl ├── target │ ├── 1986ве1т.cfg │ ├── adsp-sc58x.cfg │ ├── aduc702x.cfg │ ├── aducm360.cfg │ ├── alphascale_asm9260t.cfg │ ├── altera_fpgasoc.cfg │ ├── am335x.cfg │ ├── am437x.cfg │ ├── amdm37x.cfg │ ├── ar71xx.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 │ ├── at91samdXX.cfg │ ├── at91samg5x.cfg │ ├── atheros_ar2313.cfg │ ├── atheros_ar2315.cfg │ ├── atheros_ar9331.cfg │ ├── atmega128.cfg │ ├── atsamv.cfg │ ├── avr32.cfg │ ├── bcm281xx.cfg │ ├── bcm4706.cfg │ ├── bcm4718.cfg │ ├── bcm47xx.cfg │ ├── bcm5352e.cfg │ ├── bcm6348.cfg │ ├── c100.cfg │ ├── c100config.tcl │ ├── c100helper.tcl │ ├── c100regs.tcl │ ├── cc2538.cfg │ ├── cc26xx.cfg │ ├── cc32xx.cfg │ ├── cs351x.cfg │ ├── davinci.cfg │ ├── dragonite.cfg │ ├── dsp56321.cfg │ ├── dsp568013.cfg │ ├── dsp568037.cfg │ ├── efm32.cfg │ ├── efm32_stlink.cfg │ ├── em357.cfg │ ├── em358.cfg │ ├── epc9301.cfg │ ├── exynos5250.cfg │ ├── faux.cfg │ ├── feroceon.cfg │ ├── fm3.cfg │ ├── fm4.cfg │ ├── fm4_mb9bf.cfg │ ├── fm4_s6e2cc.cfg │ ├── gp326xxxa.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 │ ├── is5114.cfg │ ├── ixp42x.cfg │ ├── k1921vk01t.cfg │ ├── k40.cfg │ ├── k60.cfg │ ├── ke02.cfg │ ├── ke04.cfg │ ├── ke06.cfg │ ├── kex.cfg │ ├── kl25.cfg │ ├── kl25z_hla.cfg │ ├── kl46.cfg │ ├── klx.cfg │ ├── ks869x.cfg │ ├── kx.cfg │ ├── lc823450.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 │ ├── lpc8xx.cfg │ ├── mc13224v.cfg │ ├── mdr32f9q2i.cfg │ ├── nds32v2.cfg │ ├── nds32v3.cfg │ ├── nds32v3m.cfg │ ├── nrf51.cfg │ ├── nrf51_stlink.tcl │ ├── nrf52.cfg │ ├── nuc910.cfg │ ├── numicro.cfg │ ├── omap2420.cfg │ ├── omap3530.cfg │ ├── omap4430.cfg │ ├── omap4460.cfg │ ├── omap5912.cfg │ ├── omapl138.cfg │ ├── or1k.cfg │ ├── pic32mx.cfg │ ├── psoc4.cfg │ ├── psoc5lp.cfg │ ├── pxa255.cfg │ ├── pxa270.cfg │ ├── pxa3xx.cfg │ ├── quark_d20xx.cfg │ ├── quark_x10xx.cfg │ ├── readme.txt │ ├── renesas_s7g2.cfg │ ├── samsung_s3c2410.cfg │ ├── samsung_s3c2440.cfg │ ├── samsung_s3c2450.cfg │ ├── samsung_s3c4510.cfg │ ├── samsung_s3c6410.cfg │ ├── sharp_lh79532.cfg │ ├── sim3x.cfg │ ├── smp8634.cfg │ ├── spear3xx.cfg │ ├── stellaris.cfg │ ├── stellaris_icdi.cfg │ ├── stm32_stlink.cfg │ ├── stm32f0x.cfg │ ├── stm32f0x_stlink.cfg │ ├── stm32f1x.cfg │ ├── stm32f1x_stlink.cfg │ ├── stm32f2x.cfg │ ├── stm32f2x_stlink.cfg │ ├── stm32f3x.cfg │ ├── stm32f3x_stlink.cfg │ ├── stm32f4x.cfg │ ├── stm32f4x_stlink.cfg │ ├── stm32f7x.cfg │ ├── stm32l0.cfg │ ├── stm32l1.cfg │ ├── stm32l1x_dual_bank.cfg │ ├── stm32l4x.cfg │ ├── stm32lx_stlink.cfg │ ├── stm32w108_stlink.cfg │ ├── stm32w108xx.cfg │ ├── stm32xl.cfg │ ├── str710.cfg │ ├── str730.cfg │ ├── str750.cfg │ ├── str912.cfg │ ├── swj-dp.tcl │ ├── test_reset_syntax_error.cfg │ ├── test_syntax_error.cfg │ ├── ti-ar7.cfg │ ├── ti-cjtag.cfg │ ├── ti_calypso.cfg │ ├── ti_dm355.cfg │ ├── ti_dm365.cfg │ ├── ti_dm6446.cfg │ ├── ti_msp432p4xx.cfg │ ├── ti_rm4x.cfg │ ├── ti_tms570.cfg │ ├── ti_tms570ls20xxx.cfg │ ├── ti_tms570ls3137.cfg │ ├── tmpa900.cfg │ ├── tmpa910.cfg │ ├── u8500.cfg │ ├── vybrid_vf6xx.cfg │ ├── xmc1xxx.cfg │ ├── xmc4xxx.cfg │ ├── xmos_xs1-xau8a-10_arm.cfg │ ├── zynq_7000.cfg │ └── к1879xб1я.cfg ├── test │ ├── selftest.cfg │ └── syntax1.cfg └── tools │ ├── firmware-recovery.tcl │ └── memtest.tcl ├── testing ├── build.test1 │ ├── Makefile │ ├── Makefile.confuse │ ├── Makefile.ftd2xx │ ├── Makefile.libftdi │ ├── Makefile.libusb │ ├── Makefile.openocd │ ├── README.TXT │ ├── local.uses │ └── mingw32_help │ │ └── include │ │ ├── elf.h │ │ └── sys │ │ ├── cdefs.h │ │ ├── elf32.h │ │ ├── elf64.h │ │ ├── elf_common.h │ │ └── elf_generic.h ├── build.test2 │ ├── Makefile │ ├── README.txt │ └── local.uses ├── 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 └── testcases.html ├── tools ├── checkpatch.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 │ └── checkpatch.pl ├── 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 = http://repo.or.cz/r/git2cl.git 4 | [submodule "jimtcl"] 5 | path = jimtcl 6 | url = http://repo.or.cz/r/jimtcl.git 7 | [submodule "src/jtag/drivers/libjaylink"] 8 | path = src/jtag/drivers/libjaylink 9 | url = http://repo.or.cz/r/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 | -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- 1 | Retired in favor of git log. 2 | -------------------------------------------------------------------------------- /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 | 20 | -------------------------------------------------------------------------------- /contrib/loaders/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: arm clean-arm 2 | 3 | all: arm 4 | 5 | common_dirs = \ 6 | checksum \ 7 | erase_check \ 8 | watchdog 9 | 10 | ARM_CROSS_COMPILE ?= arm-none-eabi- 11 | 12 | arm_dirs = \ 13 | flash/fm4 \ 14 | flash/kinetis_ke \ 15 | flash/xmc1xxx \ 16 | debug/xscale 17 | 18 | arm: 19 | for d in $(common_dirs); do \ 20 | $(MAKE) -C $$d arm; \ 21 | done 22 | for d in $(arm_dirs); do \ 23 | $(MAKE) -C $$d all CROSS_COMPILE=$(ARM_CROSS_COMPILE); \ 24 | done 25 | 26 | clean-arm: 27 | for d in $(arm_dirs); do \ 28 | $(MAKE) -C $$d clean; \ 29 | done 30 | 31 | clean: clean-arm 32 | for d in $(common_dirs); do \ 33 | $(MAKE) -C $$d clean; \ 34 | done 35 | -------------------------------------------------------------------------------- /contrib/loaders/checksum/Makefile: -------------------------------------------------------------------------------- 1 | BIN2C = ../../../src/helper/bin2char.sh 2 | 3 | ARM_CROSS_COMPILE ?= arm-none-eabi- 4 | ARM_AS ?= $(ARM_CROSS_COMPILE)as 5 | ARM_OBJCOPY ?= $(ARM_CROSS_COMPILE)objcopy 6 | 7 | ARM_AFLAGS = -EL 8 | 9 | arm: armv4_5_crc.inc armv7m_crc.inc 10 | 11 | armv4_5_%.elf: armv4_5_%.s 12 | $(ARM_AS) $(ARM_AFLAGS) $< -o $@ 13 | 14 | armv4_5_%.bin: armv4_5_%.elf 15 | $(ARM_OBJCOPY) -Obinary $< $@ 16 | 17 | armv4_5_%.inc: armv4_5_%.bin 18 | $(BIN2C) < $< > $@ 19 | 20 | armv7m_%.elf: armv7m_%.s 21 | $(ARM_AS) $(ARM_AFLAGS) $< -o $@ 22 | 23 | armv7m_%.bin: armv7m_%.elf 24 | $(ARM_OBJCOPY) -Obinary $< $@ 25 | 26 | armv7m_%.inc: armv7m_%.bin 27 | $(BIN2C) < $< > $@ 28 | 29 | clean: 30 | -rm -f *.elf *.bin *.inc 31 | -------------------------------------------------------------------------------- /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/debug/xscale/Makefile: -------------------------------------------------------------------------------- 1 | BIN2C = ../../../../src/helper/bin2char.sh 2 | 3 | CROSS_COMPILE ?= arm-none-eabi- 4 | 5 | CC=$(CROSS_COMPILE)gcc 6 | OBJCOPY=$(CROSS_COMPILE)objcopy 7 | OBJDUMP=$(CROSS_COMPILE)objdump 8 | 9 | CFLAGS = -static -nostartfiles -mlittle-endian -Wa,-EL 10 | LDFLAGS = -Tdebug_handler.ld 11 | 12 | all: debug_handler.inc 13 | 14 | .PHONY: clean 15 | 16 | .INTERMEDIATE: debug_handler.elf 17 | 18 | debug_handler.elf: protocol.h 19 | 20 | %.elf: %.S 21 | $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ 22 | 23 | %.lst: %.elf 24 | $(OBJDUMP) -S $< > $@ 25 | 26 | %.bin: %.elf 27 | $(OBJCOPY) -Obinary $< $@ 28 | 29 | %.inc: %.bin 30 | $(BIN2C) < $< > $@ 31 | 32 | clean: 33 | -rm -f *.elf *.lst *.bin *.inc 34 | -------------------------------------------------------------------------------- /contrib/loaders/erase_check/Makefile: -------------------------------------------------------------------------------- 1 | BIN2C = ../../../src/helper/bin2char.sh 2 | 3 | ARM_CROSS_COMPILE ?= arm-none-eabi- 4 | ARM_AS ?= $(ARM_CROSS_COMPILE)as 5 | ARM_OBJCOPY ?= $(ARM_CROSS_COMPILE)objcopy 6 | 7 | ARM_AFLAGS = -EL 8 | 9 | arm: armv4_5_erase_check.inc armv7m_erase_check.inc armv7m_0_erase_check.inc 10 | 11 | armv4_5_%.elf: armv4_5_%.s 12 | $(ARM_AS) $(ARM_AFLAGS) $< -o $@ 13 | 14 | armv4_5_%.bin: armv4_5_%.elf 15 | $(ARM_OBJCOPY) -Obinary $< $@ 16 | 17 | armv4_5_%.inc: armv4_5_%.bin 18 | $(BIN2C) < $< > $@ 19 | 20 | armv7m_%.elf: armv7m_%.s 21 | $(ARM_AS) $(ARM_AFLAGS) $< -o $@ 22 | 23 | armv7m_%.bin: armv7m_%.elf 24 | $(ARM_OBJCOPY) -Obinary $< $@ 25 | 26 | armv7m_%.inc: armv7m_%.bin 27 | $(BIN2C) < $< > $@ 28 | 29 | clean: 30 | -rm -f *.elf *.bin *.inc 31 | -------------------------------------------------------------------------------- /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_0_erase_check.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x03,0x78,0x01,0x30,0x1a,0x43,0x01,0x39,0xfa,0xd1,0x00,0xbe, 3 | -------------------------------------------------------------------------------- /contrib/loaders/erase_check/armv7m_erase_check.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x03,0x78,0x01,0x30,0x1a,0x40,0x01,0x39,0xfa,0xd1,0x00,0xbe, 3 | -------------------------------------------------------------------------------- /contrib/loaders/flash/at91sam7x/at91sam7x_ocl_flash.script: -------------------------------------------------------------------------------- 1 | soft_reset_halt 2 | load_image at91sam7x_ocl.bin 0x200000 3 | resume 0x200000 4 | flash probe 0 5 | -------------------------------------------------------------------------------- /contrib/loaders/flash/fm4/Makefile: -------------------------------------------------------------------------------- 1 | BIN2C = ../../../../src/helper/bin2char.sh 2 | 3 | CROSS_COMPILE ?= arm-none-eabi- 4 | 5 | CC=$(CROSS_COMPILE)gcc 6 | OBJCOPY=$(CROSS_COMPILE)objcopy 7 | OBJDUMP=$(CROSS_COMPILE)objdump 8 | 9 | CFLAGS = -static -nostartfiles -mlittle-endian -Wa,-EL 10 | 11 | all: erase.inc write.inc 12 | 13 | .PHONY: clean 14 | 15 | .INTERMEDIATE: erase.elf write.elf 16 | 17 | erase.elf write.elf: fm4.h 18 | 19 | %.elf: %.S 20 | $(CC) $(CFLAGS) $< -o $@ 21 | 22 | %.lst: %.elf 23 | $(OBJDUMP) -S $< > $@ 24 | 25 | %.bin: %.elf 26 | $(OBJCOPY) -Obinary $< $@ 27 | 28 | %.inc: %.bin 29 | $(BIN2C) < $< > $@ 30 | 31 | clean: 32 | -rm -f *.elf *.lst *.bin *.inc 33 | -------------------------------------------------------------------------------- /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 | /* 2 | * Spansion FM4 flash macros 3 | * 4 | * Copyright (c) 2015 Andreas Färber 5 | * 6 | * Based on S6E2CC_MN709-00007 for S6E2CC/C5/C4/C3/C2/C1 series 7 | */ 8 | 9 | .text 10 | .syntax unified 11 | .cpu cortex-m4 12 | .thumb 13 | .thumb_func 14 | 15 | 16 | #define FLASH_DPOL (1 << 7) 17 | #define FLASH_TOGG (1 << 6) 18 | #define FLASH_TLOV (1 << 5) 19 | #define FLASH_TOGG2 (1 << 2) 20 | -------------------------------------------------------------------------------- /contrib/loaders/flash/fm4/write.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x4f,0xf0,0x01,0x05,0x34,0xb3,0x1e,0x88,0x4f,0xf0,0xaa,0x07,0x07,0x80,0x4f,0xf0, 3 | 0x55,0x07,0x0f,0x80,0x4f,0xf0,0xa0,0x07,0x07,0x80,0x16,0x80,0x17,0x78,0x06,0xf0, 4 | 0x80,0x08,0x17,0x78,0x07,0xf0,0x80,0x09,0xc1,0x45,0x0c,0xd0,0x07,0xf0,0x20,0x09, 5 | 0xb9,0xf1,0x00,0x0f,0xf5,0xd0,0x17,0x78,0x07,0xf0,0x80,0x09,0xc1,0x45,0x02,0xd0, 6 | 0x4f,0xf0,0x02,0x05,0x00,0xbe,0xa4,0xf1,0x01,0x04,0x02,0xf1,0x02,0x02,0x03,0xf1, 7 | 0x02,0x03,0xd7,0xe7,0x4f,0xf0,0x00,0x05,0x00,0xbe, 8 | -------------------------------------------------------------------------------- /contrib/loaders/flash/kinetis/Makefile: -------------------------------------------------------------------------------- 1 | BIN2C = ../../../../src/helper/bin2char.sh 2 | 3 | CROSS_COMPILE ?= arm-none-eabi- 4 | AS = $(CROSS_COMPILE)as 5 | OBJCOPY = $(CROSS_COMPILE)objcopy 6 | 7 | all: kinetis_flash.inc 8 | 9 | %.elf: %.s 10 | $(AS) $< -o $@ 11 | 12 | %.bin: %.elf 13 | $(OBJCOPY) -Obinary $< $@ 14 | 15 | %.inc: %.bin 16 | $(BIN2C) < $< > $@ 17 | 18 | clean: 19 | -rm -f *.elf *.bin *.inc 20 | -------------------------------------------------------------------------------- /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 | BIN2C = ../../../../src/helper/bin2char.sh 2 | 3 | CROSS_COMPILE ?= arm-none-eabi- 4 | AS = $(CROSS_COMPILE)as 5 | OBJCOPY = $(CROSS_COMPILE)objcopy 6 | 7 | AFLAGS = -EL 8 | 9 | all: kinetis_ke_flash.inc kinetis_ke_watchdog.inc 10 | 11 | %.elf: %.s 12 | $(AS) $(AFLAGS) $< -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_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/xmc1xxx/Makefile: -------------------------------------------------------------------------------- 1 | BIN2C = ../../../../src/helper/bin2char.sh 2 | 3 | CROSS_COMPILE ?= arm-none-eabi- 4 | 5 | CC=$(CROSS_COMPILE)gcc 6 | OBJCOPY=$(CROSS_COMPILE)objcopy 7 | OBJDUMP=$(CROSS_COMPILE)objdump 8 | 9 | CFLAGS = -static -nostartfiles -mlittle-endian -Wa,-EL 10 | 11 | all: erase.inc erase_check.inc write.inc 12 | 13 | .PHONY: clean 14 | 15 | .INTERMEDIATE: erase.elf erase_check.elf write.elf 16 | 17 | erase.elf erase_check.elf write.elf: xmc1xxx.S 18 | 19 | %.elf: %.S 20 | $(CC) $(CFLAGS) $< -o $@ 21 | 22 | %.lst: %.elf 23 | $(OBJDUMP) -S $< > $@ 24 | 25 | %.bin: %.elf 26 | $(OBJCOPY) -Obinary $< $@ 27 | 28 | %.inc: %.bin 29 | $(BIN2C) < $< > $@ 30 | 31 | clean: 32 | -rm -f *.elf *.lst *.bin *.inc 33 | -------------------------------------------------------------------------------- /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/watchdog/Makefile: -------------------------------------------------------------------------------- 1 | BIN2C = ../../../src/helper/bin2char.sh 2 | 3 | ARM_CROSS_COMPILE ?= arm-none-eabi- 4 | ARM_AS ?= $(ARM_CROSS_COMPILE)as 5 | ARM_OBJCOPY ?= $(ARM_CROSS_COMPILE)objcopy 6 | 7 | ARM_AFLAGS = -EL -mthumb 8 | 9 | arm: armv7m_kinetis_wdog.inc 10 | 11 | armv7m_%.elf: armv7m_%.s 12 | $(ARM_AS) $(ARM_AFLAGS) $< -o $@ 13 | 14 | armv7m_%.bin: armv7m_%.elf 15 | $(ARM_OBJCOPY) -Obinary $< $@ 16 | 17 | armv7m_%.inc: armv7m_%.bin 18 | $(BIN2C) < $< > $@ 19 | 20 | clean: 21 | -rm -f *.elf *.bin *.inc 22 | -------------------------------------------------------------------------------- /contrib/loaders/watchdog/armv7m_kinetis_wdog.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x04,0x4b,0x05,0x4a,0xda,0x81,0x05,0x4a,0xda,0x81,0x01,0x24,0x1a,0x88,0xa2,0x43, 3 | 0x1a,0x80,0x06,0xe0,0x00,0x20,0x05,0x40,0x20,0xc5,0x00,0x00,0x28,0xd9,0x00,0x00, 4 | 0x00,0x00,0x00,0xbe, 5 | -------------------------------------------------------------------------------- /contrib/rtos-helpers/FreeRTOS-openocd.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Since at least FreeRTOS V7.5.3 uxTopUsedPriority is no longer 3 | * present in the kernel, so it has to be supplied by other means for 4 | * OpenOCD's threads awareness. 5 | * 6 | * Add this file to your project, and, if you're using --gc-sections, 7 | * ``--undefined=uxTopUsedPriority'' (or 8 | * ``-Wl,--undefined=uxTopUsedPriority'' when using gcc for final 9 | * linking) to your LDFLAGS; same with all the other symbols you need. 10 | */ 11 | 12 | #include "FreeRTOS.h" 13 | 14 | #ifdef __GNUC__ 15 | #define USED __attribute__((used)) 16 | #else 17 | #define USED 18 | #endif 19 | 20 | const int USED uxTopUsedPriority = configMAX_PRIORITIES - 1; 21 | -------------------------------------------------------------------------------- /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/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/doc/manual/images/jtag-state-machine-large.png -------------------------------------------------------------------------------- /src/flash/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libflash.la 2 | %C%_libflash_la_SOURCES = \ 3 | %D%/common.c %D%/common.h \ 4 | %D%/mflash.c %D%/mflash.h 5 | 6 | %C%_libflash_la_LIBADD = \ 7 | %D%/nor/libocdflashnor.la \ 8 | %D%/nand/libocdflashnand.la 9 | 10 | STARTUP_TCL_SRCS += %D%/startup.tcl 11 | 12 | include %D%/nor/Makefile.am 13 | include %D%/nand/Makefile.am 14 | -------------------------------------------------------------------------------- /src/helper/bin2char.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | [ $# != 0 ] && { 4 | echo "Usage: $0" 5 | echo 6 | echo "Read binary data from standard input and write it as a comma separated" 7 | echo "list of hexadecimal byte values to standard ouput. The output is usable" 8 | echo "as a C array initializer. It is terminated with a comma so it can be" 9 | echo "continued e.g. for zero termination." 10 | exit 1 11 | } 12 | 13 | echo "/* Autogenerated with $0 */" 14 | od -v -A n -t x1 | sed 's/ *\(..\) */0x\1,/g' 15 | -------------------------------------------------------------------------------- /src/jtag/aice/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libocdaice.la 2 | 3 | %C%_libocdaice_la_CPPFLAGS = -I$(top_srcdir)/src/jtag/drivers $(AM_CPPFLAGS) $(LIBUSB1_CFLAGS) $(LIBUSB0_CFLAGS) 4 | %C%_libocdaice_la_SOURCES = \ 5 | %D%/aice_transport.c \ 6 | %D%/aice_interface.c \ 7 | %D%/aice_port.c \ 8 | %D%/aice_usb.c \ 9 | %D%/aice_pipe.c \ 10 | %D%/aice_transport.h \ 11 | %D%/aice_interface.h \ 12 | %D%/aice_port.h \ 13 | %D%/aice_usb.h \ 14 | %D%/aice_pipe.h 15 | -------------------------------------------------------------------------------- /src/jtag/drivers/usb_blaster/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libocdusbblaster.la 2 | %C%_libocdusbblaster_la_SOURCES = $(USB_BLASTER_SRC) 3 | %C%_libocdusbblaster_la_CPPFLAGS = -I$(top_srcdir)/src/jtag/drivers $(AM_CPPFLAGS) $(LIBUSB1_CFLAGS) $(LIBFTDI_CFLAGS) 4 | 5 | USB_BLASTER_SRC = %D%/usb_blaster.c %D%/ublast_access.h 6 | 7 | if USB_BLASTER 8 | USB_BLASTER_SRC += %D%/ublast_access_ftdi.c 9 | endif 10 | 11 | if USB_BLASTER_2 12 | USB_BLASTER_SRC += %D%/ublast2_access_libusb.c 13 | endif 14 | -------------------------------------------------------------------------------- /src/jtag/hla/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libocdhla.la 2 | 3 | %C%_libocdhla_la_SOURCES = \ 4 | %D%/hla_transport.c \ 5 | %D%/hla_tcl.c \ 6 | %D%/hla_interface.c \ 7 | %D%/hla_layout.c \ 8 | %D%/hla_transport.h \ 9 | %D%/hla_interface.h \ 10 | %D%/hla_layout.h \ 11 | %D%/hla_tcl.h 12 | -------------------------------------------------------------------------------- /src/pld/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libpld.la 2 | %C%_libpld_la_SOURCES = \ 3 | %D%/pld.c \ 4 | %D%/xilinx_bit.c \ 5 | %D%/virtex2.c \ 6 | %D%/pld.h \ 7 | %D%/xilinx_bit.h \ 8 | %D%/virtex2.h 9 | -------------------------------------------------------------------------------- /src/server/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libserver.la 2 | %C%_libserver_la_SOURCES = \ 3 | %D%/server.c \ 4 | %D%/telnet_server.c \ 5 | %D%/gdb_server.c \ 6 | %D%/server.h \ 7 | %D%/telnet_server.h \ 8 | %D%/gdb_server.h \ 9 | %D%/server_stubs.c \ 10 | %D%/tcl_server.c \ 11 | %D%/tcl_server.h 12 | 13 | %C%_libserver_la_CFLAGS = $(AM_CFLAGS) 14 | if IS_MINGW 15 | # FD_* macros are sloppy with their signs on MinGW32 platform 16 | %C%_libserver_la_CFLAGS += -Wno-sign-compare 17 | endif 18 | 19 | STARTUP_TCL_SRCS += %D%/startup.tcl 20 | -------------------------------------------------------------------------------- /src/server/startup.tcl: -------------------------------------------------------------------------------- 1 | # Defines basic Tcl procs for OpenOCD server modules 2 | 3 | # Handle GDB 'R' packet. Can be overridden by configuration script, 4 | # but it's not something one would expect target scripts to do 5 | # normally 6 | proc ocd_gdb_restart {target_id} { 7 | # Fix!!! we're resetting all targets here! Really we should reset only 8 | # one target 9 | reset halt 10 | } 11 | -------------------------------------------------------------------------------- /src/svf/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libsvf.la 2 | %C%_libsvf_la_SOURCES = %D%/svf.c %D%/svf.h 3 | -------------------------------------------------------------------------------- /src/target/openrisc/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libopenrisc.la 2 | %C%_libopenrisc_la_SOURCES = \ 3 | %D%/or1k.c \ 4 | %D%/or1k_du_adv.c \ 5 | %D%/or1k_tap_mohor.c \ 6 | %D%/or1k_tap_vjtag.c \ 7 | %D%/or1k_tap_xilinx_bscan.c \ 8 | %D%/jsp_server.c \ 9 | %D%/or1k.h \ 10 | %D%/or1k_du.h \ 11 | %D%/or1k_tap.h \ 12 | %D%/jsp_server.h 13 | -------------------------------------------------------------------------------- /src/target/openrisc/jsp_server.h: -------------------------------------------------------------------------------- 1 | #ifndef OPENOCD_TARGET_OPENRISC_JSP_SERVER_H 2 | #define OPENOCD_TARGET_OPENRISC_JSP_SERVER_H 3 | 4 | #include "or1k_tap.h" 5 | #include "or1k.h" 6 | #include "or1k_du.h" 7 | 8 | struct jsp_service { 9 | char *banner; 10 | struct or1k_jtag *jtag_info; 11 | struct connection *connection; 12 | }; 13 | 14 | int jsp_init(struct or1k_jtag *jtag_info, char *banner); 15 | int jsp_register_commands(struct command_context *cmd_ctx); 16 | 17 | #endif /* OPENOCD_TARGET_OPENRISC_JSP_SERVER_H */ 18 | -------------------------------------------------------------------------------- /src/transport/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libtransport.la 2 | %C%_libtransport_la_SOURCES = \ 3 | %D%/transport.c \ 4 | %D%/transport.h 5 | -------------------------------------------------------------------------------- /src/xsvf/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libxsvf.la 2 | %C%_libxsvf_la_SOURCES = %D%/xsvf.c %D%/xsvf.h 3 | -------------------------------------------------------------------------------- /tcl/board/adapteva_parallella1.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Adapteva Parallella-I board (via Porcupine-1 adapter board) 3 | # 4 | 5 | reset_config srst_only 6 | 7 | source [find target/zynq_7000.cfg] 8 | -------------------------------------------------------------------------------- /tcl/board/altera_sockit.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Cyclone V SocKit board 3 | # http://www.altera.com/b/arrow-sockit.html 4 | # 5 | # Software support page: 6 | # http://www.rocketboards.org/ 7 | 8 | # openocd does not currently support the on-board USB Blaster II. 9 | # Install the JTAG header and use a USB Blaster instead. 10 | interface usb_blaster 11 | 12 | source [find target/altera_fpgasoc.cfg] 13 | 14 | # If the USB Blaster II were supported, these settings would be needed 15 | #usb_blaster_vid_pid 0x6810 0x09fb 16 | #usb_blaster_device_desc "USB-Blaster II" 17 | 18 | adapter_khz 100 19 | 20 | -------------------------------------------------------------------------------- /tcl/board/am3517evm.cfg: -------------------------------------------------------------------------------- 1 | # DANGER!!!! early work in progress for this PCB/target. 2 | # 3 | # The most basic operations work well enough that it is 4 | # useful to have this in the repository for cooperation 5 | # alpha testing purposes. 6 | # 7 | # TI AM3517 8 | # 9 | # http://focus.ti.com/docs/prod/folders/print/am3517.html 10 | # http://processors.wiki.ti.com/index.php/Debug_Access_Port_(DAP) 11 | # http://processors.wiki.ti.com/index.php?title=How_to_Find_the_Silicon_Revision_of_your_OMAP35x 12 | 13 | set CHIPTYPE "am35x" 14 | source [find target/amdm37x.cfg] 15 | 16 | # The TI-14 JTAG connector does not have srst. CPU reset is handled in 17 | # hardware. 18 | reset_config trst_only 19 | 20 | # "amdm37x_dbginit am35x.cpu" needs to be run after init. 21 | 22 | -------------------------------------------------------------------------------- /tcl/board/arm_evaluator7t.cfg: -------------------------------------------------------------------------------- 1 | # This board is from ARM and has an samsung s3c45101x01 chip 2 | 3 | source [find target/samsung_s3c4510.cfg] 4 | 5 | # 6 | # FIXME: 7 | # Add (A) sdram configuration 8 | # Add (B) flash cfi programing configuration 9 | # 10 | 11 | -------------------------------------------------------------------------------- /tcl/board/asus-rt-n16.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # http://wikidevi.com/wiki/ASUS_RT-N16 3 | # 4 | 5 | set partition_list { 6 | CFE { Bootloader 0xbc000000 0x00040000 } 7 | firmware { "Kernel+rootfs" 0xbc040000 0x01fa0000 } 8 | nvram { "Config space" 0xbdfe0000 0x00020000 } 9 | } 10 | 11 | source [find target/bcm4718.cfg] 12 | 13 | # External 32MB NOR Flash (Macronix MX29GL256EHTI2I-90Q) 14 | set _FLASHNAME $_CHIPNAME.flash 15 | flash bank $_FLASHNAME cfi 0xbc000000 0x02000000 1 1 $_TARGETNAME x16_as_x8 16 | -------------------------------------------------------------------------------- /tcl/board/asus-rt-n66u.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # http://wikidevi.com/wiki/Asus_RT-N66U 3 | # 4 | 5 | echo "ATTENTION: you need to solder a 4.7-10k pullup resistor to pin 21 of flash IC" 6 | echo "to enable JTAG, see http://wl500g.info/album.php?albumid=28&attachmentid=8991 ," 7 | echo "there is an unpopulated footprint near U8.\n" 8 | 9 | set partition_list { 10 | CFE { Bootloader 0xbc000000 0x00040000 } 11 | firmware { "Kernel+rootfs" 0xbc040000 0x01fa0000 } 12 | nvram { "Config space" 0xbdfe0000 0x00020000 } 13 | } 14 | 15 | source [find target/bcm4706.cfg] 16 | 17 | # External 32MB NOR Flash (Spansion S29GL256P10TF101 18 | set _FLASHNAME $_CHIPNAME.flash 19 | flash bank $_FLASHNAME cfi 0xbc000000 0x02000000 2 2 $_TARGETNAME 20 | -------------------------------------------------------------------------------- /tcl/board/atmel_at91sam7s-ek.cfg: -------------------------------------------------------------------------------- 1 | # Atmel AT91SAM7S-EK 2 | # http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3784 3 | 4 | set CHIPNAME at91sam7s256 5 | 6 | source [find target/at91sam7sx.cfg] 7 | 8 | 9 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam3n_ek.cfg: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # Board configuration for Atmel's SAM3N-EK 4 | # 5 | 6 | reset_config srst_only 7 | 8 | set CHIPNAME at91sam3n4c 9 | 10 | adapter_khz 32 11 | 12 | source [find target/at91sam3nXX.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam3s_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam3sXX.cfg] 2 | 3 | $_TARGETNAME configure -event gdb-attach { reset init } 4 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam3u_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam3u4e.cfg] 2 | 3 | reset_config srst_only 4 | 5 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam3x_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam3ax_8x.cfg] 2 | 3 | reset_config srst_only 4 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam4e_ek.cfg: -------------------------------------------------------------------------------- 1 | # This is an SAM4E-EK board with a single SAM4E16 chip. 2 | # http://www.atmel.com/tools/sam4e-ek.aspx 3 | 4 | # chip name 5 | set CHIPNAME SAM4E16E 6 | 7 | source [find target/at91sam4sXX.cfg] 8 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam4l8_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAM4L8 Xplained Pro evaluation kit. 3 | # http://www.atmel.com/tools/ATSAM4L8-XPRO.aspx 4 | # 5 | 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | # chip name 9 | set CHIPNAME ATSAM4LC8CA 10 | 11 | source [find target/at91sam4lXX.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam4s_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam4sXX.cfg] 2 | 3 | $_TARGETNAME configure -event gdb-attach { reset init } 4 | -------------------------------------------------------------------------------- /tcl/board/atmel_sam4s_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAM4S Xplained Pro evaluation kit. 3 | # http://www.atmel.com/tools/ATSAM4S-XPRO.aspx 4 | # 5 | 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | # chip name 9 | set CHIPNAME ATSAM4SD32C 10 | 11 | source [find target/at91sam4sd32x.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/atmel_samc20_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMC20 Xplained Pro evaluation kit. 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # chip name 8 | set CHIPNAME at91samc20j18 9 | 10 | source [find target/at91samdXX.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/atmel_samc21_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMC21 Xplained Pro evaluation kit. 3 | # http://www.atmel.com/tools/ATSAMC21-XPRO.aspx 4 | # 5 | 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | # chip name 9 | set CHIPNAME at91samc21j18 10 | 11 | source [find target/at91samdXX.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/atmel_samd20_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMD20 Xplained Pro evaluation kit. 3 | # http://www.atmel.com/tools/ATSAMD20-XPRO.aspx 4 | # 5 | 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | # chip name 9 | set CHIPNAME at91samd20j18 10 | 11 | source [find target/at91samdXX.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/atmel_samd21_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMD21 Xplained Pro evaluation kit. 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # chip name 8 | set CHIPNAME at91samd21j18 9 | 10 | source [find target/at91samdXX.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/atmel_same70_xplained.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAME70 Xplained evaluation kit. 3 | # http://www.atmel.com/tools/ATSAME70-XPLD.aspx 4 | # 5 | # Connect using the EDBG chip on the dev kit over USB 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | set CHIPNAME atsame70q21 9 | 10 | source [find target/atsamv.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /tcl/board/atmel_samg53_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMG53 Xplained Pro evaluation kit. 3 | # http://www.atmel.com/tools/ATSAMG53-XPRO.aspx 4 | # 5 | 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | # chip name 9 | set CHIPNAME ATSAMG53N19 10 | 11 | source [find target/at91samg5x.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/atmel_saml21_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAML21 Xplained Pro evaluation kit. 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # chip name 8 | set CHIPNAME at91saml21j18 9 | 10 | source [find target/at91samdXX.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/atmel_samr21_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMR21 Xplained Pro evaluation kit. 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # chip name 8 | set CHIPNAME at91samr21g18 9 | 10 | source [find target/at91samdXX.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/atmel_samv71_xplained_ultra.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMV71 Xplained Ultra evaluation kit. 3 | # http://www.atmel.com/tools/ATSAMV71-XULT.aspx 4 | # 5 | # To connect using the EDBG chip on the dev kit over USB, you will 6 | # first need to source [find interface/cmsis-dap.cfg] 7 | # however, since this board also has a SWD+ETM connector, we don't 8 | # automatically source that file here. 9 | 10 | set CHIPNAME samv71 11 | 12 | source [find target/atsamv.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/balloon3-cpu.cfg: -------------------------------------------------------------------------------- 1 | # Config for balloon3 board, cpu JTAG port. http://balloonboard.org/ 2 | # The board has separate JTAG ports for cpu and CPLD/FPGA devices 3 | # Chaining is done on IO interfaces if desired. 4 | 5 | source [find target/pxa270.cfg] 6 | 7 | # The board supports separate reset lines 8 | # Override this in the interface config for parallel dongles 9 | reset_config trst_and_srst separate 10 | 11 | # flash bank 12 | # 29LV650 64Mbit Flash 13 | set _FLASHNAME $_CHIPNAME.flash 14 | flash bank $_FLASHNAME cfi 0x00000000 0x800000 2 2 $_TARGETNAME 15 | -------------------------------------------------------------------------------- /tcl/board/bcm28155_ap.cfg: -------------------------------------------------------------------------------- 1 | # BCM28155_AP 2 | 3 | adapter_khz 20000 4 | 5 | set CHIPNAME bcm28155 6 | source [find target/bcm281xx.cfg] 7 | 8 | reset_config trst_and_srst 9 | 10 | -------------------------------------------------------------------------------- /tcl/board/bt-homehubv1.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # BT HomeHub v1 3 | # 4 | 5 | set partition_list { 6 | CFE { Bootloader 0xbe400000 0x00020000 } 7 | firmware { "Kernel+rootfs" 0xbe420000 0x007d0000 } 8 | fisdir { "FIS Directory" 0xbebf0000 0x0000f000 } 9 | nvram { "Config space" 0xbebff000 0x00001000 } 10 | } 11 | 12 | source [find target/bcm6348.cfg] 13 | 14 | set _FLASHNAME $_CHIPNAME.norflash 15 | flash bank $_FLASHNAME cfi 0xbe400000 0x00800000 2 2 $_TARGETNAME 16 | -------------------------------------------------------------------------------- /tcl/board/colibri.cfg: -------------------------------------------------------------------------------- 1 | # Toradex Colibri PXA270 2 | source [find target/pxa270.cfg] 3 | reset_config trst_and_srst srst_push_pull 4 | adapter_nsrst_assert_width 40 5 | 6 | # CS0 -- one bank of CFI flash, 32 MBytes 7 | # the bank is 32-bits wide, two 16-bit chips in parallel 8 | set _FLASHNAME $_CHIPNAME.flash 9 | flash bank $_FLASHNAME cfi 0x00000000 0x02000000 2 4 $_TARGETNAME 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tcl/board/crossbow_tech_imote2.cfg: -------------------------------------------------------------------------------- 1 | # Crossbow Technology iMote2 2 | 3 | set CHIPNAME imote2 4 | source [find target/pxa270.cfg] 5 | 6 | # longer-than-normal reset delay 7 | adapter_nsrst_delay 800 8 | 9 | reset_config trst_and_srst separate 10 | 11 | # works for P30 flash 12 | set _FLASHNAME $_CHIPNAME.flash 13 | flash bank $_FLASHNAME cfi 0x00000000 0x2000000 2 2 $_TARGETNAME 14 | -------------------------------------------------------------------------------- /tcl/board/da850evm.cfg: -------------------------------------------------------------------------------- 1 | #DA850 EVM board 2 | # http://focus.ti.com/dsp/docs/thirdparty/catalog/devtoolsproductfolder.tsp?actionPerformed=productFolder&productId=5939 3 | # http://www.logicpd.com/products/development-kits/zoom-omap-l138-evm-development-kit 4 | 5 | source [find target/omapl138.cfg] 6 | 7 | reset_config trst_and_srst separate 8 | 9 | #currently any pinmux/timing must be setup by UBL before openocd can do debug 10 | #TODO: implement pinmux/timing on reset like in board/dm365evm.cfg 11 | -------------------------------------------------------------------------------- /tcl/board/digilent_analog_discovery.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Digilent Analog Discovery 3 | # 4 | # http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,842,1018&Prod=ANALOG-DISCOVERY 5 | # 6 | # Config is based on data from 7 | # https://github.com/bvanheu/urjtag-ad/commit/8bd883ee01d134f94b79cbbd00df42cd03bafd71 8 | # 9 | 10 | interface ftdi 11 | ftdi_device_desc "Digilent USB Device" 12 | ftdi_vid_pid 0x0403 0x6014 13 | 14 | ftdi_layout_init 0x8008 0x800b 15 | 16 | adapter_khz 25000 17 | 18 | source [find cpld/xilinx-xc6s.cfg] 19 | -------------------------------------------------------------------------------- /tcl/board/digilent_atlys.cfg: -------------------------------------------------------------------------------- 1 | # http://digilentinc.com/atlys/ 2 | # 3 | # The Digilent Atlys normally requires proprietary tools to program and will 4 | # enumerate as: 5 | # ID 1443:0007 Digilent Development board JTAG 6 | # 7 | # However, the ixo-usb-jtag project provides an alternative open firmware for 8 | # the on board programmer. When using thie firmware the board will then 9 | # enumerate as: 10 | # ID 16c0:06ad Van Ooijen Technische Informatica 11 | # (With SerialNumber == hw_nexys) 12 | # 13 | # See the interface/usb-jtag.cfg for more information. 14 | 15 | source [find interface/usb-jtag.cfg] 16 | source [find cpld/xilinx-xc6s.cfg] 17 | source [find cpld/jtagspi.cfg] 18 | -------------------------------------------------------------------------------- /tcl/board/digilent_zedboard.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Digilent Zedboard Rev.C, Rev.D with Xilinx Zynq chip 3 | # 4 | # http://zedboard.com/product/zedboard 5 | # 6 | 7 | source [find interface/ftdi/digilent_jtag_smt2.cfg] 8 | 9 | reset_config srst_only srst_push_pull 10 | 11 | source [find target/zynq_7000.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/diolan_lpc4350-db1.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Diolan LPC-4350-DB1 development board 3 | # 4 | 5 | set CHIPNAME lpc4350 6 | 7 | source [find target/lpc4350.cfg] 8 | 9 | flash bank $_CHIPNAME.nor cfi 0x1C000000 0x00200000 2 2 $_CHIPNAME.m4 10 | -------------------------------------------------------------------------------- /tcl/board/diolan_lpc4357-db1.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Diolan LPC-4357-DB1 development board 3 | # 4 | 5 | set CHIPNAME lpc4357 6 | 7 | source [find target/lpc4357.cfg] 8 | 9 | flash bank $_CHIPNAME.nor cfi 0x1C000000 0x00200000 2 2 $_CHIPNAME.m4 10 | -------------------------------------------------------------------------------- /tcl/board/dk-tm4c129.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI Tiva C DK-TM4C129X Connected Development Kit 3 | # 4 | # http://www.ti.com/tool/dk-tm4c129x 5 | # 6 | 7 | source [find interface/ti-icdi.cfg] 8 | 9 | transport select hla_jtag 10 | 11 | set WORKAREASIZE 0x8000 12 | set CHIPNAME tm4c129xnczad 13 | 14 | source [find target/stellaris.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/dp_busblaster_v3.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Dangerous Prototypes - Bus Blaster 3 | # 4 | # http://dangerousprototypes.com/docs/Bus_Blaster 5 | # 6 | # To reprogram the on-board CPLD do: 7 | # openocd -f board/dp_busblaster_v3.cfg -c "adapter_khz 1000; init; svf ; shutdown" 8 | # 9 | 10 | source [find interface/ftdi/dp_busblaster.cfg] 11 | ftdi_channel 1 12 | 13 | jtag newtap xc2c32a tap -expected-id 0x06e1c093 -irlen 8 14 | -------------------------------------------------------------------------------- /tcl/board/efikamx.cfg: -------------------------------------------------------------------------------- 1 | # Genesi USA EfikaMX 2 | # http://www.genesi-usa.com/products/efika 3 | 4 | # Fall back to 6MHz if RTCK is not supported 5 | jtag_rclk 6000 6 | $_TARGETNAME configure -event "reset-start" { jtag_rclk 6000 } 7 | 8 | source [find target/imx51.cfg] 9 | 10 | reset_config trst_only 11 | -------------------------------------------------------------------------------- /tcl/board/efm32.cfg: -------------------------------------------------------------------------------- 1 | # Configuration for EFM32 boards with on-board SEGGER J-Link 2 | # 3 | # Tested with Tiny, Giant and Zero Gecko Starter Kit. 4 | # 5 | 6 | source [find interface/jlink.cfg] 7 | transport select swd 8 | adapter_khz 1000 9 | 10 | set CHIPNAME efm32 11 | source [find target/efm32.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s1968.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI/Luminary Stellaris LM3S1968 Evaluation Kits 3 | # 4 | # http://www.ti.com/tool/ek-lm3s1968 5 | # 6 | 7 | # NOTE: to use J-Link instead of the on-board interface, 8 | # you may also need to reduce adapter_khz to be about 1200. 9 | # source [find interface/jlink.cfg] 10 | 11 | # include the FT2232 interface config for on-board JTAG interface 12 | # NOTE: using the on-board FT2232 JTAG/SWD/SWO interface is optional! 13 | # so is using in JTAG mode, as done here. 14 | source [find interface/ftdi/luminary.cfg] 15 | 16 | # include the target config 17 | set WORKAREASIZE 0x2000 18 | set CHIPNAME lm3s1968 19 | source [find target/stellaris.cfg] 20 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s3748.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI/Luminary Stellaris lm3s3748 Evaluation Kits 3 | # 4 | # http://www.ti.com/tool/ek-lm3s3748 5 | # 6 | 7 | # NOTE: using the on-board FT2232 JTAG/SWD/SWO interface is optional! 8 | # so is using it in JTAG mode, as done here. 9 | source [find interface/ftdi/luminary.cfg] 10 | 11 | # 20k working area 12 | set WORKAREASIZE 0x4000 13 | set CHIPNAME lm3s3748 14 | source [find target/stellaris.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s6965.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI/Luminary Stellaris LM3S6965 Evaluation Kits 3 | # 4 | # http://www.ti.com/tool/ek-lm3s6965 5 | # 6 | 7 | # NOTE: using the on-board FT2232 JTAG/SWD/SWO interface is optional! 8 | # so is using it in JTAG mode, as done here. 9 | source [find interface/ftdi/luminary.cfg] 10 | 11 | # 20k working area 12 | set WORKAREASIZE 0x5000 13 | set CHIPNAME lm3s6965 14 | # include the target config 15 | source [find target/stellaris.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s811-revb.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI/Luminary Stellaris LM3S811 Evaluation Kits (rev B and earlier) 3 | # 4 | # http://www.ti.com/tool/ek-lm3s811 5 | # 6 | 7 | # NOTE: newer 811-EK boards (rev C and above) shouldn't use this. 8 | # use board/ek-lm3s811.cfg 9 | source [find interface/ftdi/luminary-lm3s811.cfg] 10 | 11 | # include the target config 12 | set WORKAREASIZE 0x2000 13 | set CHIPNAME lm3s811 14 | source [find target/stellaris.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s811.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI/Luminary Stellaris LM3S811 Evaluation Kits 3 | # 4 | # http://www.ti.com/tool/ek-lm3s811 5 | # 6 | 7 | # NOTE: using the on-board FT2232 JTAG/SWD/SWO interface is optional! 8 | # so is using it in JTAG mode, as done here. 9 | # NOTE: older '811-EK boards (before rev C) shouldn't use this. 10 | source [find interface/ftdi/luminary.cfg] 11 | 12 | # include the target config 13 | set WORKAREASIZE 0x2000 14 | set CHIPNAME lm3s811 15 | source [find target/stellaris.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s8962.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI/Luminary Stellaris LM3S8962 Evaluation Kits 3 | # 4 | # http://www.ti.com/tool/ek-lm3s8962 5 | # 6 | 7 | # NOTE: using the on-board FT2232 JTAG/SWD/SWO interface is optional! 8 | # so is using it in JTAG mode, as done here. 9 | source [find interface/ftdi/luminary.cfg] 10 | 11 | # 64k working area 12 | set WORKAREASIZE 0x10000 13 | set CHIPNAME lm3s8962 14 | # include the target config 15 | source [find target/stellaris.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s9b9x.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI/Luminary Stellaris LM3S9B9x Evaluation Kits 3 | # 4 | # http://www.ti.com/tool/ek-lm3s9b90 5 | # http://www.ti.com/tool/ek-lm3s9b92 6 | # 7 | 8 | # NOTE: using the bundled FT2232 JTAG/SWD/SWO interface is optional! 9 | # so is using in JTAG mode, as done here. 10 | source [find interface/ftdi/luminary-icdi.cfg] 11 | 12 | set WORKAREASIZE 0x4000 13 | set CHIPNAME lm3s9b9x 14 | source [find target/stellaris.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/ek-lm3s9d92.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI/Luminary Stellaris LM3S9D92 Evaluation Kits 3 | # 4 | # http://www.ti.com/tool/ek-lm3s9d92 5 | # 6 | 7 | # NOTE: using the bundled FT2232 JTAG/SWD/SWO interface is optional! 8 | # so is using in JTAG mode, as done here. 9 | source [find interface/ftdi/luminary-icdi.cfg] 10 | 11 | # 64k working area 12 | set WORKAREASIZE 0x10000 13 | set CHIPNAME lm3s9d92 14 | source [find target/stellaris.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/ek-lm4f120xl.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI Stellaris Launchpad ek-lm4f120xl Evaluation Kits 3 | # 4 | # http://www.ti.com/tool/ek-lm4f120xl 5 | # 6 | 7 | # 8 | # NOTE: using the bundled ICDI interface is optional! 9 | # This interface is not ftdi based as previous boards were 10 | # 11 | source [find interface/ti-icdi.cfg] 12 | 13 | transport select hla_jtag 14 | 15 | set WORKAREASIZE 0x8000 16 | set CHIPNAME lm4f120h5qr 17 | source [find target/stellaris.cfg] 18 | -------------------------------------------------------------------------------- /tcl/board/ek-lm4f232.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI Stellaris LM4F232 Evaluation Kits 3 | # 4 | # http://www.ti.com/tool/ek-lm4f232 5 | # 6 | 7 | # 8 | # NOTE: using the bundled ICDI interface is optional! 9 | # This interface is not ftdi based as previous boards were 10 | # 11 | source [find interface/ti-icdi.cfg] 12 | 13 | transport select hla_jtag 14 | 15 | set WORKAREASIZE 0x8000 16 | set CHIPNAME lm4f23x 17 | source [find target/stellaris.cfg] 18 | -------------------------------------------------------------------------------- /tcl/board/ek-tm4c123gxl.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI Tiva C Series ek-tm4c123gxl Launchpad Evaluation Kit 3 | # 4 | # http://www.ti.com/tool/ek-tm4c123gxl 5 | # 6 | 7 | source [find interface/ti-icdi.cfg] 8 | 9 | transport select hla_jtag 10 | 11 | set WORKAREASIZE 0x8000 12 | set CHIPNAME tm4c123gh6pm 13 | source [find target/stellaris.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/ek-tm4c1294xl.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI Tiva C Series ek-tm4c1294xl Launchpad Evaluation Kit 3 | # 4 | # http://www.ti.com/tool/ek-tm4c1294xl 5 | # 6 | 7 | source [find interface/ti-icdi.cfg] 8 | 9 | transport select hla_jtag 10 | 11 | set WORKAREASIZE 0x8000 12 | set CHIPNAME tm4c1294ncpdt 13 | 14 | source [find target/stellaris.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/emcraft_twr-vf6-som-bsb.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # EmCraft Systems TWR-VF6-SOM-BSB 3 | # 4 | # http://www.emcraft.com/products/259#twr-kit 5 | # 6 | 7 | source [find board/emcraft_vf6-som.cfg] 8 | 9 | reset_config srst_only srst_nogate 10 | -------------------------------------------------------------------------------- /tcl/board/emcraft_vf6-som.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # EmCraft Systems Vybrid VF6 SOM 3 | # 4 | # http://www.emcraft.com/products/259#som 5 | # 6 | 7 | set CHIPNAME vf610 8 | source [find target/vybrid_vf6xx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/board/frdm-kl25z.cfg: -------------------------------------------------------------------------------- 1 | # This is an Freescale Freedom eval board with a single MKL25Z128VLK4 chip. 2 | # http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL25Z 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # increase working area to 16KB 8 | set WORKAREASIZE 0x4000 9 | 10 | # chip name 11 | set CHIPNAME MKL25Z128VLK4 12 | 13 | reset_config srst_only 14 | 15 | source [find target/kl25.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/frdm-kl46z.cfg: -------------------------------------------------------------------------------- 1 | # This is an Freescale Freedom eval board with a single MKL46Z256VLL4 chip. 2 | # http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL46Z 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # increase working area to 16KB 8 | set WORKAREASIZE 0x4000 9 | 10 | # chip name 11 | set CHIPNAME MKL46Z256VLL4 12 | 13 | reset_config srst_only 14 | 15 | source [find target/kl46.cfg] 16 | -------------------------------------------------------------------------------- /tcl/board/gumstix-aerocore.cfg: -------------------------------------------------------------------------------- 1 | # JTAG for the STM32F4x chip used on the Gumstix AeroCore is available on 2 | # the first interface of a Quad FTDI chip. nTRST is bit 4. 3 | interface ftdi 4 | ftdi_vid_pid 0x0403 0x6011 5 | 6 | ftdi_layout_init 0x0000 0x001b 7 | ftdi_layout_signal nTRST -data 0x0010 8 | 9 | source [find target/stm32f4x.cfg] 10 | reset_config trst_only 11 | -------------------------------------------------------------------------------- /tcl/board/hitex_lpc1768stick.cfg: -------------------------------------------------------------------------------- 1 | # Hitex LPC1768 Stick 2 | # 3 | # http://www.hitex.com/?id=1602 4 | # 5 | 6 | reset_config trst_and_srst 7 | 8 | source [find interface/ftdi/hitex_lpc1768stick.cfg] 9 | 10 | source [find target/lpc17xx.cfg] 11 | 12 | 13 | # startup @ 500kHz 14 | adapter_khz 500 15 | 16 | -------------------------------------------------------------------------------- /tcl/board/hitex_stm32-performancestick.cfg: -------------------------------------------------------------------------------- 1 | # Hitex stm32 performance stick 2 | 3 | reset_config trst_and_srst 4 | 5 | source [find interface/ftdi/stm32-stick.cfg] 6 | 7 | set CHIPNAME stm32_hitex 8 | source [find target/stm32f1x.cfg] 9 | 10 | # configure str750 connected to jtag chain 11 | # FIXME -- source [find target/str750.cfg] after cleaning that up 12 | jtag newtap str750 cpu -irlen 4 -ircapture 0x1 -irmask 0x0f -expected-id 0x4f1f0041 13 | 14 | # for some reason this board like to startup @ 500kHz 15 | adapter_khz 500 16 | 17 | -------------------------------------------------------------------------------- /tcl/board/iar_lpc1768.cfg: -------------------------------------------------------------------------------- 1 | # Board from IAR KickStart Kit for LPC1768 2 | # See www.iar.com and also 3 | # http://www.olimex.com/dev/lpc-1766stk.html 4 | # 5 | 6 | source [find target/lpc17xx.cfg] 7 | 8 | # The chip has just been reset. 9 | # 10 | $_TARGETNAME configure -event reset-init { 11 | # FIXME update the core clock to run at 100 MHz; 12 | # and update JTAG clocking similarly; then 13 | # make CCLK match, 14 | 15 | flash probe 0 16 | } 17 | 18 | -------------------------------------------------------------------------------- /tcl/board/iar_str912_sk.cfg: -------------------------------------------------------------------------------- 1 | # The IAR str912-sk evaluation kick start board has an str912 2 | 3 | source [find target/str912.cfg] -------------------------------------------------------------------------------- /tcl/board/insignal_arndale.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # InSignal Arndale board 3 | # 4 | 5 | source [find target/exynos5250.cfg] 6 | 7 | # Experimentally determined highest working speed 8 | adapter_khz 200 9 | -------------------------------------------------------------------------------- /tcl/board/kc705.cfg: -------------------------------------------------------------------------------- 1 | # http://www.xilinx.com/products/boards-and-kits/ek-k7-kc705-g.html 2 | 3 | source [find interface/ftdi/digilent-hs1.cfg] 4 | source [find cpld/xilinx-xc7.cfg] 5 | source [find cpld/jtagspi.cfg] 6 | adapter_khz 25000 7 | 8 | # example command to write bitstream, soft-cpu bios and runtime: 9 | # openocd -f board/kc705.cfg -c "init;\ 10 | # jtagspi_init 0 bscan_spi_xc7k325t.bit;\ 11 | # jtagspi_program bitstream-kc705.bin 0;\ 12 | # jtagspi_program bios.bin 0xaf0000;\ 13 | # jtagspi_program runtime.fbi 0xb00000;\ 14 | # xc7_program xc7.tap;\ 15 | # exit" 16 | -------------------------------------------------------------------------------- /tcl/board/keil_mcb1700.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Keil MCB1700 eval board 3 | # 4 | # http://www.keil.com/mcb1700/picture.asp 5 | # 6 | 7 | source [find target/lpc17xx.cfg] 8 | 9 | -------------------------------------------------------------------------------- /tcl/board/keil_mcb2140.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Keil MCB2140 eval board 3 | # 4 | # http://www.keil.com/mcb2140/picture.asp 5 | # 6 | 7 | source [find target/lpc2148.cfg] 8 | 9 | -------------------------------------------------------------------------------- /tcl/board/kwikstik.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale KwikStik development board 3 | # 4 | 5 | # 6 | # JLINK interface is onboard 7 | # 8 | source [find interface/jlink.cfg] 9 | 10 | source [find target/k40.cfg] 11 | 12 | reset_config trst_and_srst 13 | -------------------------------------------------------------------------------- /tcl/board/la_fonera-fon2200.cfg: -------------------------------------------------------------------------------- 1 | source [find target/atheros_ar2315.cfg] 2 | 3 | reset_config trst_and_srst 4 | -------------------------------------------------------------------------------- /tcl/board/lc823450_xgevk.cfg: -------------------------------------------------------------------------------- 1 | # lc823450-xgevk board 2 | 3 | source [find interface/ftdi/sony-ft232h-with-resistor.cfg] 4 | source [find target/lc823450.cfg] 5 | -------------------------------------------------------------------------------- /tcl/board/linksys-wrt54gl.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Linksys WRT54GL v1.1 3 | # 4 | 5 | source [find target/bcm5352e.cfg] 6 | 7 | set partition_list { 8 | CFE { Bootloader 0x1c000000 0x00040000 } 9 | firmware { "Kernel+rootfs" 0x1c040000 0x003b0000 } 10 | nvram { "Config space" 0x1c3f0000 0x00010000 } 11 | } 12 | 13 | # External 4MB NOR Flash (Intel TE28F320C3BD90 or similar) 14 | set _FLASHNAME $_CHIPNAME.flash 15 | flash bank $_FLASHNAME cfi 0x1c000000 0x00400000 2 2 $_TARGETNAME 16 | -------------------------------------------------------------------------------- /tcl/board/linksys_nslu2.cfg: -------------------------------------------------------------------------------- 1 | # This is for the LinkSys (CISCO) NSLU2 board 2 | # It is an Intel XSCALE IXP420 CPU. 3 | 4 | source [find target/ixp42x.cfg] 5 | # The _TARGETNAME is set by the above. 6 | 7 | $_TARGETNAME configure -work-area-phys 0x00020000 -work-area-size 0x10000 -work-area-backup 0 8 | 9 | -------------------------------------------------------------------------------- /tcl/board/lisa-l.cfg: -------------------------------------------------------------------------------- 1 | # the Lost Illusions Serendipitous Autopilot 2 | # http://paparazzi.enac.fr/wiki/Lisa 3 | 4 | # Work-area size (RAM size) = 20kB for STM32F103RB device 5 | set WORKAREASIZE 0x5000 6 | 7 | source [find target/stm32f1x.cfg] 8 | -------------------------------------------------------------------------------- /tcl/board/logicpd_imx27.cfg: -------------------------------------------------------------------------------- 1 | # The LogicPD Eval IMX27 eval board has a single IMX27 chip 2 | source [find target/imx27.cfg] 3 | 4 | # The Logic PD board has a NOR flash on CS0 5 | set _FLASHNAME $_CHIPNAME.flash 6 | flash bank $_FLASHNAME cfi 0xc0000000 0x00200000 2 2 $_TARGETNAME 7 | 8 | # 9 | # FIX ME, Add support to 10 | # 11 | # (A) hard reset the board. 12 | # (B) Initialize the SDRAM on the board 13 | # 14 | -------------------------------------------------------------------------------- /tcl/board/lpc1850_spifi_generic.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Generic LPC1850 board w/ SPIFI flash. 3 | # This config file is intended as an example of how to 4 | # use the lpcspifi flash driver, but it should be functional 5 | # for most LPC1850 boards utilizing SPIFI flash. 6 | 7 | set CHIPNAME lpc1850 8 | 9 | source [find target/lpc1850.cfg] 10 | 11 | #A large working area greatly reduces flash write times 12 | set _WORKAREASIZE 0x4000 13 | 14 | $_CHIPNAME.m3 configure -work-area-phys 0x10000000 -work-area-size $_WORKAREASIZE 15 | 16 | #Configure the flash bank; 0x14000000 is the base address for 17 | #lpc43xx/lpc18xx family micros. 18 | flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m3 19 | -------------------------------------------------------------------------------- /tcl/board/lpc4350_spifi_generic.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Generic LPC4350 board w/ SPIFI flash. 3 | # This config file is intended as an example of how to 4 | # use the lpcspifi flash driver, but it should be functional 5 | # for most LPC4350 boards utilizing SPIFI flash. 6 | 7 | set CHIPNAME lpc4350 8 | 9 | source [find target/lpc4350.cfg] 10 | 11 | #Configure the flash bank; 0x14000000 is the base address for 12 | #lpc43xx/lpc18xx family micros. 13 | flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m4 14 | -------------------------------------------------------------------------------- /tcl/board/marsohod.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Marsohod CPLD Development and Education board 3 | # 4 | # http://marsohod.org/howtostart/plata 5 | # 6 | 7 | # Recommended MBFTDI programmer 8 | source [find interface/ftdi/mbftdi.cfg] 9 | adapter_khz 2000 10 | transport select jtag 11 | 12 | # Altera MAXII EPM240T100C CPLD 13 | source [find cpld/altera-epm240.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/marsohod2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Marsohod2 FPGA Development and Education board 3 | # 4 | # http://www.marsohod.org/prodmarsohod2 5 | # 6 | 7 | # Built-in MBFTDI programmer 8 | source [find interface/ftdi/mbftdi.cfg] 9 | adapter_khz 2000 10 | transport select jtag 11 | 12 | # Cyclone III EP3C10E144 FPGA 13 | source [find fpga/altera-ep3c10.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/marsohod3.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Marsohod3 FPGA Development and Education board 3 | # 4 | # http://www.marsohod.org/plata-marsokhod3 5 | # 6 | 7 | # Built-in MBFTDI programmer 8 | source [find interface/ftdi/mbftdi.cfg] 9 | adapter_khz 2000 10 | transport select jtag 11 | 12 | # MAX10 10M50SAE144C8GES FPGA 13 | source [find fpga/altera-10m50.cfg] 14 | -------------------------------------------------------------------------------- /tcl/board/mbed-lpc11u24.cfg: -------------------------------------------------------------------------------- 1 | # This is an mbed eval board with a single NXP LPC11U24 chip. 2 | # http://mbed.org/handbook/mbed-NXP-LPC11U24 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # NXP LPC11U24 Cortex-M0 with 32kB Flash and 8kB SRAM 8 | set WORKAREASIZE 0x2000 9 | 10 | source [find target/lpc11xx.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/mbed-lpc1768.cfg: -------------------------------------------------------------------------------- 1 | # This is an mbed eval board with a single NXP LPC1768 chip. 2 | # http://mbed.org/handbook/mbed-NXP-LPC1768 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | source [find target/lpc17xx.cfg] 8 | -------------------------------------------------------------------------------- /tcl/board/microchip_explorer16.cfg: -------------------------------------------------------------------------------- 1 | # Microchip Explorer 16 with PIC32MX360F512L PIM module. 2 | # http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en024858 3 | 4 | # TAPID for PIC32MX360F512L 5 | set CPUTAPID 0x30938053 6 | 7 | # use 32k working area 8 | set WORKAREASIZE 32768 9 | 10 | source [find target/pic32mx.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/nds32_xc5.cfg: -------------------------------------------------------------------------------- 1 | set _CPUTAPID 0x1000063d 2 | set _CHIPNAME nds32 3 | source [find target/nds32v3.cfg] 4 | 5 | jtag init 6 | -------------------------------------------------------------------------------- /tcl/board/netgear-dg834v3.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Netgear DG834v3 Router 3 | # Internal 4Kb RAM (@0x80000000) 4 | # Flash is located at 0x90000000 (CS0) and RAM is located at 0x94000000 (CS1) 5 | # 6 | 7 | set partition_list { 8 | loader { "Bootloader (ADAM2)" 0x90000000 0x00020000 } 9 | firmware { "Kernel+rootfs" 0x90020000 0x003d0000 } 10 | config { "Bootloader config space" 0x903f0000 0x00010000 } 11 | } 12 | 13 | source [find target/ti-ar7.cfg] 14 | 15 | # External 16MB SDRAM - disabled as we use internal sram 16 | #$_TARGETNAME configure -work-area-phys 0x80000000 -work-area-size 0x00001000 17 | 18 | # External 4MB NOR Flash 19 | set _FLASHNAME $_CHIPNAME.norflash 20 | flash bank $_FLASHNAME cfi 0x90000000 0x00400000 2 2 $_TARGETNAME 21 | -------------------------------------------------------------------------------- /tcl/board/nordic_nrf51822_mkit.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Nordic Semiconductor PCA10024 board (aka nRF51822-mKIT) 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | source [find target/nrf51.cfg] 7 | -------------------------------------------------------------------------------- /tcl/board/nordic_nrf51_dk.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Nordic Semiconductor NRF51 Development Kit (nRF6824) 3 | # 4 | 5 | source [find interface/jlink.cfg] 6 | 7 | transport select swd 8 | 9 | source [find target/nrf51.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/nordic_nrf52_dk.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Nordic Semiconductor NRF52 Development Kit (nRF52832) 3 | # 4 | 5 | source [find interface/jlink.cfg] 6 | 7 | transport select swd 8 | 9 | source [find target/nrf52.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/numato_opsis.cfg: -------------------------------------------------------------------------------- 1 | # http://opsis.hdmi2usb.tv 2 | # 3 | # The Numato Opsis is an FPGA based, open video platform. 4 | # 5 | # The board is supported via ixo-usb-jtag project. See the 6 | # interface/usb-jtag.cfg for more information. 7 | 8 | source [find interface/usb-jtag.cfg] 9 | source [find cpld/xilinx-xc6s.cfg] 10 | source [find cpld/jtagspi.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/nxp_lpc-link2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # NXP LPC-Link2 3 | # 4 | # http://www.nxp.com/board/OM13054.html 5 | # https://www.lpcware.com/lpclink2 6 | # http://embeddedartists.com/products/lpcxpresso/lpclink2.php 7 | # 8 | 9 | source [find target/lpc4370.cfg] 10 | 11 | # W25Q80BVSSIG w/ 1 MB flash 12 | flash bank SPIFI_FLASH lpcspifi 0x14000000 0 0 0 $_CHIPNAME.m4 13 | -------------------------------------------------------------------------------- /tcl/board/olimex_LPC2378STK.cfg: -------------------------------------------------------------------------------- 1 | ##################################################### 2 | # Olimex LPC2378STK eval board 3 | # 4 | # http://olimex.com/dev/lpc-2378stk.html 5 | # 6 | # Author: Sten, debian@sansys-electronic.com 7 | ##################################################### 8 | # 9 | 10 | source [find target/lpc2378.cfg] 11 | 12 | -------------------------------------------------------------------------------- /tcl/board/olimex_lpc_h2148.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Olimex LPC-H2148 eval board 3 | # 4 | # http://www.olimex.com/dev/lpc-h2148.html 5 | # 6 | 7 | source [find target/lpc2148.cfg] 8 | 9 | -------------------------------------------------------------------------------- /tcl/board/olimex_sam7_ex256.cfg: -------------------------------------------------------------------------------- 1 | # Olimex SAM7-EX256 has a single Atmel at91sam7ex256 on it. 2 | 3 | source [find target/sam7x256.cfg] 4 | 5 | -------------------------------------------------------------------------------- /tcl/board/olimex_stm32_h103.cfg: -------------------------------------------------------------------------------- 1 | # Olimex STM32-H103 eval board 2 | # http://olimex.com/dev/stm32-h103.html 3 | 4 | # Work-area size (RAM size) = 20kB for STM32F103RB device 5 | set WORKAREASIZE 0x5000 6 | 7 | source [find target/stm32f1x.cfg] 8 | -------------------------------------------------------------------------------- /tcl/board/olimex_stm32_h107.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Olimex STM32-H107 3 | # 4 | # http://olimex.com/dev/stm32-h107.html 5 | # 6 | 7 | # Work-area size (RAM size) = 64kB for STM32F107VC device 8 | set WORKAREASIZE 0x10000 9 | 10 | source [find target/stm32f1x.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/olimex_stm32_p107.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Olimex STM32-P107 3 | # 4 | # http://olimex.com/dev/stm32-p107.html 5 | # 6 | 7 | # Work-area size (RAM size) = 64kB for STM32F107VC device 8 | set WORKAREASIZE 0x10000 9 | 10 | source [find target/stm32f1x.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/omap2420_h4.cfg: -------------------------------------------------------------------------------- 1 | # OMAP2420 SDP board ("H4") 2 | 3 | source [find target/omap2420.cfg] 4 | 5 | # NOTE: this assumes you're *NOT* using a TI-14 connector. 6 | reset_config trst_and_srst separate 7 | 8 | # Board configs can vary a *LOT* ... parts, jumpers, etc. 9 | # This GP board boots from cs0 using NOR (2x32M), and also 10 | # has 64M NAND on cs6. 11 | flash bank h4.u10 cfi 0x04000000 0x02000000 2 2 $_TARGETNAME 12 | flash bank h4.u11 cfi 0x06000000 0x02000000 2 2 $_TARGETNAME 13 | -------------------------------------------------------------------------------- /tcl/board/open-bldc.cfg: -------------------------------------------------------------------------------- 1 | # Open Source Brush Less DC Motor Controller 2 | # http://open-bldc.org 3 | 4 | # Work-area size (RAM size) = 20kB for STM32F103RB device 5 | set WORKAREASIZE 0x5000 6 | 7 | source [find target/stm32.cfg] 8 | -------------------------------------------------------------------------------- /tcl/board/phone_se_j100i.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Sony Ericsson J100I Phone 3 | # 4 | # more informations can be found on 5 | # http://bb.osmocom.org/trac/wiki/SonyEricssonJ100i 6 | # 7 | source [find target/ti_calypso.cfg] 8 | 9 | # external flash 10 | 11 | set _FLASHNAME $_CHIPNAME.flash 12 | flash bank $_FLASHNAME cfi 0x00000000 0x400000 2 2 $_TARGETNAME 13 | -------------------------------------------------------------------------------- /tcl/board/pic-p32mx.cfg: -------------------------------------------------------------------------------- 1 | # The Olimex PIC-P32MX has a PIC32MX 2 | 3 | set CPUTAPID 0x40916053 4 | source [find target/pic32mx.cfg] 5 | -------------------------------------------------------------------------------- /tcl/board/pipistrello.cfg: -------------------------------------------------------------------------------- 1 | # http://pipistrello.saanlima.com/ 2 | 3 | source [find interface/ftdi/pipistrello.cfg] 4 | source [find cpld/xilinx-xc6s.cfg] 5 | source [find cpld/jtagspi.cfg] 6 | 7 | # example command to write bitstream, soft-cpu bios and runtime: 8 | # openocd -f board/pipistrello.cfg -c "init;\ 9 | # jtagspi_init 0 bscan_spi_xc6slx45.bit;\ 10 | # jtagspi_program bitstream-pistrello.bin 0;\ 11 | # jtagspi_program bios.bin 0x170000;\ 12 | # jtagspi_program runtime.fbi 0x180000;\ 13 | # xc6s_program xc6s.tap;\ 14 | # exit" 15 | -------------------------------------------------------------------------------- /tcl/board/quark_d2000_refboard.cfg: -------------------------------------------------------------------------------- 1 | # Intel Quark microcontroller D2000 Reference Board (web search for doc num 333582) 2 | 3 | # the board has an onboard FTDI FT232H chip 4 | interface ftdi 5 | ftdi_vid_pid 0x0403 0x6014 6 | ftdi_channel 0 7 | 8 | ftdi_layout_init 0x0000 0x030b 9 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0100 10 | 11 | source [find target/quark_d20xx.cfg] 12 | 13 | adapter_khz 1000 14 | 15 | reset_config trst_only 16 | -------------------------------------------------------------------------------- /tcl/board/quark_x10xx_board.cfg: -------------------------------------------------------------------------------- 1 | # There are many Quark boards that can host the quark_x10xx SoC 2 | # Galileo is an example board 3 | 4 | source [find target/quark_x10xx.cfg] 5 | 6 | #default frequency but this can be adjusted at runtime 7 | adapter_khz 4000 8 | 9 | reset_config trst_only 10 | -------------------------------------------------------------------------------- /tcl/board/redbee.cfg: -------------------------------------------------------------------------------- 1 | source [find target/mc13224v.cfg] 2 | -------------------------------------------------------------------------------- /tcl/board/renesas_dk-s7g2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Renesas Synergy DK-S7G2 3 | # 4 | 5 | source [find interface/jlink.cfg] 6 | transport select swd 7 | 8 | # XXX 19-pin SWD+TRACE connector also available 9 | 10 | # Synergy R7FS7G27H2A01CBD 11 | source [find target/renesas_s7g2.cfg] 12 | 13 | # 32 MB QSPI flash (Micron N25Q256A13EF840E) 14 | -------------------------------------------------------------------------------- /tcl/board/smdk6410.cfg: -------------------------------------------------------------------------------- 1 | # Target configuration for the Samsung s3c6410 system on chip 2 | # Tested on a SMDK6410 3 | # Processor : ARM1176 4 | # Info: JTAG device found: 0x0032409d (Manufacturer: 0x04e, Part: 0x0324, Version: 0x0) 5 | 6 | source [find target/samsung_s3c6410.cfg] 7 | 8 | set _FLASHNAME $_CHIPNAME.flash 9 | flash bank $_FLASHNAME cfi 0x00000000 0x00100000 2 2 $_TARGETNAME jedec_probe 10 | -------------------------------------------------------------------------------- /tcl/board/spansion_sk-fm4-176l-s6e2cc.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Spansion SK-FM4-176L-S6E2CC 3 | # 4 | 5 | # 6 | # FM3 MB9AF312K 7 | # 8 | source [find interface/cmsis-dap.cfg] 9 | 10 | # There's also an unpopulated 10-pin 0.05" pinout. 11 | 12 | # 13 | # FM4 S6E2CCAJ0A w/ 192 KB SRAM0 14 | # 15 | set CHIPNAME s6e2cc 16 | set CHIPSERIES S6E2CCAJ0A 17 | set WORKAREASIZE 0x30000 18 | source [find target/fm4_s6e2cc.cfg] 19 | 20 | reset_config srst_only 21 | -------------------------------------------------------------------------------- /tcl/board/spansion_sk-fm4-u120-9b560.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Spansion SK-FM4-U120-9B560 3 | # 4 | 5 | # 6 | # FM3 MB9AF312K 7 | # 8 | # source [find interface/cmsis-dap.cfg] 9 | 10 | # 11 | # FM4 MB9BF568R w/ 64 KB SRAM0 12 | # 13 | set CHIPNAME mb9bf568 14 | set CHIPSERIES MB9BF568R 15 | set WORKAREASIZE 0x10000 16 | source [find target/fm4_mb9bf.cfg] 17 | 18 | reset_config srst_only 19 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_f0.cfg: -------------------------------------------------------------------------------- 1 | # This is for all ST NUCLEO with any STM32F0. Known boards at the moment: 2 | # STM32F030R8 3 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259997 4 | # NUCLEO-F072RB 5 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259997 6 | # STM32F091RC 7 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260944 8 | 9 | source [find interface/stlink-v2-1.cfg] 10 | 11 | transport select hla_swd 12 | 13 | source [find target/stm32f0x.cfg] 14 | 15 | reset_config srst_only 16 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_f103rb.cfg: -------------------------------------------------------------------------------- 1 | # This is an ST NUCLEO F103RB board with a single STM32F103RBT6 chip. 2 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259875 3 | 4 | source [find interface/stlink-v2-1.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f1x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_f3.cfg: -------------------------------------------------------------------------------- 1 | # This is an ST NUCLEO F334R8 board with a single STM32F334R8T6 chip. 2 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260004 3 | 4 | source [find interface/stlink-v2-1.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f3x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_f4.cfg: -------------------------------------------------------------------------------- 1 | # This is for all ST NUCLEO with any STM32F4. Known boards at the moment: 2 | # STM32F401RET6 3 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260000 4 | # STM32F411RET6 5 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260320 6 | 7 | source [find interface/stlink-v2-1.cfg] 8 | 9 | transport select hla_swd 10 | 11 | source [find target/stm32f4x.cfg] 12 | 13 | reset_config srst_only 14 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_l1.cfg: -------------------------------------------------------------------------------- 1 | # This is an ST NUCLEO L152RE board with a single STM32L152RET6 chip. 2 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260002 3 | 4 | source [find interface/stlink-v2-1.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32l1.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /tcl/board/st_nucleo_l476rg.cfg: -------------------------------------------------------------------------------- 1 | # This is a ST NUCLEO L476RG board with a single STM32L476RGT6 chip. 2 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF261636 3 | 4 | source [find interface/stlink-v2-1.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32l4x.cfg] 9 | 10 | # use hardware reset 11 | reset_config srst_only srst_nogate 12 | 13 | -------------------------------------------------------------------------------- /tcl/board/steval_pcc010.cfg: -------------------------------------------------------------------------------- 1 | # Use for the STM207VG plug-in board (1 MiB Flash and 112+16 KiB Ram 2 | # comming with the STEVAL-PCC010 board 3 | # http://www.st.com/internet/evalboard/product/251530.jsp 4 | # or any other board with only a STM32F2x in the JTAG chain 5 | 6 | # increase working area to 32KB for faster flash programming 7 | set WORKAREASIZE 0x8000 8 | 9 | source [find target/stm32f2x.cfg] 10 | -------------------------------------------------------------------------------- /tcl/board/stm320518_eval.cfg: -------------------------------------------------------------------------------- 1 | # STM320518-EVAL: This is an STM32F0 eval board with a single STM32F051R8T6 2 | # (64KB) chip. 3 | # http://www.st.com/internet/evalboard/product/252994.jsp 4 | # 5 | 6 | # increase working area to 8KB 7 | set WORKAREASIZE 0x2000 8 | 9 | # chip name 10 | set CHIPNAME STM32F051R8T6 11 | 12 | source [find target/stm32f0x.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/stm320518_eval_stlink.cfg: -------------------------------------------------------------------------------- 1 | # STM320518-EVAL: This is an STM32F0 eval board with a single STM32F051R8T6 2 | # (64KB) chip. 3 | # http://www.st.com/internet/evalboard/product/252994.jsp 4 | # 5 | # This is for using the onboard STLINK/V2 6 | 7 | source [find interface/stlink-v2.cfg] 8 | 9 | transport select hla_swd 10 | 11 | # increase working area to 8KB 12 | set WORKAREASIZE 0x2000 13 | 14 | # chip name 15 | set CHIPNAME STM32F051R8T6 16 | 17 | source [find target/stm32f0x.cfg] 18 | 19 | reset_config srst_only 20 | -------------------------------------------------------------------------------- /tcl/board/stm32100b_eval.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32 eval board with a single STM32F100VBT6 chip. 2 | # http://www.st.com/internet/evalboard/product/247099.jsp 3 | 4 | # The chip has only 8KB sram 5 | set WORKAREASIZE 0x2000 6 | 7 | source [find target/stm32f1x.cfg] 8 | -------------------------------------------------------------------------------- /tcl/board/stm3210b_eval.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32 eval board with a single STM32F10x (128KB) chip. 2 | # http://www.st.com/internet/evalboard/product/176090.jsp 3 | 4 | # increase working area to 32KB for faster flash programming 5 | set WORKAREASIZE 0x8000 6 | 7 | source [find target/stm32f1x.cfg] 8 | -------------------------------------------------------------------------------- /tcl/board/stm3210c_eval.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32 eval board with a single STM32F107VCT chip. 2 | # http://www.st.com/internet/evalboard/product/217965.jsp 3 | 4 | # increase working area to 32KB for faster flash programming 5 | set WORKAREASIZE 0x8000 6 | 7 | source [find target/stm32f1x.cfg] 8 | -------------------------------------------------------------------------------- /tcl/board/stm3220g_eval.cfg: -------------------------------------------------------------------------------- 1 | # STM3220G-EVAL: This is an STM32F2 eval board with a single STM32F207IGH6 2 | # (128KB) chip. 3 | # http://www.st.com/internet/evalboard/product/250374.jsp 4 | 5 | # increase working area to 128KB 6 | set WORKAREASIZE 0x20000 7 | 8 | # chip name 9 | set CHIPNAME STM32F207IGH6 10 | 11 | source [find target/stm32f2x.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/stm3220g_eval_stlink.cfg: -------------------------------------------------------------------------------- 1 | # STM3220G-EVAL: This is an STM32F2 eval board with a single STM32F207IGH6 2 | # (128KB) chip. 3 | # http://www.st.com/internet/evalboard/product/250374.jsp 4 | # 5 | # This is for using the onboard STLINK/V2 6 | 7 | source [find interface/stlink-v2.cfg] 8 | 9 | transport select hla_swd 10 | 11 | # increase working area to 128KB 12 | set WORKAREASIZE 0x20000 13 | 14 | # chip name 15 | set CHIPNAME STM32F207IGH6 16 | 17 | source [find target/stm32f2x.cfg] 18 | 19 | reset_config srst_only 20 | -------------------------------------------------------------------------------- /tcl/board/stm3241g_eval.cfg: -------------------------------------------------------------------------------- 1 | # STM3241G-EVAL: This is an STM32F4 eval board with a single STM32F417IGH6 2 | # (1024KB) chip. 3 | # http://www.st.com/internet/evalboard/product/252216.jsp 4 | 5 | # increase working area to 128KB 6 | set WORKAREASIZE 0x20000 7 | 8 | # chip name 9 | set CHIPNAME STM32F417IGH6 10 | 11 | source [find target/stm32f4x.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/stm3241g_eval_stlink.cfg: -------------------------------------------------------------------------------- 1 | # STM3241G-EVAL: This is an STM32F4 eval board with a single STM32F417IGH6 2 | # (1024KB) chip. 3 | # http://www.st.com/internet/evalboard/product/252216.jsp 4 | # 5 | # This is for using the onboard STLINK/V2 6 | 7 | source [find interface/stlink-v2.cfg] 8 | 9 | transport select hla_swd 10 | 11 | # increase working area to 128KB 12 | set WORKAREASIZE 0x20000 13 | 14 | # chip name 15 | set CHIPNAME STM32F417IGH6 16 | 17 | source [find target/stm32f4x.cfg] 18 | 19 | reset_config srst_only 20 | -------------------------------------------------------------------------------- /tcl/board/stm32429i_eval.cfg: -------------------------------------------------------------------------------- 1 | # STM32429I-EVAL: This is an STM32F4 eval board with a single STM32F429NIH6 2 | # (2048KB) chip. 3 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259093 4 | 5 | # increase working area to 128KB 6 | set WORKAREASIZE 0x20000 7 | 8 | # chip name 9 | set CHIPNAME STM32F429NIH6 10 | 11 | source [find target/stm32f4x.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/stm32429i_eval_stlink.cfg: -------------------------------------------------------------------------------- 1 | # STM32429I-EVAL: This is an STM32F4 eval board with a single STM32F429NIH6 2 | # (2048KB) chip. 3 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259093 4 | # 5 | # This is for using the onboard STLINK/V2 6 | 7 | source [find interface/stlink-v2.cfg] 8 | 9 | transport select hla_swd 10 | 11 | # increase working area to 128KB 12 | set WORKAREASIZE 0x20000 13 | 14 | # chip name 15 | set CHIPNAME STM32F429NIH6 16 | 17 | source [find target/stm32f4x.cfg] 18 | 19 | reset_config srst_only 20 | -------------------------------------------------------------------------------- /tcl/board/stm32439i_eval.cfg: -------------------------------------------------------------------------------- 1 | # STM32439I-EVAL: This is an STM32F4 eval board with a single STM32F439NIH6 2 | # (2048KB) chip. 3 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259094 4 | 5 | # increase working area to 128KB 6 | set WORKAREASIZE 0x20000 7 | 8 | # chip name 9 | set CHIPNAME STM32F439NIH6 10 | 11 | source [find target/stm32f4x.cfg] 12 | -------------------------------------------------------------------------------- /tcl/board/stm32439i_eval_stlink.cfg: -------------------------------------------------------------------------------- 1 | # STM32439I-EVAL: This is an STM32F4 eval board with a single STM32F439NIH6 2 | # (2048KB) chip. 3 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF259094 4 | # 5 | # This is for using the onboard STLINK/V2 6 | 7 | source [find interface/stlink-v2.cfg] 8 | 9 | transport select hla_swd 10 | 11 | # increase working area to 128KB 12 | set WORKAREASIZE 0x20000 13 | 14 | # chip name 15 | set CHIPNAME STM32F439NIH6 16 | 17 | source [find target/stm32f4x.cfg] 18 | 19 | reset_config srst_only 20 | -------------------------------------------------------------------------------- /tcl/board/stm327x6g_eval.cfg: -------------------------------------------------------------------------------- 1 | # STM327[4|5]6G-EVAL: This is for the STM32F7 eval boards. 2 | # STM32746G-EVAL 3 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF261639 4 | # STM32756G-EVAL 5 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1199/PF261640 6 | 7 | # increase working area to 256KB 8 | set WORKAREASIZE 0x40000 9 | 10 | source [find target/stm32f7x.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/stm32f0discovery.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32F0 discovery board with a single STM32F051R8T6 chip. 2 | # http://www.st.com/internet/evalboard/product/253215.jsp 3 | 4 | source [find interface/stlink-v2.cfg] 5 | 6 | transport select hla_swd 7 | 8 | set WORKAREASIZE 0x2000 9 | source [find target/stm32f0x.cfg] 10 | 11 | reset_config srst_only 12 | -------------------------------------------------------------------------------- /tcl/board/stm32f334discovery.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32F334 discovery board with a single STM32F334C8T6 chip. 2 | # As it is one of the few boards with stlink V.2-1, we source the corresponding 3 | # nucleo file. 4 | # http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/LN1848/PF260318 5 | 6 | source [find board/st_nucleo_f3.cfg] 7 | -------------------------------------------------------------------------------- /tcl/board/stm32f3discovery.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32F3 discovery board with a single STM32F303VCT6 chip. 2 | # http://www.st.com/internet/evalboard/product/254044.jsp 3 | 4 | source [find interface/stlink-v2.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f3x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /tcl/board/stm32f429disc1.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # This is an STM32F429 discovery board with a single STM32F429ZI chip. 3 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090 4 | # 5 | 6 | source [find interface/stlink-v2-1.cfg] 7 | 8 | transport select hla_swd 9 | 10 | source [find target/stm32f4x.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /tcl/board/stm32f429discovery.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # This is an STM32F429 discovery board with a single STM32F429ZI chip. 3 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090 4 | # 5 | 6 | source [find interface/stlink-v2.cfg] 7 | 8 | transport select hla_swd 9 | 10 | # increase working area to 128KB 11 | set WORKAREASIZE 0x20000 12 | 13 | source [find target/stm32f4x.cfg] 14 | 15 | reset_config srst_only 16 | -------------------------------------------------------------------------------- /tcl/board/stm32f469discovery.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # This is an STM32F469 discovery board with a single STM32F469NI chip. 3 | # http://www.st.com/web/catalog/tools/FM116/CL1620/SC959/SS1532/LN1848/PF262395 4 | # 5 | 6 | source [find interface/stlink-v2-1.cfg] 7 | 8 | transport select hla_swd 9 | 10 | # increase working area to 128KB 11 | set WORKAREASIZE 0x20000 12 | 13 | source [find target/stm32f4x.cfg] 14 | 15 | reset_config srst_only 16 | -------------------------------------------------------------------------------- /tcl/board/stm32f4discovery.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32F4 discovery board with a single STM32F407VGT6 chip. 2 | # http://www.st.com/internet/evalboard/product/252419.jsp 3 | 4 | source [find interface/stlink-v2.cfg] 5 | 6 | transport select hla_swd 7 | 8 | # increase working area to 64KB 9 | set WORKAREASIZE 0x10000 10 | 11 | source [find target/stm32f4x.cfg] 12 | 13 | reset_config srst_only 14 | -------------------------------------------------------------------------------- /tcl/board/stm32f7discovery.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32F7 discovery board with a single STM32F756NGH6 chip. 2 | # http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1848/PF261641 3 | 4 | # This is for using the onboard STLINK/V2-1 5 | source [find interface/stlink-v2-1.cfg] 6 | 7 | transport select hla_swd 8 | 9 | # increase working area to 256KB 10 | set WORKAREASIZE 0x40000 11 | 12 | source [find target/stm32f7x.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/stm32l0discovery.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32L053 discovery board with a single STM32L053 chip. 2 | # http://www.st.com/web/en/catalog/tools/PF260319 3 | 4 | source [find interface/stlink-v2-1.cfg] 5 | 6 | transport select hla_swd 7 | 8 | set WORKAREASIZE 0x2000 9 | source [find target/stm32l0.cfg] 10 | 11 | reset_config srst_only 12 | -------------------------------------------------------------------------------- /tcl/board/stm32l4discovery.cfg: -------------------------------------------------------------------------------- 1 | # Explicitly for the STM32L476 discovery board: 2 | # http://www.st.com/web/en/catalog/tools/PF261635 3 | # but perfectly functional for any other STM32L4 board connected via 4 | # an stlink-v2-1 interface. 5 | # This is for STM32L4 boards that are connected via stlink-v2-1. 6 | 7 | source [find interface/stlink-v2-1.cfg] 8 | 9 | transport select hla_swd 10 | 11 | source [find target/stm32l4x.cfg] 12 | 13 | reset_config srst_only 14 | -------------------------------------------------------------------------------- /tcl/board/stm32ldiscovery.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32L discovery board with a single STM32L152RBT6 chip. 2 | # http://www.st.com/internet/evalboard/product/250990.jsp 3 | 4 | source [find interface/stlink-v2.cfg] 5 | 6 | transport select hla_swd 7 | 8 | set WORKAREASIZE 0x4000 9 | source [find target/stm32l1.cfg] 10 | 11 | reset_config srst_only 12 | -------------------------------------------------------------------------------- /tcl/board/stm32vldiscovery.cfg: -------------------------------------------------------------------------------- 1 | # This is an STM32VL discovery board with a single STM32F100RB chip. 2 | # http://www.st.com/internet/evalboard/product/250863.jsp 3 | 4 | source [find interface/stlink-v1.cfg] 5 | 6 | transport select hla_swd 7 | 8 | set WORKAREASIZE 0x2000 9 | source [find target/stm32f1x.cfg] 10 | 11 | reset_config srst_only 12 | -------------------------------------------------------------------------------- /tcl/board/ti-cc3200-launchxl.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI SimpleLink Wi-Fi CC3200 LaunchPad 3 | # 4 | # http://www.ti.com/tool/cc3200-launchxl 5 | # 6 | 7 | source [find interface/ftdi/ti-icdi.cfg] 8 | 9 | if { [info exists TRANSPORT] } { 10 | transport select $TRANSPORT 11 | } else { 12 | transport select jtag 13 | } 14 | 15 | set WORKAREASIZE 0x40000 16 | source [find target/cc32xx.cfg] 17 | 18 | reset_config srst_only 19 | -------------------------------------------------------------------------------- /tcl/board/ti_am335xevm.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI AM335x Evaluation Module 3 | # 4 | # For more information please see http://www.ti.com/tool/tmdxevm3358 5 | # 6 | jtag_rclk 6000 7 | 8 | source [find target/am335x.cfg] 9 | 10 | reset_config trst_and_srst 11 | -------------------------------------------------------------------------------- /tcl/board/ti_am437x_idk.cfg: -------------------------------------------------------------------------------- 1 | # Texas Instruments AM437x Industrial Development Kit 2 | 3 | # The JTAG interface is built directly on the board. 4 | source [find interface/ftdi/xds100v2.cfg] 5 | 6 | transport select jtag 7 | adapter_khz 30000 8 | 9 | source [find target/am437x.cfg] 10 | $_TARGETNAME configure -event reset-init { init_platform 0x61a11b32 } 11 | 12 | reset_config trst_and_srst 13 | -------------------------------------------------------------------------------- /tcl/board/ti_am43xx_evm.cfg: -------------------------------------------------------------------------------- 1 | # Works on both AM437x GP EVM and AM438x ePOS EVM 2 | transport select jtag 3 | adapter_khz 16000 4 | 5 | source [find target/am437x.cfg] 6 | 7 | reset_config trst_and_srst 8 | -------------------------------------------------------------------------------- /tcl/board/ti_beagleboard.cfg: -------------------------------------------------------------------------------- 1 | # OMAP3 BeagleBoard 2 | # http://beagleboard.org 3 | 4 | # Fall back to 6MHz if RTCK is not supported 5 | jtag_rclk 6000 6 | 7 | source [find target/omap3530.cfg] 8 | 9 | # TI-14 JTAG connector 10 | reset_config trst_only 11 | 12 | # Later run: omap3_dbginit 13 | -------------------------------------------------------------------------------- /tcl/board/ti_beagleboard_xm.cfg: -------------------------------------------------------------------------------- 1 | # BeagleBoard xM (DM37x) 2 | # http://beagleboard.org 3 | 4 | set CHIPTYPE "dm37x" 5 | source [find target/amdm37x.cfg] 6 | 7 | # The TI-14 JTAG connector does not have srst. CPU reset is handled in 8 | # hardware. 9 | reset_config trst_only 10 | 11 | # "amdm37x_dbginit dm37x.cpu" needs to be run after init. 12 | 13 | -------------------------------------------------------------------------------- /tcl/board/ti_beaglebone.cfg: -------------------------------------------------------------------------------- 1 | # AM335x Beaglebone 2 | # http://beagleboard.org/bone 3 | 4 | # The JTAG interface is built directly on the board. 5 | source [find interface/ftdi/xds100v2.cfg] 6 | 7 | adapter_khz 16000 8 | 9 | source [find target/am335x.cfg] 10 | 11 | reset_config trst_and_srst 12 | 13 | 14 | -------------------------------------------------------------------------------- /tcl/board/ti_blaze.cfg: -------------------------------------------------------------------------------- 1 | jtag_rclk 6000 2 | 3 | source [find target/omap4430.cfg] 4 | 5 | reset_config trst_and_srst 6 | 7 | -------------------------------------------------------------------------------- /tcl/board/ti_pandaboard.cfg: -------------------------------------------------------------------------------- 1 | jtag_rclk 6000 2 | 3 | source [find target/omap4430.cfg] 4 | 5 | reset_config trst_only 6 | 7 | -------------------------------------------------------------------------------- /tcl/board/ti_pandaboard_es.cfg: -------------------------------------------------------------------------------- 1 | jtag_rclk 6000 2 | 3 | source [find target/omap4460.cfg] 4 | 5 | reset_config trst_only 6 | 7 | -------------------------------------------------------------------------------- /tcl/board/ti_tmdx570ls20susb.cfg: -------------------------------------------------------------------------------- 1 | # TMS570 Microcontroller USB Kit 2 | # http://www.ti.com/tool/TMDX570LS20SUSB 3 | 4 | # Board uses a FT2232H to emulate an XDS100v2 JTAG debugger 5 | # TODO: board also supports an SCI UART on the 2232's B Bus 6 | source [find interface/ftdi/xds100v2.cfg] 7 | 8 | # Processor is TMS570LS20216 9 | source [find target/ti_tms570ls20xxx.cfg] 10 | 11 | reset_config trst_only 12 | 13 | # xds100v2 config says add this to the end 14 | init 15 | ftdi_set_signal PWR_RST 1 16 | jtag arp_init 17 | -------------------------------------------------------------------------------- /tcl/board/ti_tmdx570ls31usb.cfg: -------------------------------------------------------------------------------- 1 | adapter_khz 1500 2 | 3 | source [find interface/ftdi/xds100v2.cfg] 4 | source [find target/ti_tms570.cfg] 5 | 6 | reset_config trst_only 7 | -------------------------------------------------------------------------------- /tcl/board/twr-k60f120m.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale TWRK60F120M development board 3 | # 4 | 5 | source [find target/k60.cfg] 6 | 7 | $_TARGETNAME configure -event reset-init { 8 | puts "-event reset-init occured" 9 | } 10 | 11 | # 12 | # Definitions for the additional 'program flash' banks 13 | # (instructions and/or data) 14 | # 15 | flash bank pflash.1 kinetis 0x00040000 0x40000 0 4 $_TARGETNAME 16 | flash bank pflash.2 kinetis 0x00080000 0x40000 0 4 $_TARGETNAME 17 | flash bank pflash.3 kinetis 0x000c0000 0x40000 0 4 $_TARGETNAME 18 | -------------------------------------------------------------------------------- /tcl/board/twr-k60n512.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale TWRK60N512 development board 3 | # 4 | 5 | source [find target/k60.cfg] 6 | 7 | $_TARGETNAME configure -event reset-init { 8 | puts "-event reset-init occured" 9 | } 10 | 11 | # 12 | # Definitions for the additional 'program flash' bank 13 | # (instructions and/or data) 14 | # 15 | flash bank pflash.1 kinetis 0x00040000 0x40000 0 4 $_TARGETNAME 16 | -------------------------------------------------------------------------------- /tcl/board/twr-vf65gs10_cmsisdap.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Board configuration file for the Freescale VF65GS10 tower board 3 | # 4 | # CMSIS-DAP via USB-OTG connector 5 | # 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | # only SWD is supported by the CMSIS-DAP on this board 9 | transport select swd 10 | 11 | # Source generic part of twr-vf65gs10 configuration 12 | source [find board/twr-vf65gs10.cfg] 13 | 14 | # override reset configuration 15 | reset_config srst_only -------------------------------------------------------------------------------- /tcl/board/verdex.cfg: -------------------------------------------------------------------------------- 1 | # Config for Gumstix Verdex XM4 and XL6P (PXA270) 2 | 3 | set CHIPNAME verdex 4 | source [find target/pxa270.cfg] 5 | 6 | # The board supports separate reset lines 7 | # Override this in the interface config for parallel dongles 8 | reset_config trst_and_srst separate 9 | 10 | # XM4 = 400MHz, XL6P = 600MHz...let's run at 0.1*400MHz=40MHz 11 | adapter_khz 40000 12 | 13 | # flash bank 14 | # XL6P has 32 MB flash 15 | flash bank $_CHIPNAME.flash0 cfi 0x00000000 0x02000000 2 2 $_TARGETNAME 16 | # XM4 has 16 MB flash 17 | #flash bank $_CHIPNAME.flash0 cfi 0x00000000 0x01000000 2 2 $_TARGETNAME 18 | -------------------------------------------------------------------------------- /tcl/board/voipac.cfg: -------------------------------------------------------------------------------- 1 | # Config for Voipac PXA270/PXA270M module. 2 | 3 | set CHIPNAME voipac 4 | source [find target/pxa270.cfg] 5 | 6 | # The board supports separate reset lines 7 | # Override this in the interface config for parallel dongles 8 | reset_config trst_and_srst separate 9 | 10 | # flash bank 11 | flash bank $_CHIPNAME.flash0 cfi 0x00000000 0x2000000 2 2 $_TARGETNAME 12 | flash bank $_CHIPNAME.flash1 cfi 0x02000000 0x2000000 2 2 $_TARGETNAME 13 | -------------------------------------------------------------------------------- /tcl/board/xmc-2go.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Infineon XMC 2Go 3 | # 4 | 5 | # 6 | # Segger J-Link Lite XMC4200 on-board 7 | # 8 | source [find interface/jlink.cfg] 9 | transport select swd 10 | 11 | set CHIPNAME xmc1100 12 | set WORKAREASIZE 0x4000 13 | source [find target/xmc1xxx.cfg] 14 | 15 | reset_config srst_only srst_nogate 16 | -------------------------------------------------------------------------------- /tcl/board/xmc1100-boot-kit.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Infineon XMC1100 Boot Kit 3 | # 4 | 5 | # 6 | # Segger J-Link Lite XMC4200 on-board 7 | # 8 | source [find interface/jlink.cfg] 9 | transport select swd 10 | 11 | set CHIPNAME xmc1100 12 | set WORKAREASIZE 0x4000 13 | source [find target/xmc1xxx.cfg] 14 | 15 | reset_config srst_only srst_nogate 16 | -------------------------------------------------------------------------------- /tcl/board/xmc4200-application-kit-actuator.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Infineon XMC4200 Application Kit - Actuator 3 | # 4 | 5 | # 6 | # Segger J-Link Lite XMC4200 on-board 7 | # 8 | source [find interface/jlink.cfg] 9 | transport select swd 10 | 11 | set CHIPNAME xmc4200 12 | source [find target/xmc4xxx.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/xmc4300-relax.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Infineon XMC4300 Relax EtherCAT Kit 3 | # 4 | 5 | # 6 | # Segger J-Link Lite XMC4200 on-board 7 | # 8 | source [find interface/jlink.cfg] 9 | transport select swd 10 | 11 | set CHIPNAME xmc4300 12 | source [find target/xmc4xxx.cfg] 13 | -------------------------------------------------------------------------------- /tcl/board/xmc4500-application-kit-general.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Infineon XMC4500 Application Kit - General Purpose 3 | # 4 | 5 | set CHIPNAME xmc4500 6 | source [find target/xmc4xxx.cfg] 7 | 8 | reset_config srst_only 9 | -------------------------------------------------------------------------------- /tcl/board/xmc4500-application-kit-sdram.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Infineon XMC4500 Application Kit - SDRAM 3 | # 4 | 5 | # 6 | # Segger J-Link Lite XMC4200 on-board 7 | # 8 | 9 | set CHIPNAME xmc4500 10 | source [find target/xmc4xxx.cfg] 11 | -------------------------------------------------------------------------------- /tcl/board/xmc4500-relax.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Infineon XMC4500 Relax Kit / Relax Lite Kit 3 | # 4 | 5 | # 6 | # Segger J-Link Lite XMC4500 on-board 7 | # 8 | source [find interface/jlink.cfg] 9 | transport select swd 10 | 11 | # There's also an unpopulated 10-pin 0.05" pinout. 12 | 13 | set CHIPNAME xmc4500 14 | source [find target/xmc4xxx.cfg] 15 | -------------------------------------------------------------------------------- /tcl/board/xmc4700-relax.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Infineon XMC4700 Relax Lite Kit / Relax Kit for 5V Shields / Relax Kit 3 | # 4 | 5 | # 6 | # Segger J-Link Lite XMC4200 on-board 7 | # 8 | source [find interface/jlink.cfg] 9 | transport select swd 10 | 11 | # There's also an unpopulated 10-pin 0.05" pinout. 12 | 13 | set CHIPNAME xmc4700 14 | source [find target/xmc4xxx.cfg] 15 | 16 | # Relax Kit only: N25Q032A qSPI flash 17 | -------------------------------------------------------------------------------- /tcl/board/xmc4800-relax.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Infineon XMC4800 Relax EtherCAT Kit 3 | # 4 | 5 | # 6 | # Segger J-Link Lite XMC4200 on-board 7 | # 8 | source [find interface/jlink.cfg] 9 | transport select swd 10 | 11 | # There's also an unpopulated 10-pin 0.05" pinout. 12 | 13 | set CHIPNAME xmc4800 14 | source [find target/xmc4xxx.cfg] 15 | 16 | # N25Q032A qSPI flash 17 | -------------------------------------------------------------------------------- /tcl/board/xmos_xk-xac-xa8_arm.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # xCORE-XA Core Module 3 | # 4 | # https://www.xmos.com/support/boards?product=17940 5 | # 6 | 7 | # 8 | # J-Link OB STM32F103 9 | # 10 | source [find interface/jlink.cfg] 11 | transport select swd 12 | 13 | # 14 | # XS1-XAU8A-10 15 | # 16 | source [find target/xmos_xs1-xau8a-10_arm.cfg] 17 | -------------------------------------------------------------------------------- /tcl/chip/atmel/at91/hardware.cfg: -------------------------------------------------------------------------------- 1 | # External Memory Map 2 | set AT91_CHIPSELECT_0 0x10000000 3 | set AT91_CHIPSELECT_1 0x20000000 4 | set AT91_CHIPSELECT_2 0x30000000 5 | set AT91_CHIPSELECT_3 0x40000000 6 | set AT91_CHIPSELECT_4 0x50000000 7 | set AT91_CHIPSELECT_5 0x60000000 8 | set AT91_CHIPSELECT_6 0x70000000 9 | set AT91_CHIPSELECT_7 0x80000000 10 | -------------------------------------------------------------------------------- /tcl/chip/atmel/at91/pmc.tcl: -------------------------------------------------------------------------------- 1 | 2 | if [info exists AT91C_MAINOSC_FREQ] { 3 | # user set this... let it be. 4 | } { 5 | # 18.432mhz is a common thing... 6 | set AT91C_MAINOSC_FREQ 18432000 7 | } 8 | global AT91C_MAINOSC_FREQ 9 | 10 | if [info exists AT91C_SLOWOSC_FREQ] { 11 | # user set this... let it be. 12 | } { 13 | # 32khz is the norm 14 | set AT91C_SLOWOSC_FREQ 32768 15 | } 16 | global AT91C_SLOWOSC_FREQ 17 | 18 | -------------------------------------------------------------------------------- /tcl/chip/st/stm32/stm32.tcl: -------------------------------------------------------------------------------- 1 | source [find bitsbytes.tcl] 2 | source [find cpu/arm/cortex_m3.tcl] 3 | source [find memory.tcl] 4 | source [find mmr_helpers.tcl] 5 | 6 | source [find chip/st/stm32/stm32_regs.tcl] 7 | source [find chip/st/stm32/stm32_rcc.tcl] 8 | -------------------------------------------------------------------------------- /tcl/chip/ti/lm3s/lm3s.tcl: -------------------------------------------------------------------------------- 1 | source [find chip/ti/lm3s/lm3s_regs.tcl] 2 | -------------------------------------------------------------------------------- /tcl/cpld/altera-epm240.cfg: -------------------------------------------------------------------------------- 1 | # Altera MAXII EPM240T100C CPLD 2 | # see MAX II Device Handbook 3 | # Table 3-3: 32-Bit MAX II Device IDCODE 4 | # Version Part Number Manuf. ID LSB 5 | # 0000 0010 0000 1010 0001 000 0110 1110 1 6 | jtag newtap epm240 tap -expected-id 0x020a10dd -irlen 10 7 | -------------------------------------------------------------------------------- /tcl/cpld/lattice-lc4032ze.cfg: -------------------------------------------------------------------------------- 1 | # Lattice ispMACH 4000ZE family, device LC4032ZE 2 | # just configure a tap 3 | jtag newtap LC4032ZE tap -irlen 8 -expected-id 0x01806043 4 | -------------------------------------------------------------------------------- /tcl/cpld/xilinx-xcr3256.cfg: -------------------------------------------------------------------------------- 1 | #xilinx coolrunner xcr3256 2 | #simple device - just configure a tap 3 | jtag newtap xcr tap -irlen 5 -ircapture 0x01 -irmask 0x1f -expected-id 0x0494c093 4 | -------------------------------------------------------------------------------- /tcl/cpu/arm/arm7tdmi.tcl: -------------------------------------------------------------------------------- 1 | set CPU_TYPE arm 2 | set CPU_NAME arm7tdmi 3 | set CPU_ARCH armv4t 4 | set CPU_MAX_ADDRESS 0xFFFFFFFF 5 | set CPU_NBITS 32 6 | 7 | -------------------------------------------------------------------------------- /tcl/cpu/arm/arm920.tcl: -------------------------------------------------------------------------------- 1 | set CPU_TYPE arm 2 | set CPU_NAME arm920 3 | set CPU_ARCH armv4t 4 | set CPU_MAX_ADDRESS 0xFFFFFFFF 5 | set CPU_NBITS 32 6 | 7 | -------------------------------------------------------------------------------- /tcl/cpu/arm/arm946.tcl: -------------------------------------------------------------------------------- 1 | set CPU_TYPE arm 2 | set CPU_NAME arm946 3 | set CPU_ARCH armv5te 4 | set CPU_MAX_ADDRESS 0xFFFFFFFF 5 | set CPU_NBITS 32 6 | 7 | -------------------------------------------------------------------------------- /tcl/cpu/arm/arm966.tcl: -------------------------------------------------------------------------------- 1 | set CPU_TYPE arm 2 | set CPU_NAME arm966 3 | set CPU_ARCH armv5te 4 | set CPU_MAX_ADDRESS 0xFFFFFFFF 5 | set CPU_NBITS 32 6 | 7 | -------------------------------------------------------------------------------- /tcl/cpu/arm/cortex_m3.tcl: -------------------------------------------------------------------------------- 1 | set CPU_TYPE arm 2 | set CPU_NAME cortex_m3 3 | set CPU_ARCH armv7 4 | set CPU_MAX_ADDRESS 0xFFFFFFFF 5 | set CPU_NBITS 32 6 | 7 | -------------------------------------------------------------------------------- /tcl/fpga/altera-10m50.cfg: -------------------------------------------------------------------------------- 1 | # Altera MAX10 10M50SAE144C8GES FPGA 2 | # see MAX 10 FPGA Device Architecture 3 | # Table 3-1: IDCODE Information for MAX 10 Devices 4 | # Version Part Number Manuf. ID LSB 5 | # 0000 0011 0001 1000 0101 000 0110 1110 1 6 | jtag newtap 10m50 tap -expected-id 0x031850dd -irlen 10 7 | -------------------------------------------------------------------------------- /tcl/fpga/altera-ep3c10.cfg: -------------------------------------------------------------------------------- 1 | # Altera Cyclone III EP3C10 2 | # see Cyclone III Device Handbook, Volume 1; 3 | # Table 14–5. 32-Bit Cyclone III Device IDCODE 4 | jtag newtap ep3c10 tap -expected-id 0x020f10dd -irlen 10 5 | -------------------------------------------------------------------------------- /tcl/interface/altera-usb-blaster.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Altera USB-Blaster 3 | # 4 | # http://www.altera.com/literature/ug/ug_usb_blstr.pdf 5 | # 6 | 7 | interface usb_blaster 8 | # These are already the defaults. 9 | # usb_blaster_vid_pid 0x09FB 0x6001 10 | # usb_blaster_device_desc "USB-Blaster" 11 | -------------------------------------------------------------------------------- /tcl/interface/altera-usb-blaster2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Altera USB-Blaster II 3 | # 4 | 5 | interface usb_blaster 6 | usb_blaster_vid_pid 0x09fb 0x6010 0x09fb 0x6810 7 | usb_blaster_lowlevel_driver ublast2 8 | usb_blaster_firmware /path/to/quartus/blaster_6810.hex 9 | -------------------------------------------------------------------------------- /tcl/interface/arm-jtag-ew.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Olimex ARM-JTAG-EW 3 | # 4 | # http://www.olimex.com/dev/arm-jtag-ew.html 5 | # 6 | 7 | interface arm-jtag-ew 8 | 9 | -------------------------------------------------------------------------------- /tcl/interface/at91rm9200.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Various Atmel AT91RM9200 boards 3 | # 4 | # TODO: URL? 5 | # 6 | 7 | interface at91rm9200 8 | at91rm9200_device rea_ecr 9 | 10 | -------------------------------------------------------------------------------- /tcl/interface/buspirate.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Buspirate with OpenOCD support 3 | # 4 | # http://dangerousprototypes.com/bus-pirate-manual/ 5 | # 6 | 7 | interface buspirate 8 | 9 | # you need to specify port on which BP lives 10 | #buspirate_port /dev/ttyUSB0 11 | 12 | # communication speed setting 13 | buspirate_speed normal ;# or fast 14 | 15 | # voltage regulator Enabled = 1 Disabled = 0 16 | #buspirate_vreg 0 17 | 18 | # pin mode normal or open-drain 19 | #buspirate_mode normal 20 | 21 | # pullup state Enabled = 1 Disabled = 0 22 | #buspirate_pullup 0 23 | 24 | # this depends on the cable, you are safe with this option 25 | reset_config srst_only 26 | 27 | -------------------------------------------------------------------------------- /tcl/interface/calao-usb-a9260.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # CALAO Systems USB-A9260 common -C01 -C02 setup 3 | # 4 | # http://www.calao-systems.com/ 5 | # 6 | # See calao-usb-a9260-c01.cfg and calao-usb-a9260-c02.cfg. 7 | # 8 | 9 | adapter_nsrst_delay 200 10 | jtag_ntrst_delay 200 11 | 12 | -------------------------------------------------------------------------------- /tcl/interface/chameleon.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Amontec Chameleon POD 3 | # 4 | # http://www.amontec.com/chameleon.shtml 5 | # 6 | 7 | interface parport 8 | parport_cable chameleon 9 | 10 | -------------------------------------------------------------------------------- /tcl/interface/cmsis-dap.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # ARM CMSIS-DAP compliant adapter 3 | # 4 | # http://www.keil.com/support/man/docs/dapdebug/ 5 | # 6 | 7 | interface cmsis-dap 8 | 9 | # Optionally specify the serial number of CMSIS-DAP usb device. 10 | #cmsis_dap_serial 02200201E6661E601B98E3B9 11 | -------------------------------------------------------------------------------- /tcl/interface/dummy.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Dummy interface (for testing purposes) 3 | # 4 | 5 | interface dummy 6 | 7 | -------------------------------------------------------------------------------- /tcl/interface/estick.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # eStick 3 | # 4 | # http://code.google.com/p/estick-jtag/ 5 | # 6 | 7 | interface opendous 8 | -------------------------------------------------------------------------------- /tcl/interface/flashlink.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # ST FlashLINK JTAG parallel cable 3 | # 4 | # http://www.st.com/internet/evalboard/product/94023.jsp 5 | # http://www.st.com/stonline/products/literature/um/7889.pdf 6 | # 7 | 8 | if { [info exists PARPORTADDR] } { 9 | set _PARPORTADDR $PARPORTADDR 10 | } else { 11 | set _PARPORTADDR 0 12 | } 13 | 14 | interface parport 15 | parport_port $_PARPORTADDR 16 | parport_cable flashlink 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/100ask-openjtag.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # www.100ask.org OpenJTAG 3 | # 4 | # http://www.100ask.net/OpenJTAG.html 5 | # 6 | # Schematics are available from 7 | # https://blog.matthiasbock.net/wp-content/uploads/2015/04/100ask-JTAGv3.pdf 8 | # 9 | 10 | interface ftdi 11 | ftdi_device_desc "USB<=>JTAG&RS232" 12 | ftdi_vid_pid 0x1457 0x5118 13 | 14 | ftdi_layout_init 0x0f08 0x0f1b 15 | ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 16 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/axm0432.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Axiom axm0432 3 | # 4 | # http://www.axman.com 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "Symphony SoundBite" 14 | ftdi_vid_pid 0x0403 0x6010 15 | 16 | ftdi_layout_init 0x0c08 0x0c2b 17 | ftdi_layout_signal nTRST -data 0x0800 18 | ftdi_layout_signal nSRST -data 0x0400 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/calao-usb-a9260-c01.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # CALAO Systems USB-A9260-C01 3 | # 4 | # http://www.calao-systems.com/ 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, but is assumed to work as this" 9 | echo "interface uses the same layout as configs that were verified. Please report your" 10 | echo "experience with this file to openocd-devel mailing list, so it could be marked" 11 | echo "as working or fixed." 12 | 13 | interface ftdi 14 | ftdi_device_desc "USB-A9260" 15 | ftdi_vid_pid 0x0403 0x6010 16 | 17 | ftdi_layout_init 0x0c08 0x0f1b 18 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 19 | ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 20 | 21 | script interface/calao-usb-a9260.cfg 22 | script target/at91sam9260minimal.cfg 23 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/calao-usb-a9260-c02.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # CALAO Systems USB-A9260-C02 3 | # 4 | # http://www.calao-systems.com/ 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, but is assumed to work as this" 9 | echo "interface uses the same layout as configs that were verified. Please report your" 10 | echo "experience with this file to openocd-devel mailing list, so it could be marked" 11 | echo "as working or fixed." 12 | 13 | interface ftdi 14 | ftdi_device_desc "USB-A9260" 15 | ftdi_vid_pid 0x0403 0x6001 16 | 17 | ftdi_layout_init 0x0c08 0x0f1b 18 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 19 | ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 20 | 21 | script interface/calao-usb-a9260.cfg 22 | script target/at91sam9260minimal.cfg 23 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/cortino.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Hitex Cortino 3 | # 4 | # http://www.hitex.com/index.php?id=cortino 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Cortino" 9 | ftdi_vid_pid 0x0640 0x0032 10 | 11 | ftdi_layout_init 0x0108 0x010b 12 | ftdi_layout_signal nTRST -data 0x0100 13 | ftdi_layout_signal nSRST -data 0x0200 -oe 0x0200 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/digilent-hs1.cfg: -------------------------------------------------------------------------------- 1 | # this supports JTAG-HS1 and JTAG-SMT1 2 | # (the later being the OEM on-board version) 3 | 4 | interface ftdi 5 | ftdi_device_desc "Digilent Adept USB Device" 6 | ftdi_vid_pid 0x0403 0x6010 7 | # channel 1 does not have any functionality 8 | ftdi_channel 0 9 | # just TCK TDI TDO TMS, no reset 10 | ftdi_layout_init 0x0088 0x008b 11 | reset_config none 12 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/digilent-hs2.cfg: -------------------------------------------------------------------------------- 1 | # this supports JTAG-HS2 (and apparently Nexys4 as well) 2 | 3 | interface ftdi 4 | ftdi_device_desc "Digilent Adept USB Device" 5 | ftdi_vid_pid 0x0403 0x6014 6 | 7 | ftdi_channel 0 8 | ftdi_layout_init 0x00e8 0x60eb 9 | 10 | reset_config none 11 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/digilent_jtag_hs3.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Digilent JTAG-HS3 3 | # 4 | 5 | interface ftdi 6 | ftdi_vid_pid 0x0403 0x6014 7 | ftdi_device_desc "Digilent USB Device" 8 | 9 | # From Digilent support: 10 | # The SRST pin is [...] 0x20 and 0x10 is the /OE (active low output enable) 11 | 12 | ftdi_layout_init 0x2088 0x308b 13 | ftdi_layout_signal nSRST -data 0x2000 -noe 0x1000 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/digilent_jtag_smt2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Digilent JTAG-SMT2 3 | # 4 | # http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,395,1053&Prod=JTAG-SMT2 5 | # 6 | # Config is based on data from 7 | # http://electronix.ru/forum/index.php?showtopic=114633&view=findpost&p=1215497 and ZedBoard schematics 8 | # 9 | 10 | interface ftdi 11 | ftdi_vid_pid 0x0403 0x6014 12 | 13 | ftdi_layout_init 0x2088 0x3f8b 14 | ftdi_layout_signal nSRST -data 0x2000 15 | ftdi_layout_signal GPIO2 -data 0x2000 16 | ftdi_layout_signal GPIO1 -data 0x0200 17 | ftdi_layout_signal GPIO0 -data 0x0100 18 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/dlp-usb1232h.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # DLP Design DLP-USB1232H USB-to-UART/FIFO interface module 3 | # 4 | # http://www.dlpdesign.com/usb/usb1232h.shtml 5 | # 6 | # Schematics for OpenOCD usage: 7 | # http://randomprojects.org/wiki/DLP-USB1232H_and_OpenOCD_based_JTAG_adapter 8 | # 9 | 10 | echo "WARNING!" 11 | echo "This file was not tested with real interface, it is based on schematics and code" 12 | echo "in ft2232.c. Please report your experience with this file to openocd-devel" 13 | echo "mailing list, so it could be marked as working or fixed." 14 | 15 | interface ftdi 16 | ftdi_device_desc "Dual RS232-HS" 17 | ftdi_vid_pid 0x0403 0x6010 18 | 19 | ftdi_layout_init 0x0008 0x000b 20 | ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 21 | ftdi_layout_signal nSRST -data 0x0040 -oe 0x0040 22 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/dp_busblaster.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Dangerous Prototypes - Bus Blaster 3 | # 4 | # The Bus Blaster has a configurable buffer between the FTDI FT2232H and the 5 | # JTAG header which allows it to emulate various debugger types. It comes 6 | # configured as a JTAGkey device. 7 | # 8 | # http://dangerousprototypes.com/docs/Bus_Blaster 9 | # 10 | 11 | echo "Info : If you need SWD support, flash KT-Link buffer from https://github.com/bharrisau/busblaster 12 | and use dp_busblaster_kt-link.cfg instead" 13 | 14 | interface ftdi 15 | ftdi_device_desc "Dual RS232-HS" 16 | ftdi_vid_pid 0x0403 0x6010 17 | 18 | ftdi_layout_init 0x0c08 0x0f1b 19 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 20 | ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 21 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/flyswatter.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TinCanTools Flyswatter 3 | # 4 | # http://www.tincantools.com/product.php?productid=16134 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Flyswatter" 9 | ftdi_vid_pid 0x0403 0x6010 10 | 11 | ftdi_layout_init 0x0818 0x0cfb 12 | ftdi_layout_signal nTRST -data 0x0010 13 | ftdi_layout_signal nSRST -oe 0x0020 14 | ftdi_layout_signal LED -data 0x0c00 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/flyswatter2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TinCanTools Flyswatter2 3 | # 4 | # http://www.tincantools.com/product.php?productid=16153 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Flyswatter2" 9 | ftdi_vid_pid 0x0403 0x6010 10 | 11 | ftdi_layout_init 0x0538 0x057b 12 | ftdi_layout_signal LED -ndata 0x0400 13 | ftdi_layout_signal nTRST -data 0x0010 14 | ftdi_layout_signal nSRST -data 0x0020 -noe 0x0100 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/gw16042.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Gateworks GW16042 JTAG Dongle 3 | # 4 | # http://www.gateworks.com/ 5 | # 6 | # Layout: FTDI FT2232H 7 | # ADBUS0 TCK 8 | # ADBUS1 TDI 9 | # ADBUS2 TDO (input) 10 | # ADBUS3 TMS 11 | # ADBUS4 nTRST 12 | # ADBUS5 nSRST 13 | # ADBUS6 OE (active high) for TRST, TDI, TMS, TCK 14 | # ADBUS7 NC 15 | # ACBUS0-7 NC 16 | # BDBUS0 RXD 17 | # BDBUS1 TXD (input) 18 | # 19 | 20 | interface ftdi 21 | ftdi_device_desc "USB-JTAG" 22 | ftdi_vid_pid 0x0403 0x6010 23 | 24 | ftdi_layout_init 0x0058 0x007b 25 | ftdi_layout_signal nTRST -data 0x0010 26 | ftdi_layout_signal nSRST -oe 0x0020 27 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/hilscher_nxhx10_etm.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Hilscher NXHX 10-ETM 3 | # 4 | # http://de.hilscher.com/products_details_hardware.html?p_id=P_4ce145a5983e6 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "NXHX 10-ETM" 14 | ftdi_vid_pid 0x0640 0x0028 15 | 16 | ftdi_layout_init 0x0308 0x030b 17 | ftdi_layout_signal nTRST -data 0x0100 18 | ftdi_layout_signal nSRST -data 0x0200 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/hilscher_nxhx500_etm.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Hilscher NXHX 500-ETM 3 | # 4 | # http://de.hilscher.com/files_design/8/NXHX500-ETM_description_Rev01_EN.pdf 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "NXHX 500-ETM" 14 | ftdi_vid_pid 0x0640 0x0028 15 | 16 | ftdi_layout_init 0x0308 0x030b 17 | ftdi_layout_signal nTRST -data 0x0100 18 | ftdi_layout_signal nSRST -data 0x0200 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/hilscher_nxhx500_re.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Hilscher NXHX 500-RE 3 | # 4 | # http://de.hilscher.com/products_details_hardware.html?p_id=P_461ff2053bad1&bs=20 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "NXHX 500-RE" 14 | ftdi_vid_pid 0x0640 0x0028 15 | 16 | ftdi_layout_init 0x0308 0x030b 17 | ftdi_layout_signal nTRST -data 0x0100 18 | ftdi_layout_signal nSRST -data 0x0200 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/hilscher_nxhx50_etm.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Hilscher NXHX 50-ETM 3 | # 4 | # http://de.hilscher.com/files_design/8/NXHX50-ETM_description_Rev01_EN.pdf 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "NXHX 50-ETM" 14 | ftdi_vid_pid 0x0640 0x0028 15 | 16 | ftdi_layout_init 0x0308 0x030b 17 | ftdi_layout_signal nTRST -data 0x0100 18 | ftdi_layout_signal nSRST -data 0x0200 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/hilscher_nxhx50_re.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Hilscher NXHX 50-RE 3 | # 4 | # http://de.hilscher.com/products_details_hardware.html?p_id=P_483c0f582ad36&bs=20 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "NXHX50-RE" 14 | ftdi_vid_pid 0x0640 0x0028 15 | 16 | ftdi_layout_init 0x0308 0x030b 17 | ftdi_layout_signal nTRST -data 0x0100 18 | ftdi_layout_signal nSRST -data 0x0200 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/hitex_lpc1768stick.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Hitex LPC1768-Stick 3 | # 4 | # http://www.hitex.com/?id=1602 5 | # 6 | 7 | 8 | interface ftdi 9 | ftdi_device_desc "LPC1768-Stick" 10 | ftdi_vid_pid 0x0640 0x0026 11 | 12 | ftdi_layout_init 0x0388 0x038b 13 | ftdi_layout_signal nTRST -data 0x0100 14 | ftdi_layout_signal nSRST -data 0x0080 -noe 0x200 15 | 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/hitex_str9-comstick.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Hitex STR9-comStick 3 | # 4 | # http://www.hitex.com/index.php?id=383 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "STR9-comStick" 9 | ftdi_vid_pid 0x0640 0x002c 10 | 11 | ftdi_layout_init 0x0108 0x010b 12 | ftdi_layout_signal nTRST -data 0x0100 13 | ftdi_layout_signal nSRST -data 0x0200 -oe 0x0200 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/icebear.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Section5 ICEBear 3 | # 4 | # http://section5.ch/icebear 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "ICEbear JTAG adapter" 14 | ftdi_vid_pid 0x0403 0xc140 15 | 16 | ftdi_layout_init 0x0028 0x002b 17 | ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 18 | ftdi_layout_signal nSRST -data 0x0020 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/iotlab-usb.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # This is the integrated adapter as found on the IoT-LAB boards 3 | # https://github.com/iot-lab/iot-lab/wiki 4 | # 5 | 6 | interface ftdi 7 | ftdi_vid_pid 0x0403 0x6010 8 | 9 | ftdi_layout_init 0x0008 0x000b 10 | ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 11 | ftdi_layout_signal nSRST -data 0x0040 -oe 0x0040 12 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/jtag-lock-pick_tiny_2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # DISTORTEC JTAG-lock-pick Tiny 2 3 | # 4 | # http://www.distortec.com 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "JTAG-lock-pick Tiny 2" 9 | ftdi_vid_pid 0x0403 0x8220 10 | 11 | ftdi_layout_init 0x8c28 0xff3b 12 | ftdi_layout_signal SWD_EN -ndata 0x0020 -oe 0x2000 13 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 14 | ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 15 | ftdi_layout_signal SWDIO_OE -ndata 0x1000 16 | ftdi_layout_signal LED -ndata 0x8000 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/jtagkey.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Amontec JTAGkey 3 | # 4 | # http://www.amontec.com/jtagkey.shtml 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Amontec JTAGkey" 9 | ftdi_vid_pid 0x0403 0xcff8 10 | 11 | ftdi_layout_init 0x0c08 0x0f1b 12 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 13 | ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/jtagkey2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Amontec JTAGkey2 3 | # 4 | # http://www.amontec.com/jtagkey2.shtml 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Amontec JTAGkey-2" 9 | ftdi_vid_pid 0x0403 0xcff8 10 | 11 | ftdi_layout_init 0x0c08 0x0f1b 12 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 13 | ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/jtagkey2p.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Amontec JTAGkey2P 3 | # 4 | # http://www.amontec.com/jtagkey2p.shtml 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Amontec JTAGkey-2P" 9 | ftdi_vid_pid 0x0403 0xcff8 10 | 11 | ftdi_layout_init 0x0c08 0x0f1b 12 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 13 | ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/kt-link.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Kristech KT-Link 3 | # 4 | # http://www.kristech.eu 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "KT-LINK" 9 | ftdi_vid_pid 0x0403 0xbbe2 10 | 11 | ftdi_layout_init 0x8c28 0xff3b 12 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 13 | ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 14 | ftdi_layout_signal LED -data 0x8000 15 | ftdi_layout_signal SWD_EN -ndata 0x0020 -oe 0x2000 16 | ftdi_layout_signal SWDIO_OE -ndata 0x1000 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/lisa-l.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Lisa/L 3 | # 4 | # http://paparazzi.enac.fr/wiki/Lisa 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on schematics and code" 9 | echo "in ft2232.c. Please report your experience with this file to openocd-devel" 10 | echo "mailing list, so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "Lisa/L" 14 | ftdi_vid_pid 0x0403 0x6010 15 | ftdi_channel 1 16 | 17 | ftdi_layout_init 0x0008 0x180b 18 | ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 19 | ftdi_layout_signal nSRST -data 0x0040 -oe 0x0040 20 | ftdi_layout_signal LED -data 0x1800 21 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/m53evk.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # DENX M53EVK 3 | # 4 | # http://www.denx-cs.de/?q=M53EVK 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Dual RS232-HS" 9 | ftdi_vid_pid 0x0403 0x6010 10 | 11 | ftdi_channel 0 12 | ftdi_layout_init 0x0008 0x000b 13 | ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 14 | ftdi_layout_signal nSRST -data 0x0020 -oe 0x0020 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/mbftdi.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # MBFTDI 3 | # 4 | # http://www.marsohod.org/prodmbftdi 5 | # 6 | # Also the Marsohod2 and the Marsohod3 boards 7 | # include a built-in MBFTDI for FPGA programming. 8 | # See http://www.marsohod.org/prodmarsohod2 9 | # and http://www.marsohod.org/plata-marsokhod3 for details. 10 | # 11 | 12 | interface ftdi 13 | ftdi_device_desc "Dual RS232-HS" 14 | ftdi_vid_pid 0x0403 0x6010 15 | 16 | ftdi_layout_init 0x0008 0x000b 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/minimodule.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # FTDI MiniModule 3 | # 4 | # http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_FT2232H_Mini_Module.pdf 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "FT2232H MiniModule" 14 | ftdi_vid_pid 0x0403 0x6010 15 | 16 | ftdi_layout_init 0x0018 0x05fb 17 | ftdi_layout_signal nSRST -data 0x0020 18 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/minispartan6.cfg: -------------------------------------------------------------------------------- 1 | # https://www.scarabhardware.com/minispartan6/ 2 | # https://github.com/scarabhardware/miniSpartan6-plus/raw/master/miniSpartan6%2B_Rev_B.pdf 3 | interface ftdi 4 | # The miniSpartan6+ sadly doesn't have a custom device description, so we just 5 | # have to hope you got it right. 6 | #ftdi_device_desc "Dual RS232-HS" 7 | ftdi_vid_pid 0x0403 0x6010 8 | # interface 1 is the uart 9 | ftdi_channel 0 10 | # just TCK TDI TDO TMS, no reset 11 | ftdi_layout_init 0x0008 0x000b 12 | reset_config none 13 | # this generally works fast: the fpga can handle 30MHz, the spi flash can handle 14 | # 54MHz with simple read, no dummy cycles, and wait-for-write-completion 15 | adapter_khz 30000 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/neodb.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Openmoko USB JTAG/RS232 adapter 3 | # 4 | # http://wiki.openmoko.org/wiki/Debug_Board_v3 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Debug Board for Neo1973" 9 | ftdi_vid_pid 0x1457 0x5118 10 | 11 | ftdi_layout_init 0x0508 0x0f1b 12 | ftdi_layout_signal nTRST -data 0x0200 -noe 0x0100 13 | ftdi_layout_signal nSRST -data 0x0800 -noe 0x0400 14 | ftdi_layout_signal nNOR_WP -data 0x0010 -oe 0x0010 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/ngxtech.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # NGX ARM USB JTAG 3 | # 4 | # http://shop.ngxtechnologies.com/product_info.php?cPath=26&products_id=30 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, but is assumed to work as this" 9 | echo "interface uses the same layout as configs that were verified. Please report your" 10 | echo "experience with this file to openocd-devel mailing list, so it could be marked" 11 | echo "as working or fixed." 12 | 13 | interface ftdi 14 | ftdi_device_desc "NGX JTAG" 15 | ftdi_vid_pid 0x0403 0x6010 16 | 17 | ftdi_layout_init 0x0508 0x0f1b 18 | ftdi_layout_signal nTRST -data 0x0200 -noe 0x0100 19 | ftdi_layout_signal nSRST -data 0x0800 -noe 0x0400 20 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/olimex-arm-jtag-swd.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Olimex ARM JTAG SWD adapter 3 | # https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-SWD/ 4 | # 5 | 6 | transport select swd 7 | 8 | ftdi_layout_signal SWD_EN -nalias nTRST 9 | ftdi_layout_signal SWDIO_OE -alias TMS 10 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/olimex-arm-usb-ocd-h.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Olimex ARM-USB-OCD-H 3 | # 4 | # http://www.olimex.com/dev/arm-usb-ocd-h.html 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Olimex OpenOCD JTAG ARM-USB-OCD-H" 9 | ftdi_vid_pid 0x15ba 0x002b 10 | 11 | ftdi_layout_init 0x0908 0x0b1b 12 | ftdi_layout_signal nSRST -oe 0x0200 13 | ftdi_layout_signal nTRST -data 0x0100 14 | ftdi_layout_signal LED -data 0x0800 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/olimex-arm-usb-ocd.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Olimex ARM-USB-OCD 3 | # 4 | # http://www.olimex.com/dev/arm-usb-ocd.html 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Olimex OpenOCD JTAG" 9 | ftdi_vid_pid 0x15ba 0x0003 10 | 11 | ftdi_layout_init 0x0c08 0x0f1b 12 | ftdi_layout_signal nSRST -oe 0x0200 13 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 14 | ftdi_layout_signal LED -data 0x0800 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/olimex-arm-usb-tiny-h.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Olimex ARM-USB-TINY-H 3 | # 4 | # http://www.olimex.com/dev/arm-usb-tiny-h.html 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Olimex OpenOCD JTAG ARM-USB-TINY-H" 9 | ftdi_vid_pid 0x15ba 0x002a 10 | 11 | ftdi_layout_init 0x0808 0x0a1b 12 | ftdi_layout_signal nSRST -oe 0x0200 13 | ftdi_layout_signal nTRST -data 0x0100 -oe 0x0100 14 | ftdi_layout_signal LED -data 0x0800 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/olimex-jtag-tiny.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Olimex ARM-USB-TINY 3 | # 4 | # http://www.olimex.com/dev/arm-usb-tiny.html 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Olimex OpenOCD JTAG TINY" 9 | ftdi_vid_pid 0x15ba 0x0004 10 | 11 | ftdi_layout_init 0x0808 0x0a1b 12 | ftdi_layout_signal nSRST -oe 0x0200 13 | ftdi_layout_signal nTRST -data 0x0100 -oe 0x0100 14 | ftdi_layout_signal LED -data 0x0800 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/oocdlink.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Joern Kaipf's OOCDLink 3 | # 4 | # http://www.joernonline.de/contrexx2/cms/index.php?page=126 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, but is assumed to work as this" 9 | echo "interface uses the same layout as configs that were verified. Please report your" 10 | echo "experience with this file to openocd-devel mailing list, so it could be marked" 11 | echo "as working or fixed." 12 | 13 | interface ftdi 14 | ftdi_device_desc "OOCDLink" 15 | ftdi_vid_pid 0x0403 0xbaf8 16 | 17 | ftdi_layout_init 0x0508 0x0f1b 18 | ftdi_layout_signal nTRST -data 0x0200 -noe 0x0100 19 | ftdi_layout_signal nSRST -data 0x0800 -noe 0x0400 20 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/opendous_ftdi.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Opendous 3 | # 4 | # http://code.google.com/p/opendous/wiki/JTAG 5 | # 6 | # According to the website, it is similar to jtagkey, but it uses channel B 7 | # (and it has a different pid number). 8 | # 9 | 10 | interface ftdi 11 | ftdi_device_desc "Dual RS232-HS" 12 | ftdi_vid_pid 0x0403 0x6010 13 | ftdi_channel 1 14 | 15 | ftdi_layout_init 0x0c08 0x0f1b 16 | ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 17 | ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 18 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/openocd-usb-hs.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # embedded projects openocd usb adapter v3 3 | # 4 | # http://shop.embedded-projects.net/index.php?module=artikel&action=artikel&id=14 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Dual RS232-HS" 9 | ftdi_vid_pid 0x0403 0x6010 10 | 11 | ftdi_layout_init 0x0508 0x0f1b 12 | ftdi_layout_signal nTRST -data 0x0200 -noe 0x0100 13 | ftdi_layout_signal nSRST -data 0x0800 -noe 0x0400 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/openocd-usb.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Hubert Hoegl's USB to JTAG 3 | # 4 | # http://www.hs-augsburg.de/~hhoegl/proj/usbjtag/usbjtag.html 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Dual RS232" 9 | ftdi_vid_pid 0x0403 0x6010 10 | 11 | ftdi_layout_init 0x0508 0x0f1b 12 | ftdi_layout_signal nTRST -data 0x0200 -noe 0x0100 13 | ftdi_layout_signal nSRST -data 0x0800 -noe 0x0400 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/openrd.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Marvell OpenRD 3 | # 4 | # http://www.marvell.com/products/embedded_processors/developer/kirkwood/openrd.jsp 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "OpenRD JTAGKey FT2232D" 14 | ftdi_vid_pid 0x0403 0x9e90 15 | ftdi_channel 1 16 | 17 | ftdi_layout_init 0x0608 0x0f1b 18 | ftdi_layout_signal nTRST -data 0x0200 19 | ftdi_layout_signal nSRST -noe 0x0400 20 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/pipistrello.cfg: -------------------------------------------------------------------------------- 1 | # http://pipistrello.saanlima.com/ 2 | # http://www.saanlima.com/download/pipistrello-v2.0/pipistrello_v2_schematic.pdf 3 | interface ftdi 4 | ftdi_device_desc "Pipistrello LX45" 5 | ftdi_vid_pid 0x0403 0x6010 6 | # interface 1 is the uart 7 | ftdi_channel 0 8 | # just TCK TDI TDO TMS, no reset 9 | ftdi_layout_init 0x0008 0x000b 10 | reset_config none 11 | # this generally works fast: the fpga can handle 30MHz, the spi flash can handle 12 | # 54MHz with simple read, no dummy cycles, and wait-for-write-completion 13 | adapter_khz 30000 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/redbee-econotag.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Redwire Redbee-Econotag 3 | # 4 | # http://www.redwirellc.com/store/node/1 5 | # 6 | # The Redbee-Econotag has an onboard FT2232H with: 7 | # - FT2232H channel A wired to mc13224v JTAG 8 | # - FT2232H channel B wired to mc13224v UART1 9 | # 10 | 11 | echo "WARNING!" 12 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 13 | echo "Please report your experience with this file to openocd-devel mailing list," 14 | echo "so it could be marked as working or fixed." 15 | 16 | interface ftdi 17 | ftdi_vid_pid 0x0403 0x6010 18 | 19 | ftdi_layout_init 0x0c08 0x0c2b 20 | ftdi_layout_signal nTRST -data 0x0800 21 | ftdi_layout_signal nSRST -data 0x0400 22 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/redbee-usb.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Redwire Redbee-USB 3 | # 4 | # http://www.redwirellc.com 5 | # 6 | # The Redbee-USB has an onboard FT2232H with: 7 | # - FT2232H channel B wired to mc13224v JTAG 8 | # - FT2232H channel A wired to mc13224v UART1 9 | # 10 | 11 | echo "WARNING!" 12 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 13 | echo "Please report your experience with this file to openocd-devel mailing list," 14 | echo "so it could be marked as working or fixed." 15 | 16 | interface ftdi 17 | ftdi_vid_pid 0x0403 0x6010 18 | ftdi_channel 1 19 | 20 | ftdi_layout_init 0x0c08 0x0c2b 21 | ftdi_layout_signal nTRST -data 0x0800 22 | ftdi_layout_signal nSRST -data 0x0400 23 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/rowley-cc-arm-swd.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Rowley ARM SWD Adapter 3 | # http://sites.fastspring.com/rowley/product/armswdadapter 4 | # https://drive.google.com/file/d/0Bzv7UpKpOQhnTUNNdzI5OUR4WGs/edit?usp=sharing 5 | # 6 | 7 | transport select swd 8 | 9 | ftdi_layout_signal SWD_EN -nalias nTRST 10 | ftdi_layout_signal SWDIO_OE -alias TMS 11 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/sheevaplug.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Marvel SheevaPlug Development Kit 3 | # 4 | # http://www.marvell.com/products/embedded_processors/developer/kirkwood/sheevaplug.jsp 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "SheevaPlug JTAGKey FT2232D B" 9 | ftdi_vid_pid 0x9e88 0x9e8f 10 | ftdi_channel 1 11 | 12 | ftdi_layout_init 0x0608 0x0f1b 13 | ftdi_layout_signal nTRST -data 0x0200 14 | ftdi_layout_signal nSRST -noe 0x0400 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/signalyzer-lite.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Xverve Signalyzer LITE (DT-USB-SLITE) 3 | # 4 | # http://www.signalyzer.com 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "Signalyzer LITE" 14 | ftdi_vid_pid 0x0403 0xbca1 15 | 16 | ftdi_layout_init 0x0008 0x000b 17 | ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 18 | ftdi_layout_signal nSRST -data 0x0020 -oe 0x0020 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/signalyzer.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Xverve Signalyzer Tool (DT-USB-ST) 3 | # 4 | # http://www.signalyzer.com 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on code in ft2232.c." 9 | echo "Please report your experience with this file to openocd-devel mailing list," 10 | echo "so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "Signalyzer" 14 | ftdi_vid_pid 0x0403 0xbca0 15 | 16 | ftdi_layout_init 0x0008 0x000b 17 | ftdi_layout_signal nTRST -data 0x0010 -oe 0x0010 18 | ftdi_layout_signal nSRST -data 0x0020 -oe 0x0020 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/sony-ft232h-with-resistor.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Sony FT232H board with an external registor (390ohm) 3 | # 4 | # ADBUS0 (TXD) -> SWCLK (#9) 5 | # ADBUS1 (RXD) + R -> SWDIO (#7) 6 | # ADBUS2 (RTS#) <- SWDIO (#7) 7 | # ADBUS6 (DCD#) -> SRST (#15) 8 | # 9 | 10 | interface ftdi 11 | ftdi_vid_pid 0x0403 0x6014 12 | 13 | ftdi_channel 0 14 | ftdi_layout_init 0x0058 0x005b 15 | ftdi_layout_signal nSRST -data 0x0040 -oe 0x0040 16 | ftdi_layout_signal SWD_EN -data 0 17 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/stm32-stick.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Hitex STM32-PerformanceStick 3 | # 4 | # http://www.hitex.com/index.php?id=340 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "STM32-PerformanceStick" 9 | ftdi_vid_pid 0x0640 0x002d 10 | 11 | ftdi_layout_init 0x0388 0x038b 12 | ftdi_layout_signal nTRST -data 0x0100 13 | ftdi_layout_signal nSRST -data 0x0080 -noe 0x200 14 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/ti-icdi.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # This is an FTDI-based debugging solution as found on some TI boards, 3 | # e.g. CC3200 LaunchPad. 4 | # 5 | # The schematics are identical to luminary-icdi (including SWD 6 | # support) but the USB IDs are different. 7 | # 8 | 9 | interface ftdi 10 | ftdi_vid_pid 0x0451 0xc32a 11 | 12 | ftdi_layout_init 0x00a8 0x00eb 13 | ftdi_layout_signal nSRST -noe 0x0020 14 | ftdi_layout_signal SWD_EN -ndata 0x0080 15 | ftdi_layout_signal SWDIO_OE -data 0x0008 16 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/tumpa-lite.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TIAO USB Multi-Protocol Adapter (TUMPA) Lite 3 | # 4 | # http://www.diygadget.com/tiao-usb-multi-protocol-adapter-lite-jtag-spi-i2c-serial.html 5 | # 6 | 7 | interface ftdi 8 | ftdi_vid_pid 0x0403 0x8a99 9 | 10 | ftdi_layout_init 0x0038 0x087b 11 | ftdi_layout_signal nTRST -data 0x0020 -oe 0x0020 12 | ftdi_layout_signal nSRST -data 0x0010 -oe 0x0010 13 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/tumpa.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TIAO USB Multi-Protocol Adapter (TUMPA) 3 | # 4 | # http://www.diygadget.com/tiao-usb-multi-protocol-adapter-jtag-spi-i2c-serial.html 5 | # 6 | 7 | interface ftdi 8 | ftdi_vid_pid 0x0403 0x8a98 0x0403 0x6010 9 | 10 | ftdi_layout_init 0x0038 0x087b 11 | ftdi_layout_signal nTRST -data 0x0020 12 | ftdi_layout_signal nSRST -data 0x0010 13 | 14 | reset_config srst_push_pull 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/turtelizer2-revB.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # egnite Turtelizer 2 rev B (with SRST only) 3 | # 4 | # http://www.ethernut.de/en/hardware/turtelizer/index.html 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, it is based on schematics and code" 9 | echo "in ft2232.c. Please report your experience with this file to openocd-devel" 10 | echo "mailing list, so it could be marked as working or fixed." 11 | 12 | interface ftdi 13 | ftdi_device_desc "Turtelizer JTAG/RS232 Adapter" 14 | ftdi_vid_pid 0x0403 0xbdc8 15 | 16 | ftdi_layout_init 0x0008 0x0c5b 17 | ftdi_layout_signal nSRST -oe 0x0040 18 | ftdi_layout_signal LED -data 0x0c00 19 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/turtelizer2-revC.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # egnite Turtelizer 2 revC (with TRST and SRST) 3 | # 4 | # http://www.ethernut.de/en/hardware/turtelizer/index.html 5 | # 6 | 7 | interface ftdi 8 | ftdi_device_desc "Turtelizer JTAG/RS232 Adapter" 9 | ftdi_vid_pid 0x0403 0xbdc8 10 | 11 | ftdi_layout_init 0x0008 0x0c7b 12 | ftdi_layout_signal nTRST -oe 0x0020 13 | ftdi_layout_signal nSRST -oe 0x0040 14 | ftdi_layout_signal LED -ndata 0x0c00 15 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/vpaclink.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Voipac VPACLink 3 | # 4 | # http://voipac.com/27M-JTG-000 5 | # 6 | 7 | echo "WARNING!" 8 | echo "This file was not tested with real interface, but is assumed to work as this" 9 | echo "interface uses the same layout as configs that were verified. Please report your" 10 | echo "experience with this file to openocd-devel mailing list, so it could be marked" 11 | echo "as working or fixed." 12 | 13 | interface ftdi 14 | ftdi_device_desc "VPACLink" 15 | ftdi_vid_pid 0x0403 0x6010 16 | 17 | ftdi_layout_init 0x0508 0x0f1b 18 | ftdi_layout_signal nTRST -data 0x0200 -noe 0x0100 19 | ftdi_layout_signal nSRST -data 0x0800 -noe 0x0400 20 | -------------------------------------------------------------------------------- /tcl/interface/ftdi/xds100v3.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Texas Instruments XDS100 ver 3.0 3 | # 4 | # http://processors.wiki.ti.com/index.php/XDS100 5 | # 6 | 7 | # Version 3.0 is the same as 2.0 as far as OpenOCD is concerned 8 | source [find interface/ftdi/xds100v2.cfg] 9 | 10 | # The USB ids are different. 11 | ftdi_vid_pid 0x0403 0xa6d1 12 | -------------------------------------------------------------------------------- /tcl/interface/jlink.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # SEGGER J-Link 3 | # 4 | # http://www.segger.com/jlink.html 5 | # 6 | 7 | interface jlink 8 | 9 | # The serial number can be used to select a specific device in case more than 10 | # one is connected to the host. 11 | # 12 | # Example: Select J-Link with serial number 123456789 13 | # 14 | # jlink serial 123456789 15 | -------------------------------------------------------------------------------- /tcl/interface/jtag_vpi.cfg: -------------------------------------------------------------------------------- 1 | interface jtag_vpi 2 | 3 | # Set the VPI JTAG server port 4 | if { [info exists VPI_PORT] } { 5 | set _VPI_PORT $VPI_PORT 6 | } else { 7 | set _VPI_PORT 5555 8 | } 9 | 10 | # Set the VPI JTAG server address 11 | if { [info exists VPI_ADDRESS] } { 12 | set _VPI_ADDRESS $VPI_ADDRESS 13 | } else { 14 | set _VPI_ADDRESS "127.0.0.1" 15 | } 16 | 17 | jtag_vpi_set_port $_VPI_PORT 18 | jtag_vpi_set_address $_VPI_ADDRESS 19 | -------------------------------------------------------------------------------- /tcl/interface/nds32-aice.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Andes AICE 3 | # 4 | # http://www.andestech.com 5 | # 6 | 7 | interface aice 8 | aice desc "Andes AICE adapter" 9 | aice serial "C001-42163" 10 | aice vid_pid 0x1CFC 0x0000 11 | aice port aice_usb 12 | reset_config trst_and_srst 13 | adapter_khz 24000 14 | aice retry_times 50 15 | aice count_to_check_dbger 30 16 | -------------------------------------------------------------------------------- /tcl/interface/opendous.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # opendous-jtag 3 | # 4 | # http://code.google.com/p/opendous-jtag/ 5 | # 6 | 7 | interface opendous 8 | -------------------------------------------------------------------------------- /tcl/interface/openjtag.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # OpenJTAG 3 | # 4 | # www.openjtag.org 5 | # 6 | 7 | interface openjtag 8 | openjtag_device_desc "Open JTAG Project" -------------------------------------------------------------------------------- /tcl/interface/osbdm.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # P&E Micro OSBDM (aka OSJTAG) interface 3 | # 4 | # http://pemicro.com/osbdm/ 5 | # 6 | interface osbdm 7 | reset_config srst_only 8 | -------------------------------------------------------------------------------- /tcl/interface/parport.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Parallel port wiggler (many clones available) on port 0x378 3 | # 4 | # Addresses: 0x378/LPT1 or 0x278/LPT2 ... 5 | # 6 | 7 | if { [info exists PARPORTADDR] } { 8 | set _PARPORTADDR $PARPORTADDR 9 | } else { 10 | if {$tcl_platform(platform) eq "windows"} { 11 | set _PARPORTADDR 0x378 12 | } { 13 | set _PARPORTADDR 0 14 | } 15 | } 16 | 17 | interface parport 18 | parport_port $_PARPORTADDR 19 | parport_cable wiggler 20 | -------------------------------------------------------------------------------- /tcl/interface/parport_dlc5.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Xilinx Parallel Cable III 'DLC 5' (and various clones) 3 | # 4 | # http://www.xilinx.com/itp/xilinx4/data/docs/pac/appendixb.html 5 | # 6 | 7 | if { [info exists PARPORTADDR] } { 8 | set _PARPORTADDR $PARPORTADDR 9 | } else { 10 | set _PARPORTADDR 0 11 | } 12 | 13 | interface parport 14 | parport_port $_PARPORTADDR 15 | parport_cable dlc5 16 | 17 | -------------------------------------------------------------------------------- /tcl/interface/rlink.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Raisonance RLink 3 | # 4 | # http://www.mcu-raisonance.com/~rlink-debugger-programmer__microcontrollers__tool~tool__T018:4cn9ziz4bnx6.html 5 | # 6 | 7 | interface rlink 8 | 9 | -------------------------------------------------------------------------------- /tcl/interface/stlink-v1.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # STMicroelectronics ST-LINK/V1 in-circuit debugger/programmer 3 | # 4 | 5 | interface hla 6 | hla_layout stlink 7 | hla_device_desc "ST-LINK/V1" 8 | hla_vid_pid 0x0483 0x3744 9 | 10 | -------------------------------------------------------------------------------- /tcl/interface/stlink-v2-1.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # STMicroelectronics ST-LINK/V2-1 in-circuit debugger/programmer 3 | # 4 | 5 | interface hla 6 | hla_layout stlink 7 | hla_device_desc "ST-LINK/V2-1" 8 | hla_vid_pid 0x0483 0x374b 9 | 10 | # Optionally specify the serial number of ST-LINK/V2 usb device. ST-LINK/V2 11 | # devices seem to have serial numbers with unreadable characters. ST-LINK/V2 12 | # firmware version >= V2.J21.S4 recommended to avoid issues with adapter serial 13 | # number reset issues. 14 | # eg. 15 | #hla_serial "\xaa\xbc\x6e\x06\x50\x75\xff\x55\x17\x42\x19\x3f" 16 | 17 | -------------------------------------------------------------------------------- /tcl/interface/stlink-v2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # STMicroelectronics ST-LINK/V2 in-circuit debugger/programmer 3 | # 4 | 5 | interface hla 6 | hla_layout stlink 7 | hla_device_desc "ST-LINK/V2" 8 | hla_vid_pid 0x0483 0x3748 9 | 10 | # Optionally specify the serial number of ST-LINK/V2 usb device. ST-LINK/V2 11 | # devices seem to have serial numbers with unreadable characters. ST-LINK/V2 12 | # firmware version >= V2.J21.S4 recommended to avoid issues with adapter serial 13 | # number reset issues. 14 | # eg. 15 | #hla_serial "\xaa\xbc\x6e\x06\x50\x75\xff\x55\x17\x42\x19\x3f" 16 | 17 | -------------------------------------------------------------------------------- /tcl/interface/sysfsgpio-raspberrypi.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Config for using RaspberryPi's expansion header 3 | # 4 | # This is best used with a fast enough buffer but also 5 | # is suitable for direct connection if the target voltage 6 | # matches RPi's 3.3V 7 | # 8 | # Do not forget the GND connection, pin 6 of the expansion header. 9 | # 10 | 11 | interface sysfsgpio 12 | 13 | # Each of the JTAG lines need a gpio number set: tck tms tdi tdo 14 | # Header pin numbers: 23 22 19 21 15 | sysfsgpio_jtag_nums 11 25 10 9 16 | 17 | # At least one of srst or trst needs to be specified 18 | # Header pin numbers: TRST - 26, SRST - 18 19 | sysfsgpio_trst_num 7 20 | # sysfsgpio_srst_num 24 21 | 22 | -------------------------------------------------------------------------------- /tcl/interface/ti-icdi.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI Stellaris In-Circuit Debug Interface (ICDI) Board 3 | # 4 | # This is the propriety ICDI interface used on newer boards such as 5 | # LM4F232 Evaluation Kit - http://www.ti.com/tool/ek-lm4f232 6 | # Stellaris Launchpad - http://www.ti.com/stellaris-launchpad 7 | # http://www.ti.com/tool/ek-lm4f232 8 | # 9 | 10 | interface hla 11 | hla_layout ti-icdi 12 | hla_vid_pid 0x1cbe 0x00fd 13 | 14 | -------------------------------------------------------------------------------- /tcl/interface/ulink.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Keil ULINK running OpenULINK firmware. 3 | # 4 | # http://www.keil.com/ulink1/ 5 | # http://article.gmane.org/gmane.comp.debugging.openocd.devel/17362 6 | # 7 | 8 | interface ulink 9 | -------------------------------------------------------------------------------- /tcl/interface/usbprog.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Embedded Projects USBprog 3 | # 4 | # http://embedded-projects.net/index.php?page_id=135 5 | # 6 | 7 | interface usbprog 8 | # USBprog is broken w/short TMS sequences, this is a workaround 9 | # until the C code can be fixed. 10 | tms_sequence long 11 | -------------------------------------------------------------------------------- /tcl/interface/vsllink.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Versaloon Link -- VSLLink 3 | # 4 | # http://www.versaloon.com/ 5 | # 6 | 7 | interface vsllink 8 | 9 | -------------------------------------------------------------------------------- /tcl/target/alphascale_asm9260t.cfg: -------------------------------------------------------------------------------- 1 | if { [info exists CHIPNAME] } { 2 | set _CHIPNAME $_CHIPNAME 3 | } else { 4 | set _CHIPNAME asm9260t 5 | } 6 | 7 | if { [info exists ENDIAN] } { 8 | set _ENDIAN $ENDIAN 9 | } else { 10 | set _ENDIAN little 11 | } 12 | 13 | if { [info exists CPUTAPID] } { 14 | set _CPUTAPID $CPUTAPID 15 | } else { 16 | set _CPUTAPID 0x079264F3 17 | } 18 | 19 | # And srst_pulls_trst by chip design. 20 | reset_config srst_pulls_trst 21 | 22 | jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID 23 | 24 | set _TARGETNAME $_CHIPNAME.cpu 25 | target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME 26 | -------------------------------------------------------------------------------- /tcl/target/at32ap7000.cfg: -------------------------------------------------------------------------------- 1 | # Atmel AT32AP7000 2 | # 3 | # This is the only core in the now-inactive high end AVR32 product line, 4 | # with MMU, Java Acceleration, and "pixel coprocessor". The AP7 line 5 | # is for "Application Processors" (AP) with 7-stage pipelines. 6 | # 7 | # Most current AVR32 parts are in the UC3 flash based microcontroller (UC) 8 | # product line with 3-stage pipelines and without those extras. 9 | # 10 | # All AVR32 parts provide the Nexus Class 3 on-chip debug interfaces 11 | # through their JTAG interfaces. 12 | 13 | jtag newtap ap7 nexus -irlen 5 -expected-id 0x21e8203f 14 | 15 | # REVISIT declare an avr32 target ... needs OpenOCD infrastructure 16 | # for both Nexus (generic) and AVR32 (Atmel-specific). 17 | -------------------------------------------------------------------------------- /tcl/target/at91sam3ax_4x.cfg: -------------------------------------------------------------------------------- 1 | # common stuff 2 | source [find target/at91sam3ax_xx.cfg] 3 | 4 | # size is automatically "calculated" by probing 5 | set _FLASHNAME $_CHIPNAME.flash0 6 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 7 | # This is a 256K chip - it has the 2nd bank 8 | set _FLASHNAME $_CHIPNAME.flash1 9 | flash bank $_FLASHNAME at91sam3 0x0000A0000 0 1 1 $_TARGETNAME 10 | -------------------------------------------------------------------------------- /tcl/target/at91sam3ax_8x.cfg: -------------------------------------------------------------------------------- 1 | # common stuff 2 | source [find target/at91sam3ax_xx.cfg] 3 | 4 | # size is automatically "calculated" by probing 5 | set _FLASHNAME $_CHIPNAME.flash0 6 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 7 | # This is a 512K chip - it has the 2nd bank 8 | set _FLASHNAME $_CHIPNAME.flash1 9 | flash bank $_FLASHNAME at91sam3 0x0000C0000 0 1 1 $_TARGETNAME 10 | 11 | 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam3ax_xx.cfg: -------------------------------------------------------------------------------- 1 | # script for ATMEL sam3, a Cortex-M3 chip 2 | # 3 | # at91sam3A4C 4 | # at91sam3A8C 5 | # at91sam3X4C 6 | # at91sam3X4E 7 | # at91sam3X8C 8 | # at91sam3X8E 9 | # at91sam3X8H 10 | source [find target/at91sam3XXX.cfg] 11 | 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam3sXX.cfg: -------------------------------------------------------------------------------- 1 | # script for ATMEL sam3, a Cortex-M3 chip 2 | # 3 | # at91sam3s4c 4 | # at91sam3s4b 5 | # at91sam3s4a 6 | # at91sam3s2c 7 | # at91sam3s2b 8 | # at91sam3s2a 9 | # at91sam3s1c 10 | # at91sam3s1b 11 | # at91sam3s1a 12 | 13 | source [find target/at91sam3XXX.cfg] 14 | 15 | set _FLASHNAME $_CHIPNAME.flash 16 | flash bank $_FLASHNAME at91sam3 0x00400000 0 1 1 $_TARGETNAME 17 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u1c.cfg: -------------------------------------------------------------------------------- 1 | # common stuff 2 | source [find target/at91sam3uxx.cfg] 3 | 4 | # size is automatically "calculated" by probing 5 | set _FLASHNAME $_CHIPNAME.flash 6 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 7 | 8 | 9 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u1e.cfg: -------------------------------------------------------------------------------- 1 | # common stuff 2 | source [find target/at91sam3uxx.cfg] 3 | 4 | # size is automatically "calculated" by probing 5 | set _FLASHNAME $_CHIPNAME.flash 6 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 7 | 8 | 9 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u2c.cfg: -------------------------------------------------------------------------------- 1 | # common stuff 2 | source [find target/at91sam3uxx.cfg] 3 | 4 | # size is automatically "calculated" by probing 5 | set _FLASHNAME $_CHIPNAME.flash 6 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 7 | 8 | 9 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u2e.cfg: -------------------------------------------------------------------------------- 1 | # common stuff 2 | source [find target/at91sam3uxx.cfg] 3 | 4 | # size is automatically "calculated" by probing 5 | set _FLASHNAME $_CHIPNAME.flash 6 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 7 | 8 | 9 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u4c.cfg: -------------------------------------------------------------------------------- 1 | # common stuff 2 | source [find target/at91sam3uxx.cfg] 3 | 4 | # size is automatically "calculated" by probing 5 | set _FLASHNAME $_CHIPNAME.flash0 6 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 7 | # This is a 256K chip, it has the 2nd bank 8 | set _FLASHNAME $_CHIPNAME.flash1 9 | flash bank $_FLASHNAME at91sam3 0x000100000 0 1 1 $_TARGETNAME 10 | 11 | 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam3u4e.cfg: -------------------------------------------------------------------------------- 1 | # common stuff 2 | source [find target/at91sam3uxx.cfg] 3 | 4 | # size is automatically "calculated" by probing 5 | set _FLASHNAME $_CHIPNAME.flash0 6 | flash bank $_FLASHNAME at91sam3 0x000080000 0 1 1 $_TARGETNAME 7 | # This is a 256K chip - it has the 2nd bank 8 | set _FLASHNAME $_CHIPNAME.flash1 9 | flash bank $_FLASHNAME at91sam3 0x000100000 0 1 1 $_TARGETNAME 10 | 11 | 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam3uxx.cfg: -------------------------------------------------------------------------------- 1 | # script for ATMEL sam3, a Cortex-M3 chip 2 | # 3 | # at91sam3u4e 4 | # at91sam3u2e 5 | # at91sam3u1e 6 | # at91sam3u4c 7 | # at91sam3u2c 8 | # at91sam3u1c 9 | 10 | source [find target/at91sam3XXX.cfg] 11 | 12 | -------------------------------------------------------------------------------- /tcl/target/at91sam4c32x.cfg: -------------------------------------------------------------------------------- 1 | # script for ATMEL sam4c32, a Cortex-M4 chip 2 | # 3 | 4 | source [find target/at91sam4XXX.cfg] 5 | 6 | set _FLASHNAME $_CHIPNAME.flash0 7 | flash bank $_FLASHNAME at91sam4 0x01000000 0 1 1 $_TARGETNAME 8 | set _FLASHNAME $_CHIPNAME.flash1 9 | flash bank $_FLASHNAME at91sam4 0x01100000 0 1 1 $_TARGETNAME 10 | -------------------------------------------------------------------------------- /tcl/target/at91sam4cXXX.cfg: -------------------------------------------------------------------------------- 1 | # script for ATMEL sam4c, a Cortex-M4 chip 2 | # 3 | 4 | source [find target/at91sam4XXX.cfg] 5 | 6 | set _FLASHNAME $_CHIPNAME.flash 7 | flash bank $_FLASHNAME at91sam4 0x01000000 0 1 1 $_TARGETNAME 8 | -------------------------------------------------------------------------------- /tcl/target/at91sam4sXX.cfg: -------------------------------------------------------------------------------- 1 | # script for ATMEL sam4, a Cortex-M4 chip 2 | # 3 | 4 | source [find target/at91sam4XXX.cfg] 5 | 6 | set _FLASHNAME $_CHIPNAME.flash 7 | flash bank $_FLASHNAME at91sam4 0x00400000 0 1 1 $_TARGETNAME 8 | -------------------------------------------------------------------------------- /tcl/target/at91sam4sd32x.cfg: -------------------------------------------------------------------------------- 1 | # script for ATMEL sam4sd32, a Cortex-M4 chip 2 | # 3 | 4 | source [find target/at91sam4XXX.cfg] 5 | 6 | set _FLASHNAME $_CHIPNAME.flash0 7 | flash bank $_FLASHNAME at91sam4 0x00400000 0 1 1 $_TARGETNAME 8 | set _FLASHNAME $_CHIPNAME.flash1 9 | flash bank $_FLASHNAME at91sam4 0x00500000 0 1 1 $_TARGETNAME 10 | -------------------------------------------------------------------------------- /tcl/target/at91sam7a2.cfg: -------------------------------------------------------------------------------- 1 | 2 | if { [info exists CHIPNAME] } { 3 | set _CHIPNAME $CHIPNAME 4 | } else { 5 | set _CHIPNAME at91sam7a2 6 | } 7 | 8 | if { [info exists ENDIAN] } { 9 | set _ENDIAN $ENDIAN 10 | } else { 11 | set _ENDIAN little 12 | } 13 | 14 | if { [info exists CPUTAPID] } { 15 | set _CPUTAPID $CPUTAPID 16 | } else { 17 | set _CPUTAPID 0x1f0f0f0f 18 | } 19 | 20 | jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID 21 | set _TARGETNAME $_CHIPNAME.cpu 22 | 23 | target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME 24 | -------------------------------------------------------------------------------- /tcl/target/at91sam9260.cfg: -------------------------------------------------------------------------------- 1 | ###################################### 2 | # Target: Atmel AT91SAM9260 3 | ###################################### 4 | 5 | if { [info exists CHIPNAME] } { 6 | set AT91_CHIPNAME $CHIPNAME 7 | } else { 8 | set AT91_CHIPNAME at91sam9260 9 | } 10 | 11 | source [find target/at91sam9.cfg] 12 | 13 | 14 | # Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The 15 | # AT91SAM9260 has two SRAM areas, one starting at 0x00200000 and the other starting at 0x00300000. 16 | # Both areas are 4 kB long. 17 | 18 | #$_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x1000 -work-area-backup 1 19 | $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x1000 -work-area-backup 1 20 | -------------------------------------------------------------------------------- /tcl/target/at91sam9261.cfg: -------------------------------------------------------------------------------- 1 | ###################################### 2 | # Target: Atmel AT91SAM9261 3 | ###################################### 4 | 5 | if { [info exists CHIPNAME] } { 6 | set AT91_CHIPNAME $CHIPNAME 7 | } else { 8 | set AT91_CHIPNAME at91sam9261 9 | } 10 | 11 | source [find target/at91sam9.cfg] 12 | 13 | # Internal sram1 memory 14 | $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x28000 -work-area-backup 1 15 | -------------------------------------------------------------------------------- /tcl/target/at91sam9263.cfg: -------------------------------------------------------------------------------- 1 | ###################################### 2 | # Target: Atmel AT91SAM9263 3 | ###################################### 4 | 5 | if { [info exists CHIPNAME] } { 6 | set AT91_CHIPNAME $CHIPNAME 7 | } else { 8 | set AT91_CHIPNAME at91sam9263 9 | } 10 | 11 | source [find target/at91sam9.cfg] 12 | 13 | # Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The 14 | # AT91SAM9263 has two SRAM areas, 15 | # one starting at 0x00300000 of 80KiB 16 | # and the other starting at 0x00500000 of 16KiB. 17 | 18 | # Internal sram1 memory 19 | $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x14000 -work-area-backup 1 20 | #$_TARGETNAME configure -work-area-phys 0x00500000 -work-area-size 0x4000 -work-area-backup 1 21 | -------------------------------------------------------------------------------- /tcl/target/at91sam9g10.cfg: -------------------------------------------------------------------------------- 1 | ###################################### 2 | # Target: Atmel AT91SAM9G10 3 | ###################################### 4 | 5 | if { [info exists CHIPNAME] } { 6 | set AT91_CHIPNAME $CHIPNAME 7 | } else { 8 | set AT91_CHIPNAME at91sam9g10 9 | } 10 | 11 | source [find target/at91sam9.cfg] 12 | 13 | # Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The 14 | # AT91SAM9G10 has one SRAM area at 0x00300000 of 16KiB 15 | 16 | $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x4000 -work-area-backup 1 17 | -------------------------------------------------------------------------------- /tcl/target/at91sam9g45.cfg: -------------------------------------------------------------------------------- 1 | ###################################### 2 | # Target: Atmel AT91SAM9G45 3 | ###################################### 4 | 5 | if { [info exists CHIPNAME] } { 6 | set AT91_CHIPNAME $CHIPNAME 7 | } else { 8 | set AT91_CHIPNAME at91sam9g45 9 | } 10 | 11 | source [find target/at91sam9.cfg] 12 | 13 | # Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The 14 | # AT91SAM9G45 has one SRAM area starting at 0x00300000 of 64 KiB. 15 | 16 | $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x200000 -work-area-backup 1 17 | -------------------------------------------------------------------------------- /tcl/target/at91sam9rl.cfg: -------------------------------------------------------------------------------- 1 | ###################################### 2 | # Target: Atmel AT91SAM9RL 3 | ###################################### 4 | 5 | if { [info exists CHIPNAME] } { 6 | set AT91_CHIPNAME $CHIPNAME 7 | } else { 8 | set AT91_CHIPNAME at91sam9rl 9 | } 10 | 11 | source [find target/at91sam9.cfg] 12 | 13 | # Internal sram1 memory 14 | $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x10000 -work-area-backup 1 15 | -------------------------------------------------------------------------------- /tcl/target/at91samg5x.cfg: -------------------------------------------------------------------------------- 1 | # script for the ATMEL samg5x Cortex-M4F chip family 2 | # 3 | 4 | source [find target/at91sam4XXX.cfg] 5 | 6 | set _FLASHNAME $_CHIPNAME.flash 7 | flash bank $_FLASHNAME at91sam4 0x00400000 0 1 1 $_TARGETNAME 8 | -------------------------------------------------------------------------------- /tcl/target/atheros_ar2313.cfg: -------------------------------------------------------------------------------- 1 | if { [info exists CHIPNAME] } { 2 | set _CHIPNAME $_CHIPNAME 3 | } else { 4 | set _CHIPNAME ar2313 5 | } 6 | 7 | if { [info exists CPUTAPID] } { 8 | set _CPUTAPID $CPUTAPID 9 | } else { 10 | set _CPUTAPID 0x00000001 11 | } 12 | 13 | jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID 14 | 15 | set _TARGETNAME $_CHIPNAME.cpu 16 | target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME 17 | -------------------------------------------------------------------------------- /tcl/target/atheros_ar2315.cfg: -------------------------------------------------------------------------------- 1 | if { [info exists CHIPNAME] } { 2 | set _CHIPNAME $_CHIPNAME 3 | } else { 4 | set _CHIPNAME ar2315 5 | } 6 | 7 | if { [info exists CPUTAPID] } { 8 | set _CPUTAPID $CPUTAPID 9 | } else { 10 | set _CPUTAPID 0x00000001 11 | } 12 | 13 | jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID 14 | 15 | set _TARGETNAME $_CHIPNAME.cpu 16 | target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME 17 | -------------------------------------------------------------------------------- /tcl/target/atheros_ar9331.cfg: -------------------------------------------------------------------------------- 1 | if { [info exists CHIPNAME] } { 2 | set _CHIPNAME $_CHIPNAME 3 | } else { 4 | set _CHIPNAME ar9331 5 | } 6 | 7 | if { [info exists CPUTAPID] } { 8 | set _CPUTAPID $CPUTAPID 9 | } else { 10 | set _CPUTAPID 0x00000001 11 | } 12 | 13 | jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id $_CPUTAPID 14 | 15 | set _TARGETNAME $_CHIPNAME.cpu 16 | target create $_TARGETNAME mips_m4k -endian big -chain-position $_TARGETNAME 17 | -------------------------------------------------------------------------------- /tcl/target/avr32.cfg: -------------------------------------------------------------------------------- 1 | set _CHIPNAME avr32 2 | set _ENDIAN big 3 | 4 | set _CPUTAPID 0x21e8203f 5 | 6 | adapter_nsrst_delay 100 7 | jtag_ntrst_delay 100 8 | 9 | reset_config trst_and_srst separate 10 | 11 | # jtag scan chain 12 | # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) 13 | jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1 -expected-id $_CPUTAPID 14 | 15 | set _TARGETNAME [format "%s.cpu" $_CHIPNAME] 16 | target create $_TARGETNAME avr32_ap7k -endian $_ENDIAN -chain-position $_TARGETNAME 17 | 18 | -------------------------------------------------------------------------------- /tcl/target/bcm4706.cfg: -------------------------------------------------------------------------------- 1 | set _CHIPNAME bcm4706 2 | set _CPUID 0x1008c17f 3 | 4 | jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUID 5 | 6 | set _TARGETNAME $_CHIPNAME.cpu 7 | target create $_TARGETNAME mips_m4k -endian little -chain-position $_TARGETNAME 8 | -------------------------------------------------------------------------------- /tcl/target/bcm4718.cfg: -------------------------------------------------------------------------------- 1 | set _CHIPNAME bcm4718 2 | set _LVTAPID 0x1471617f 3 | set _CPUID 0x0008c17f 4 | 5 | source [find target/bcm47xx.cfg] 6 | -------------------------------------------------------------------------------- /tcl/target/bcm5352e.cfg: -------------------------------------------------------------------------------- 1 | set _CHIPNAME bcm5352e 2 | set _CPUID 0x0535217f 3 | 4 | jtag newtap $_CHIPNAME cpu -irlen 8 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUID 5 | 6 | set _TARGETNAME $_CHIPNAME.cpu 7 | target create $_TARGETNAME mips_m4k -endian little -chain-position $_TARGETNAME 8 | -------------------------------------------------------------------------------- /tcl/target/bcm6348.cfg: -------------------------------------------------------------------------------- 1 | set _CHIPNAME bcm6348 2 | set _CPUID 0x0634817f 3 | 4 | adapter_khz 1000 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 big -chain-position $_TARGETNAME 10 | -------------------------------------------------------------------------------- /tcl/target/cc2538.cfg: -------------------------------------------------------------------------------- 1 | # Config for Texas Instruments low power RF SoC CC2538 2 | # http://www.ti.com/lit/pdf/swru319 3 | 4 | if { [info exists CHIPNAME] } { 5 | set CHIPNAME $CHIPNAME 6 | } else { 7 | set CHIPNAME cc2538 8 | } 9 | 10 | if { [info exists JRC_TAPID] } { 11 | set JRC_TAPID $JRC_TAPID 12 | } else { 13 | set JRC_TAPID 0x8B96402F 14 | } 15 | 16 | source [find target/cc26xx.cfg] 17 | -------------------------------------------------------------------------------- /tcl/target/efm32_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/efm32_stlink.cfg is deprecated, please switch to target/efm32.cfg" 2 | source [find target/efm32.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/em358.cfg: -------------------------------------------------------------------------------- 1 | # Target configuration for the Silicon Labs EM358 chips 2 | 3 | # 4 | # em357 family supports JTAG and SWD transports 5 | # 6 | 7 | if { ![info exists CHIPNAME] } { 8 | set CHIPNAME em358 9 | } 10 | 11 | if { ![info exists BSTAPID] } { 12 | set BSTAPID 0x069aa62b 13 | } 14 | 15 | # 512K of flash in the em358 chips 16 | set FLASHSIZE 0x80000 17 | source [find target/em357.cfg] 18 | -------------------------------------------------------------------------------- /tcl/target/exynos5250.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Samsung Exynos 5250 - dual-core ARM Cortex-A15 3 | # 4 | 5 | if { [info exists CHIPNAME] } { 6 | set _CHIPNAME $CHIPNAME 7 | } else { 8 | set _CHIPNAME exynos5250 9 | } 10 | 11 | if { [info exists CPUTAPID] } { 12 | set _CPUTAPID $CPUTAPID 13 | } else { 14 | set _CPUTAPID 0x4ba00477 15 | } 16 | 17 | jtag newtap $_CHIPNAME cpu -irlen 4 -expected-id $_CPUTAPID 18 | 19 | set _TARGETNAME $_CHIPNAME.cpu 20 | target create ${_TARGETNAME}0 cortex_a -chain-position $_TARGETNAME 21 | target create ${_TARGETNAME}1 cortex_a -chain-position $_TARGETNAME 22 | 23 | target smp ${_TARGETNAME}0 ${_TARGETNAME}1 24 | -------------------------------------------------------------------------------- /tcl/target/fm4.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Spansion FM4 (ARM Cortex-M4) 3 | # 4 | 5 | if { [info exists CHIPNAME] } { 6 | set _CHIPNAME $CHIPNAME 7 | } else { 8 | set _CHIPNAME fm4 9 | } 10 | 11 | source [find target/swj-dp.tcl] 12 | 13 | if { [info exists CPUTAPID] } { 14 | set _CPU_TAPID $CPUTAPID 15 | } elseif { [using_jtag] } { 16 | set _CPU_TAPID 0x4ba00477 17 | } else { 18 | set _CPU_TAPID 0x2ba01477 19 | } 20 | 21 | swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPU_TAPID 22 | 23 | set _TARGETNAME $_CHIPNAME.cpu 24 | target create $_TARGETNAME cortex_m -endian little -chain-position $_TARGETNAME 25 | 26 | adapter_khz 500 27 | 28 | if {![using_hla]} { 29 | cortex_m reset_config sysresetreq 30 | } 31 | -------------------------------------------------------------------------------- /tcl/target/fm4_mb9bf.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Spansion FM4 MB9BFxxx (ARM Cortex-M4) 3 | # 4 | 5 | source [find target/fm4.cfg] 6 | 7 | # MB9BF566 M/N/R have 32 KB SRAM0 8 | if { [info exists WORKAREASIZE] } { 9 | set _WORKAREASIZE $WORKAREASIZE 10 | } else { 11 | set _WORKAREASIZE 0x8000 12 | } 13 | 14 | $_TARGETNAME configure -work-area-phys [expr 0x20000000 - $_WORKAREASIZE] \ 15 | -work-area-size $_WORKAREASIZE -work-area-backup 0 16 | 17 | set _FLASHNAME $_CHIPNAME.flash 18 | flash bank $_FLASHNAME fm4 0x00000000 0 0 0 $_TARGETNAME $CHIPSERIES 19 | -------------------------------------------------------------------------------- /tcl/target/fm4_s6e2cc.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Spansion FM4 S6E2CC (ARM Cortex-M4) 3 | # 4 | 5 | source [find target/fm4.cfg] 6 | 7 | # S6E2CC8 H/J/L have 96 KB SRAM0 8 | if { [info exists WORKAREASIZE] } { 9 | set _WORKAREASIZE $WORKAREASIZE 10 | } else { 11 | set _WORKAREASIZE 0x18000 12 | } 13 | 14 | $_TARGETNAME configure -work-area-phys [expr 0x20000000 - $_WORKAREASIZE] \ 15 | -work-area-size $_WORKAREASIZE -work-area-backup 0 16 | 17 | set _FLASHNAME $_CHIPNAME.flash 18 | flash bank ${_FLASHNAME}0 fm4 0x00000000 0 0 0 $_TARGETNAME $CHIPSERIES 19 | flash bank ${_FLASHNAME}1 fm4 0x00100000 0 0 0 $_TARGETNAME $CHIPSERIES 20 | -------------------------------------------------------------------------------- /tcl/target/k40.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis K40 devices 3 | # 4 | 5 | set CHIPNAME k40 6 | source [find target/kx.cfg] 7 | -------------------------------------------------------------------------------- /tcl/target/k60.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis K60 devices 3 | # 4 | 5 | set CHIPNAME k60 6 | source [find target/kx.cfg] 7 | -------------------------------------------------------------------------------- /tcl/target/ke02.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis KE02 devices 3 | # 4 | 5 | set CHIPNAME ke02 6 | source [find target/kex.cfg] 7 | -------------------------------------------------------------------------------- /tcl/target/ke04.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis KE04 devices 3 | # 4 | 5 | set CHIPNAME ke04 6 | source [find target/kex.cfg] 7 | -------------------------------------------------------------------------------- /tcl/target/ke06.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis KE06 devices 3 | # 4 | 5 | set CHIPNAME ke06 6 | source [find target/kex.cfg] 7 | -------------------------------------------------------------------------------- /tcl/target/kl25.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis KL25 devices 3 | # 4 | 5 | set CHIPNAME kl25 6 | source [find target/klx.cfg] 7 | -------------------------------------------------------------------------------- /tcl/target/kl25z_hla.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/kl25z_hla.cfg is deprecated, please switch to target/kl25.cfg" 2 | source [find target/kl25.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/kl46.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis KL46 devices 3 | # 4 | 5 | set CHIPNAME kl46 6 | source [find target/klx.cfg] 7 | -------------------------------------------------------------------------------- /tcl/target/lpc11xx.cfg: -------------------------------------------------------------------------------- 1 | # NXP LPC11xx Cortex-M0 with at least 1kB SRAM 2 | set CHIPNAME lpc11xx 3 | set CHIPSERIES lpc1100 4 | if { ![info exists WORKAREASIZE] } { 5 | set WORKAREASIZE 0x400 6 | } 7 | 8 | source [find target/lpc1xxx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/lpc12xx.cfg: -------------------------------------------------------------------------------- 1 | # NXP LPC12xx Cortex-M0 with at least 4kB SRAM 2 | set CHIPNAME lpc12xx 3 | set CHIPSERIES lpc1200 4 | if { ![info exists WORKAREASIZE] } { 5 | set WORKAREASIZE 0x1000 6 | } 7 | 8 | source [find target/lpc1xxx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/lpc13xx.cfg: -------------------------------------------------------------------------------- 1 | # NXP LPC13xx Cortex-M3 with at least 4kB SRAM 2 | set CHIPNAME lpc13xx 3 | set CHIPSERIES lpc1300 4 | if { ![info exists WORKAREASIZE] } { 5 | set WORKAREASIZE 0x1000 6 | } 7 | 8 | source [find target/lpc1xxx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/lpc17xx.cfg: -------------------------------------------------------------------------------- 1 | # NXP LPC17xx Cortex-M3 with at least 8kB SRAM 2 | set CHIPNAME lpc17xx 3 | set CHIPSERIES lpc1700 4 | if { ![info exists WORKAREASIZE] } { 5 | set WORKAREASIZE 0x2000 6 | } 7 | 8 | source [find target/lpc1xxx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/lpc40xx.cfg: -------------------------------------------------------------------------------- 1 | # NXP LPC40xx Cortex-M4F with at least 16kB SRAM 2 | set CHIPNAME lpc40xx 3 | set CHIPSERIES lpc4000 4 | if { ![info exists WORKAREASIZE] } { 5 | set WORKAREASIZE 0x4000 6 | } 7 | 8 | source [find target/lpc1xxx.cfg] 9 | -------------------------------------------------------------------------------- /tcl/target/lpc4357.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # NXP LPC4357 3 | # 4 | 5 | if { ![info exists CHIPNAME] } { 6 | set CHIPNAME lpc4357 7 | } 8 | set WORKAREASIZE 0x8000 9 | source [find target/lpc4350.cfg] 10 | 11 | flash bank $_CHIPNAME.flasha lpc2000 0x1A000000 0x80000 0 0 $_CHIPNAME.m4 lpc4300 204000 calc_checksum 12 | flash bank $_CHIPNAME.flashb lpc2000 0x1B000000 0x80000 0 0 $_CHIPNAME.m4 lpc4300 204000 calc_checksum 13 | -------------------------------------------------------------------------------- /tcl/target/lpc8xx.cfg: -------------------------------------------------------------------------------- 1 | # NXP LPC8xx Cortex-M0+ with at least 1kB SRAM 2 | if { ![info exists CHIPNAME] } { 3 | set CHIPNAME lpc8xx 4 | } 5 | set CHIPSERIES lpc800 6 | if { ![info exists WORKAREASIZE] } { 7 | set WORKAREASIZE 0x400 8 | } 9 | 10 | source [find target/lpc1xxx.cfg] 11 | -------------------------------------------------------------------------------- /tcl/target/nds32v2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Andes Core 3 | # 4 | # http://www.andestech.com 5 | # 6 | 7 | jtag newtap $_CHIPNAME cpu -expected-id $_CPUTAPID 8 | 9 | set _TARGETNAME $_CHIPNAME.cpu 10 | target create $_TARGETNAME nds32_v2 -endian little -chain-position $_TARGETNAME 11 | -------------------------------------------------------------------------------- /tcl/target/nds32v3.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Andes Core 3 | # 4 | # http://www.andestech.com 5 | # 6 | 7 | jtag newtap $_CHIPNAME cpu -expected-id $_CPUTAPID 8 | 9 | set _TARGETNAME $_CHIPNAME.cpu 10 | target create $_TARGETNAME nds32_v3 -endian little -chain-position $_TARGETNAME 11 | -------------------------------------------------------------------------------- /tcl/target/nds32v3m.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Andes Core 3 | # 4 | # http://www.andestech.com 5 | # 6 | 7 | jtag newtap $_CHIPNAME cpu -expected-id $_CPUTAPID 8 | 9 | set _TARGETNAME $_CHIPNAME.cpu 10 | target create $_TARGETNAME nds32_v3m -endian little -chain-position $_TARGETNAME 11 | -------------------------------------------------------------------------------- /tcl/target/nrf51_stlink.tcl: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/nrf51_stlink.cfg is deprecated, please switch to target/nrf51.cfg" 2 | source [find target/nrf51.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/nrf52.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Nordic nRF52 series: ARM Cortex-M4 @ 64 MHz 3 | # 4 | 5 | source [find target/swj-dp.tcl] 6 | 7 | if { [info exists CHIPNAME] } { 8 | set _CHIPNAME $CHIPNAME 9 | } else { 10 | set _CHIPNAME nrf52 11 | } 12 | 13 | if { [info exists CPUTAPID] } { 14 | set _CPUTAPID $CPUTAPID 15 | } else { 16 | set _CPUTAPID 0x2ba01477 17 | } 18 | 19 | swj_newdap $_CHIPNAME cpu -expected-id $_CPUTAPID 20 | 21 | set _TARGETNAME $_CHIPNAME.cpu 22 | target create $_TARGETNAME cortex_m -chain-position $_TARGETNAME 23 | 24 | adapter_khz 10000 25 | 26 | if { ![using_hla] } { 27 | cortex_m reset_config sysresetreq 28 | } 29 | -------------------------------------------------------------------------------- /tcl/target/nuc910.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Nuvoton nuc910 (previously W90P910) based soc 3 | # 4 | 5 | if { [info exists CHIPNAME] } { 6 | set _CHIPNAME $CHIPNAME 7 | } else { 8 | set _CHIPNAME nuc910 9 | } 10 | 11 | if { [info exists ENDIAN] } { 12 | set _ENDIAN $ENDIAN 13 | } else { 14 | set _ENDIAN little 15 | } 16 | 17 | if { [info exists CPUTAPID] } { 18 | set _CPUTAPID $CPUTAPID 19 | } else { 20 | # set useful default 21 | set _CPUTAPID 0x07926f0f 22 | } 23 | 24 | set _TARGETNAME $_CHIPNAME.cpu 25 | jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID 26 | 27 | target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME 28 | -------------------------------------------------------------------------------- /tcl/target/psoc5lp.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Cypress PSoC 5LP 3 | # 4 | 5 | source [find target/swj-dp.tcl] 6 | 7 | if { [info exists CHIPNAME] } { 8 | set _CHIPNAME $CHIPNAME 9 | } else { 10 | set _CHIPNAME psoc5lp 11 | } 12 | 13 | if { [info exists CPUTAPID] } { 14 | set _CPU_TAPID $CPUTAPID 15 | } else { 16 | set _CPU_TAPID 0x4BA00477 17 | } 18 | 19 | if { [using_jtag] } { 20 | set _CPU_DAP_ID $_CPU_TAPID 21 | } else { 22 | set _CPU_DAP_ID 0x2ba01477 23 | } 24 | 25 | swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPU_DAP_ID 26 | 27 | set _TARGETNAME $_CHIPNAME.cpu 28 | target create $_TARGETNAME cortex_m -chain-position $_TARGETNAME 29 | 30 | if {![using_hla]} { 31 | cortex_m reset_config sysresetreq 32 | } 33 | -------------------------------------------------------------------------------- /tcl/target/samsung_s3c4510.cfg: -------------------------------------------------------------------------------- 1 | if { [info exists CHIPNAME] } { 2 | set _CHIPNAME $CHIPNAME 3 | } else { 4 | set _CHIPNAME s3c4510 5 | } 6 | 7 | if { [info exists ENDIAN] } { 8 | set _ENDIAN $ENDIAN 9 | } else { 10 | set _ENDIAN little 11 | } 12 | 13 | 14 | # This appears to be a "Version 1" arm7tdmi. 15 | if { [info exists CPUTAPID] } { 16 | set _CPUTAPID $CPUTAPID 17 | } else { 18 | set _CPUTAPID 0x1f0f0f0f 19 | } 20 | jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID 21 | 22 | set _TARGETNAME $_CHIPNAME.cpu 23 | target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME 24 | 25 | -------------------------------------------------------------------------------- /tcl/target/sharp_lh79532.cfg: -------------------------------------------------------------------------------- 1 | reset_config srst_only srst_pulls_trst 2 | 3 | if { [info exists CHIPNAME] } { 4 | set _CHIPNAME $CHIPNAME 5 | } else { 6 | set _CHIPNAME lh79532 7 | } 8 | 9 | if { [info exists ENDIAN] } { 10 | set _ENDIAN $ENDIAN 11 | } else { 12 | set _ENDIAN little 13 | } 14 | 15 | if { [info exists CPUTAPID] } { 16 | set _CPUTAPID $CPUTAPID 17 | } else { 18 | # sharp changed the number! 19 | set _CPUTAPID 0x00002061 20 | } 21 | jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID 22 | 23 | set _TARGETNAME $_CHIPNAME.cpu 24 | target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME 25 | 26 | 27 | -------------------------------------------------------------------------------- /tcl/target/stellaris_icdi.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/stellaris_icdi.cfg is deprecated, please switch to target/stellaris.cfg" 2 | source [find target/stellaris.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/stm32_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: stm32_stlink.cfg is deprecated (and does nothing, you can safely remove it.)" 2 | -------------------------------------------------------------------------------- /tcl/target/stm32f0x_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/stm32f0x_stlink.cfg is deprecated, please switch to target/stm32f0x.cfg" 2 | source [find target/stm32f0x.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/stm32f1x_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/stm32f1x_stlink.cfg is deprecated, please switch to target/stm32f1x.cfg" 2 | source [find target/stm32f1x.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/stm32f2x_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/stm32f2x_stlink.cfg is deprecated, please switch to target/stm32f2x.cfg" 2 | source [find target/stm32f2x.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/stm32f3x_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/stm32f3x_stlink.cfg is deprecated, please switch to target/stm32f3x.cfg" 2 | source [find target/stm32f3x.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/stm32f4x_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/stm32f4x_stlink.cfg is deprecated, please switch to target/stm32f4x.cfg" 2 | source [find target/stm32f4x.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/stm32l1x_dual_bank.cfg: -------------------------------------------------------------------------------- 1 | source [find target/stm32l1.cfg] 2 | 3 | # The stm32l1x 384kb have a dual bank flash. 4 | # Let's add a definition for the second bank here. 5 | 6 | # Add the second flash bank. 7 | set _FLASHNAME $_CHIPNAME.flash1 8 | flash bank $_FLASHNAME stm32lx 0 0 0 0 $_TARGETNAME 9 | -------------------------------------------------------------------------------- /tcl/target/stm32lx_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/stm32lx_stlink.cfg is deprecated, please switch to target/stm32l1.cfg" 2 | source [find target/stm32l1.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/stm32w108_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: target/stm32w108xx_stlink.cfg is deprecated, please switch to target/stm32w108xx.cfg" 2 | source [find target/stm32w108xx.cfg] 3 | -------------------------------------------------------------------------------- /tcl/target/stm32xl.cfg: -------------------------------------------------------------------------------- 1 | # script for stm32xl family (dual flash bank) 2 | source [find target/stm32f1x.cfg] 3 | 4 | # flash size will be probed 5 | set _FLASHNAME $_CHIPNAME.flash1 6 | flash bank $_FLASHNAME stm32f1x 0x08080000 0 0 0 $_TARGETNAME 7 | -------------------------------------------------------------------------------- /tcl/target/test_reset_syntax_error.cfg: -------------------------------------------------------------------------------- 1 | # Test script to check that syntax error in reset 2 | # script is reported properly. 3 | 4 | # at91eb40a target 5 | 6 | #jtag scan chain 7 | set _CHIPNAME syntaxtest 8 | jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf 9 | 10 | #target configuration 11 | set _TARGETNAME $_CHIPNAME.cpu 12 | target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAME 13 | 14 | $_TARGETNAME configure -event reset-init { 15 | 16 | syntax error 17 | } 18 | -------------------------------------------------------------------------------- /tcl/target/test_syntax_error.cfg: -------------------------------------------------------------------------------- 1 | # This script tests a syntax error in the startup 2 | # config script 3 | 4 | syntax error here 5 | -------------------------------------------------------------------------------- /tcl/target/ti_rm4x.cfg: -------------------------------------------------------------------------------- 1 | source [find target/ti_tms570.cfg] 2 | -------------------------------------------------------------------------------- /tcl/target/ti_tms570ls20xxx.cfg: -------------------------------------------------------------------------------- 1 | # TMS570LS20216, TMS570LS20206, TMS570LS10216 2 | # TMS570LS10206, TMS570LS10116, TMS570LS10106 3 | set DAP_TAPID 0x0B7B302F 4 | set JRC_TAPID 0x0B7B302F 5 | 6 | source [find target/ti_tms570.cfg] 7 | -------------------------------------------------------------------------------- /tcl/target/ti_tms570ls3137.cfg: -------------------------------------------------------------------------------- 1 | # TMS570LS3137 2 | set DAP_TAPID 0x0B8A002F 3 | set JRC_TAPID 0x0B8A002F 4 | 5 | source [find target/ti_tms570.cfg] 6 | -------------------------------------------------------------------------------- /tcl/target/xmos_xs1-xau8a-10_arm.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # XMOS xCORE-XA XS1-XAU8A-10: ARM Cortex-M3 @ 48 MHz 3 | # 4 | # http://www.xmos.com/products/silicon/xcore-xa/xa-series 5 | # 6 | 7 | if { ![info exists CHIPNAME] } { 8 | set CHIPNAME xcorexa 9 | } 10 | 11 | if { ![info exists WORKAREASIZE] } { 12 | # XS1-XAU8A-10-FB265: 128 KB SRAM 13 | set WORKAREASIZE 0x20000 14 | } 15 | 16 | source [find target/efm32.cfg] 17 | -------------------------------------------------------------------------------- /tcl/test/selftest.cfg: -------------------------------------------------------------------------------- 1 | 2 | add_help_text selftest "run selftest using working ram
" 3 | 4 | proc selftest {tmpfile address size} { 5 | 6 | for {set i 0} {$i < $size } {set i [expr $i+4]} { 7 | mww [expr $address+$i] $i 8 | } 9 | 10 | for {set i 0} {$i < 10 } {set i [expr $i+1]} { 11 | echo "Test iteration $i" 12 | dump_image $tmpfile $address $size 13 | verify_image $tmpfile $address bin 14 | load_image $tmpfile $address bin 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /testing/build.test1/mingw32_help/include/sys/cdefs.h: -------------------------------------------------------------------------------- 1 | /* sys/cdefs.h 2 | 3 | Copyright 1998, 2000, 2001 Red Hat, Inc. 4 | 5 | This file is part of Cygwin. 6 | 7 | This software is a copyrighted work licensed under the terms of the 8 | Cygwin license. Please consult the file "CYGWIN_LICENSE" for 9 | details. */ 10 | 11 | #ifndef _SYS_CDEFS_H 12 | #define _SYS_CDEFS_H 13 | #ifdef __cplusplus 14 | #define __BEGIN_DECLS extern "C" { 15 | #define __END_DECLS } 16 | #else 17 | #define __BEGIN_DECLS 18 | #define __END_DECLS 19 | #endif 20 | #define __P(protos) protos /* full-blown ANSI C */ 21 | #define __CONCAT(__x,__y) __x##__y 22 | #endif 23 | 24 | -------------------------------------------------------------------------------- /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/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/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 -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /testing/examples/LPC2148Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/LPC2148Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/LPC2148Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/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 -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /testing/examples/LPC2294Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/LPC2294Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/LPC2294Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/LPC2294Test/test_rom.elf -------------------------------------------------------------------------------- /testing/examples/PIC32/BlinkingLeds.c: -------------------------------------------------------------------------------- 1 | #include 2 | int main(void) 3 | { 4 | int i; 5 | mPORTDClearBits(BIT_0); 6 | mPORTDSetPinsDigitalOut(BIT_0); 7 | mPORTDClearBits(BIT_1); 8 | mPORTDSetPinsDigitalOut(BIT_1); 9 | mPORTDClearBits(BIT_2); 10 | mPORTDSetPinsDigitalOut(BIT_2); 11 | 12 | while (1) 13 | { 14 | for (i = 0; i < 500000; i++) 15 | mPORTDToggleBits(BIT_0); 16 | for (i = 0; i < 500000; i++) 17 | mPORTDToggleBits(BIT_1); 18 | for (i = 0; i < 500000; i++) 19 | mPORTDToggleBits(BIT_2); 20 | } 21 | 22 | return 0; 23 | } 24 | -------------------------------------------------------------------------------- /testing/examples/PIC32/BlinkingLeds.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/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/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 | # WDT_MR, disable watchdog 9 | monitor mww 0xFFFFFD44 0x00008000 10 | 11 | # RSTC_MR, enable user reset 12 | monitor mww 0xfffffd08 0xa5000001 13 | 14 | # CKGR_MOR 15 | monitor mww 0xFFFFFC20 0x00000601 16 | monitor sleep 10 17 | 18 | # CKGR_PLLR 19 | monitor mww 0xFFFFFC2C 0x00481c0e 20 | monitor sleep 10 21 | 22 | # PMC_MCKR 23 | monitor mww 0xFFFFFC30 0x00000007 24 | monitor sleep 10 25 | 26 | # PMC_IER 27 | monitor mww 0xFFFFFF60 0x00480100 28 | monitor sleep 100 29 | 30 | load 31 | break main 32 | continue 33 | -------------------------------------------------------------------------------- /testing/examples/SAM7S256Test/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 | # WDT_MR, disable watchdog 9 | monitor mww 0xFFFFFD44 0x00008000 10 | 11 | # RSTC_MR, enable user reset 12 | monitor mww 0xfffffd08 0xa5000001 13 | 14 | # CKGR_MOR 15 | monitor mww 0xFFFFFC20 0x00000601 16 | monitor sleep 10 17 | 18 | # CKGR_PLLR 19 | monitor mww 0xFFFFFC2C 0x00481c0e 20 | monitor sleep 10 21 | 22 | # PMC_MCKR 23 | monitor mww 0xFFFFFC30 0x00000007 24 | monitor sleep 10 25 | 26 | # PMC_IER 27 | monitor mww 0xFFFFFF60 0x00480100 28 | monitor sleep 100 29 | 30 | load 31 | break main 32 | continue 33 | -------------------------------------------------------------------------------- /testing/examples/SAM7S256Test/prj/sam7s256_reset.script: -------------------------------------------------------------------------------- 1 | # 2 | # Init - taken form the script openocd_at91sam7_ecr.script 3 | # 4 | # I take this script from the following page: 5 | # 6 | # http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/openocd_intro/index.html 7 | # 8 | mww 0xfffffd44 0x00008000 # disable watchdog 9 | mww 0xfffffd08 0xa5000001 # enable user reset 10 | mww 0xfffffc20 0x00000601 # CKGR_MOR : enable the main oscillator 11 | sleep 10 12 | mww 0xfffffc2c 0x00481c0e # CKGR_PLLR: 96.1097 MHz 13 | sleep 10 14 | mww 0xfffffc30 0x00000007 # PMC_MCKR : MCK = PLL / 2 ~= 48 MHz 15 | sleep 10 16 | mww 0xffffff60 0x003c0100 # MC_FMR: flash mode (FWS=1,FMCN=60) 17 | sleep 100 18 | -------------------------------------------------------------------------------- /testing/examples/SAM7S256Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/SAM7S256Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/SAM7S256Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/SAM7S256Test/test_rom.elf -------------------------------------------------------------------------------- /testing/examples/SAM7X256Test/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 | # WDT_MR, disable watchdog 9 | monitor mww 0xFFFFFD44 0x00008000 10 | 11 | # RSTC_MR, enable user reset 12 | monitor mww 0xfffffd08 0xa5000001 13 | 14 | # CKGR_MOR 15 | monitor mww 0xFFFFFC20 0x00000601 16 | monitor sleep 10 17 | 18 | # CKGR_PLLR 19 | monitor mww 0xFFFFFC2C 0x00481c0e 20 | monitor sleep 10 21 | 22 | # PMC_MCKR 23 | monitor mww 0xFFFFFC30 0x00000007 24 | monitor sleep 10 25 | 26 | # PMC_IER 27 | monitor mww 0xFFFFFF60 0x00480100 28 | monitor sleep 100 29 | 30 | load 31 | break main 32 | continue 33 | -------------------------------------------------------------------------------- /testing/examples/SAM7X256Test/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 | # WDT_MR, disable watchdog 9 | monitor mww 0xFFFFFD44 0x00008000 10 | 11 | # RSTC_MR, enable user reset 12 | monitor mww 0xfffffd08 0xa5000001 13 | 14 | # CKGR_MOR 15 | monitor mww 0xFFFFFC20 0x00000601 16 | monitor sleep 10 17 | 18 | # CKGR_PLLR 19 | monitor mww 0xFFFFFC2C 0x00481c0e 20 | monitor sleep 10 21 | 22 | # PMC_MCKR 23 | monitor mww 0xFFFFFC30 0x00000007 24 | monitor sleep 10 25 | 26 | # PMC_IER 27 | monitor mww 0xFFFFFF60 0x00480100 28 | monitor sleep 100 29 | 30 | load 31 | break main 32 | continue 33 | -------------------------------------------------------------------------------- /testing/examples/SAM7X256Test/prj/sam7x256_reset.script: -------------------------------------------------------------------------------- 1 | # 2 | # Init - taken form the script openocd_at91sam7_ecr.script 3 | # 4 | # I take this script from the following page: 5 | # 6 | # http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/openocd_intro/index.html 7 | # 8 | mww 0xfffffd44 0x00008000 # disable watchdog 9 | mww 0xfffffd08 0xa5000001 # enable user reset 10 | mww 0xfffffc20 0x00000601 # CKGR_MOR : enable the main oscillator 11 | sleep 10 12 | mww 0xfffffc2c 0x00481c0e # CKGR_PLLR: 96.1097 MHz 13 | sleep 10 14 | mww 0xfffffc30 0x00000007 # PMC_MCKR : MCK = PLL / 2 ~= 48 MHz 15 | sleep 10 16 | mww 0xffffff60 0x003c0100 # MC_FMR: flash mode (FWS=1,FMCN=60) 17 | sleep 100 18 | -------------------------------------------------------------------------------- /testing/examples/SAM7X256Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/SAM7X256Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/SAM7X256Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/SAM7X256Test/test_rom.elf -------------------------------------------------------------------------------- /testing/examples/STM32-103/main.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/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 -------------------------------------------------------------------------------- /testing/examples/STR710JtagSpeed/prj/eclipse_ft2232_ram.gdb: -------------------------------------------------------------------------------- 1 | target remote localhost:3333 2 | 3 | monitor reset 4 | monitor sleep 500 5 | monitor poll 6 | monitor soft_reset_halt 7 | monitor arm7_9 sw_bkpts enable 8 | monitor mww 0xA0000050 0x01c2 9 | monitor mdw 0xA0000050 10 | monitor mww 0x6C000004 0x8005 11 | monitor mdw 0x6C000004 12 | monitor mww 0xE0005000 0xFFFF 13 | monitor mww 0xE0005004 0x00FF 14 | monitor mww 0xE0005008 0xFFFF 15 | monitor mdw 0xE0005000 16 | monitor mdw 0xE0005004 17 | monitor mdw 0xE0005008 18 | monitor mww 0xE000500C 0x0000 19 | 20 | monitor arm7_9 fast_memory_access enable 21 | monitor arm7_9 dcc_downloads enable 22 | monitor verify_ircapture disable 23 | 24 | load 25 | break main 26 | continue 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /testing/examples/STR710JtagSpeed/test.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/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 -------------------------------------------------------------------------------- /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 -------------------------------------------------------------------------------- /testing/examples/STR710Test/prj/str710_program.script: -------------------------------------------------------------------------------- 1 | flash protect 0 0 7 off 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /testing/examples/STR710Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/STR710Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/STR710Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/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 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /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 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /testing/examples/STR912Test/prj/str912_program.script: -------------------------------------------------------------------------------- 1 | str9x flash_config 0 4 2 0 0x80000 2 | flash protect 0 0 7 off 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /testing/examples/STR912Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/STR912Test/test_ram.elf -------------------------------------------------------------------------------- /testing/examples/STR912Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/STR912Test/test_rom.elf -------------------------------------------------------------------------------- /testing/examples/cortex/lm3s3748.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/cortex/lm3s3748.elf -------------------------------------------------------------------------------- /testing/examples/cortex/test.c: -------------------------------------------------------------------------------- 1 | /* simple app. 2 | 3 | modify test.ld to change address. 4 | 5 | Even if the app is position independent, the symbols 6 | need to match to test basic debugging. 7 | 8 | To load the app to 0x20000000 in GDB, use: 9 | 10 | load a.out 11 | monitor reg sp 0x20004000 12 | monitor reg pc 0x20002000 13 | stepi 14 | 15 | arm-elf-gcc -mthumb -mcpu = cortex-m3 -nostdlib -Ttest.ld test.c 16 | 17 | 18 | */ 19 | int j; 20 | void _start() 21 | { 22 | int i; 23 | for (i = 0; i < 1000; i++) 24 | { 25 | j++; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /testing/examples/ledtest-imx27ads/gdbinit-imx27ads: -------------------------------------------------------------------------------- 1 | echo Script to load ledtest on iMX27ADS.\n 2 | 3 | # Note: you need to startup openocd with "-f board/imx27ads.cfg" 4 | # in order to it initialize RAM memory. 5 | 6 | # SETUP GDB : 7 | # 8 | # Common gdb setup for ARM CPUs 9 | set complaints 1 10 | set output-radix 10 11 | set input-radix 10 12 | set prompt (arm-gdb) 13 | set endian little 14 | dir . 15 | 16 | # CONNECT TO TARGET : 17 | target remote 127.0.0.1:3333 18 | 19 | # LOAD IMAGE : 20 | # 21 | 22 | # Load the program executable called "u-boot" 23 | load test.elf 24 | 25 | # Load the symbols for the program. 26 | symbol-file test.elf 27 | 28 | # RUN TO MAIN : 29 | # 30 | # Set a breakpoint at main(). 31 | #b reset 32 | b main 33 | 34 | # Run to the breakpoint. 35 | c 36 | 37 | -------------------------------------------------------------------------------- /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/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/testing/examples/ledtest-imx27ads/test.elf -------------------------------------------------------------------------------- /testing/examples/ledtest-imx31pdk/gdbinit-imx31pdk: -------------------------------------------------------------------------------- 1 | echo Script to load ledtest on iMX31PDK.\n 2 | 3 | # Note: you need to startup openocd with "-f board/imx31pdk.cfg" 4 | # in order to it initialize RAM memory. 5 | 6 | # SETUP GDB : 7 | # 8 | # Common gdb setup for ARM CPUs 9 | set complaints 1 10 | set output-radix 10 11 | set input-radix 10 12 | set prompt (arm-gdb) 13 | set endian little 14 | dir . 15 | 16 | # CONNECT TO TARGET : 17 | target remote 127.0.0.1:3333 18 | 19 | # LOAD IMAGE : 20 | # 21 | 22 | # Load the program executable called "u-boot" 23 | load test.elf 24 | 25 | # Load the symbols for the program. 26 | symbol-file test.elf 27 | 28 | # RUN TO MAIN : 29 | # 30 | # Set a breakpoint at main(). 31 | #b reset 32 | b main 33 | 34 | # Run to the breakpoint. 35 | c 36 | 37 | -------------------------------------------------------------------------------- /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/sony/openocd-nuttx/b1f9b14b662fe729c1c5108fba402948aea508fc/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 | # 3 | 4 | since=${1:-HEAD^} 5 | git format-patch -M --stdout $since | tools/scripts/checkpatch.pl - --no-tree 6 | -------------------------------------------------------------------------------- /tools/rlink_make_speed_table/rlink_make_speed_table: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec perl "$0.pl" $* 3 | -------------------------------------------------------------------------------- /tools/st7_dtc_as/st7_dtc_as: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec perl "$0.pl" $* 3 | --------------------------------------------------------------------------------