├── openocd-src ├── ChangeLog ├── tcl │ ├── board │ │ ├── redbee.cfg │ │ ├── atmel_sam3s_ek.cfg │ │ ├── atmel_sam4s_ek.cfg │ │ ├── atmel_sam3u_ek.cfg │ │ ├── atmel_sam3x_ek.cfg │ │ ├── la_fonera-fon2200.cfg │ │ ├── ti_blaze.cfg │ │ ├── ti_pandaboard.cfg │ │ ├── iar_str912_sk.cfg │ │ ├── ti_pandaboard_es.cfg │ │ ├── nds32_xc5.cfg │ │ ├── pic-p32mx.cfg │ │ ├── olimex_sam7_ex256.cfg │ │ ├── ti_beaglebone-base.cfg │ │ ├── renesas_porter.cfg │ │ ├── renesas_silk.cfg │ │ ├── renesas_stout.cfg │ │ ├── keil_mcb1700.cfg │ │ ├── keil_mcb2140.cfg │ │ ├── olimex_lpc_h2148.cfg │ │ ├── ti_tmdx570ls31usb.cfg │ │ ├── adapteva_parallella1.cfg │ │ ├── bcm28155_ap.cfg │ │ ├── nordic_nrf51822_mkit.cfg │ │ ├── insignal_arndale.cfg │ │ ├── emcraft_vf6-som.cfg │ │ ├── ti_am43xx_evm.cfg │ │ ├── ti_cc13x0_launchpad.cfg │ │ ├── ti_cc13x2_launchpad.cfg │ │ ├── ti_cc26x0_launchpad.cfg │ │ ├── ti_cc26x2_launchpad.cfg │ │ ├── ti_msp432_launchpad.cfg │ │ ├── atmel_at91sam7s-ek.cfg │ │ ├── ti_beaglebone_black.cfg │ │ ├── xmc4500-application-kit-general.cfg │ │ ├── ti_cc32xx_launchpad.cfg │ │ ├── nordic_nrf51_dk.cfg │ │ ├── nordic_nrf52_dk.cfg │ │ ├── ti_cc3220sf_launchpad.cfg │ │ ├── atmel_sam4e_ek.cfg │ │ ├── gti │ │ │ └── espressobin.cfg │ │ ├── mbed-lpc1768.cfg │ │ ├── open-bldc.cfg │ │ ├── atmel_sam3n_ek.cfg │ │ ├── xmc4500-application-kit-sdram.cfg │ │ ├── emcraft_twr-vf6-som-bsb.cfg │ │ ├── diolan_lpc4350-db1.cfg │ │ ├── diolan_lpc4357-db1.cfg │ │ ├── lisa-l.cfg │ │ ├── olimex_stm32_h103.cfg │ │ ├── atmel_samc20_xplained_pro.cfg │ │ ├── atmel_samd11_xplained_pro.cfg │ │ ├── atmel_samd21_xplained_pro.cfg │ │ ├── atmel_saml21_xplained_pro.cfg │ │ ├── atmel_samr21_xplained_pro.cfg │ │ ├── kwikstik.cfg │ │ ├── ti_am335xevm.cfg │ │ ├── olimex_stm32_h107.cfg │ │ ├── olimex_stm32_p107.cfg │ │ ├── stm32100b_eval.cfg │ │ ├── arm_evaluator7t.cfg │ │ ├── xmc4300-relax.cfg │ │ ├── st_nucleo_f7.cfg │ │ ├── stm3210c_eval.cfg │ │ ├── atmel_sam4l8_xplained_pro.cfg │ │ ├── atmel_sam4s_xplained_pro.cfg │ │ ├── atmel_samd10_xplained_mini.cfg │ │ ├── atmel_samg53_xplained_pro.cfg │ │ ├── atmel_samg55_xplained_pro.cfg │ │ ├── quark_x10xx_board.cfg │ │ ├── stm3210b_eval.cfg │ │ ├── atmel_samc21_xplained_pro.cfg │ │ ├── atmel_samd20_xplained_pro.cfg │ │ ├── linksys_nslu2.cfg │ │ ├── ti_beagleboard.cfg │ │ ├── xmc4200-application-kit-actuator.cfg │ │ ├── digilent_zedboard.cfg │ │ ├── efikamx.cfg │ │ ├── efm32.cfg │ │ ├── hitex_lpc1768stick.cfg │ │ ├── steval-idb007v1.cfg │ │ ├── steval-idb008v1.cfg │ │ ├── stm32f3discovery.cfg │ │ ├── nxp_frdm-ls1012a.cfg │ │ ├── ti_beaglebone.cfg │ │ ├── xmc-2go.cfg │ │ ├── dk-tm4c129.cfg │ │ ├── mbed-lpc11u24.cfg │ │ ├── st_nucleo_f3.cfg │ │ ├── st_nucleo_h743zi.cfg │ │ ├── st_nucleo_l1.cfg │ │ ├── stm32f334discovery.cfg │ │ ├── ek-tm4c123gxl.cfg │ │ ├── renesas_dk-s7g2.cfg │ │ ├── st_nucleo_f103rb.cfg │ │ ├── xmos_xk-xac-xa8_arm.cfg │ │ ├── kcu105.cfg │ │ ├── st_nucleo_l4.cfg │ │ ├── stm32f429disc1.cfg │ │ ├── stm32l0discovery.cfg │ │ ├── xmc1100-boot-kit.cfg │ │ ├── ek-tm4c1294xl.cfg │ │ ├── olimex_LPC2378STK.cfg │ │ ├── xmc4500-relax.cfg │ │ ├── marsohod2.cfg │ │ ├── stm32f0discovery.cfg │ │ ├── stm32ldiscovery.cfg │ │ ├── stm32vldiscovery.cfg │ │ ├── atmel_same70_xplained.cfg │ │ ├── marsohod.cfg │ │ ├── marsohod3.cfg │ │ ├── phone_se_j100i.cfg │ │ ├── stm3220g_eval.cfg │ │ ├── ti_beagleboard_xm.cfg │ │ ├── stm320518_eval.cfg │ │ ├── stm3241g_eval.cfg │ │ ├── microchip_explorer16.cfg │ │ ├── nordic_nrf52_ftx232.cfg │ │ ├── numato_opsis.cfg │ │ ├── nxp_lpc-link2.cfg │ │ ├── xmc4800-relax.cfg │ │ ├── gumstix-aerocore.cfg │ │ ├── microchip_same54_xplained_pro.cfg │ │ ├── stm32429i_eval.cfg │ │ ├── stm32439i_eval.cfg │ │ ├── spansion_sk-fm4-u120-9b560.cfg │ │ ├── tp-link_tl-mr3020.cfg │ │ ├── crossbow_tech_imote2.cfg │ │ ├── stm32f4discovery.cfg │ │ ├── ti_am437x_idk.cfg │ │ ├── twr-k60n512.cfg │ │ ├── stm327x6g_eval.cfg │ │ ├── colibri.cfg │ │ └── steval_pcc010.cfg │ ├── target │ │ ├── ti_rm4x.cfg │ │ ├── k40.cfg │ │ ├── k60.cfg │ │ ├── stm32_stlink.cfg │ │ ├── kl25.cfg │ │ ├── kl46.cfg │ │ ├── marvell │ │ │ ├── 88f3710.cfg │ │ │ └── 88f3720.cfg │ │ ├── nhs31xx.cfg │ │ ├── test_syntax_error.cfg │ │ ├── ke1xf.cfg │ │ ├── ke1xz.cfg │ │ ├── bcm4718.cfg │ │ ├── kl25z_hla.cfg │ │ ├── ti_tms570ls3137.cfg │ │ ├── efm32_stlink.cfg │ │ ├── nrf51_stlink.tcl │ │ ├── stm32lx_stlink.cfg │ │ ├── stellaris_icdi.cfg │ │ ├── stm32f0x_stlink.cfg │ │ ├── stm32f1x_stlink.cfg │ │ ├── stm32f2x_stlink.cfg │ │ ├── stm32f3x_stlink.cfg │ │ ├── stm32f4x_stlink.cfg │ │ ├── stm8s105.cfg │ │ ├── stm32w108_stlink.cfg │ │ ├── stm32l0_dual_bank.cfg │ │ ├── at91sam4sXX.cfg │ │ ├── at91sam4cXXX.cfg │ │ ├── ti_tms570ls20xxx.cfg │ │ ├── at91samg5x.cfg │ │ ├── stm8s003.cfg │ │ ├── lpc11xx.cfg │ │ ├── lpc12xx.cfg │ │ ├── lpc13xx.cfg │ │ ├── lpc17xx.cfg │ │ ├── lpc40xx.cfg │ │ ├── at91sam3uxx.cfg │ │ ├── stm32xl.cfg │ │ ├── at91sam3u1c.cfg │ │ ├── at91sam3u1e.cfg │ │ ├── at91sam3u2c.cfg │ │ ├── at91sam3u2e.cfg │ │ ├── ti_cc13x0.cfg │ │ ├── ti_cc13x2.cfg │ │ ├── ti_cc26x2.cfg │ │ ├── at91sam3ax_xx.cfg │ │ ├── stm8l152.cfg │ │ ├── nds32v2.cfg │ │ ├── nds32v3.cfg │ │ ├── nds32v3m.cfg │ │ ├── bcm4706.cfg │ │ ├── bcm5352e.cfg │ │ ├── lpc8xx.cfg │ │ ├── stm32h7x_dual_bank.cfg │ │ ├── stm32l1x_dual_bank.cfg │ │ ├── bcm6348.cfg │ │ ├── lpc84x.cfg │ │ ├── at91sam4c32x.cfg │ │ ├── at91sam4sd32x.cfg │ │ ├── ti_cc3220sf.cfg │ │ ├── at91sam3sXX.cfg │ │ ├── at91sam3ax_4x.cfg │ │ ├── at91sam3u4c.cfg │ │ └── at91sam3u4e.cfg │ ├── interface │ │ ├── ft232r.cfg │ │ ├── dummy.cfg │ │ ├── estick.cfg │ │ ├── opendous.cfg │ │ ├── vsllink.cfg │ │ ├── openjtag.cfg │ │ ├── arm-jtag-ew.cfg │ │ ├── osbdm.cfg │ │ ├── stlink-v1.cfg │ │ ├── stlink-v2.cfg │ │ ├── stlink-v2-1.cfg │ │ ├── at91rm9200.cfg │ │ ├── chameleon.cfg │ │ ├── rlink.cfg │ │ ├── ulink.cfg │ │ ├── altera-usb-blaster2.cfg │ │ ├── ftdi │ │ │ ├── olimex-arm-jtag-swd.cfg │ │ │ ├── digilent-hs2.cfg │ │ │ ├── xds100v3.cfg │ │ │ ├── cortino.cfg │ │ │ ├── rowley-cc-arm-swd.cfg │ │ │ ├── hitex_str9-comstick.cfg │ │ │ ├── jtagkey.cfg │ │ │ ├── hitex_lpc1768stick.cfg │ │ │ ├── iotlab-usb.cfg │ │ │ ├── jtagkey2.cfg │ │ │ ├── m53evk.cfg │ │ │ ├── jtagkey2p.cfg │ │ │ ├── stm32-stick.cfg │ │ │ ├── digilent_jtag_hs3.cfg │ │ │ ├── digilent-hs1.cfg │ │ │ ├── openocd-usb.cfg │ │ │ ├── flyswatter.cfg │ │ │ ├── tumpa-lite.cfg │ │ │ ├── openrd.cfg │ │ │ └── olimex-arm-usb-ocd.cfg │ │ ├── calao-usb-a9260.cfg │ │ ├── cmsis-dap.cfg │ │ ├── usbprog.cfg │ │ ├── altera-usb-blaster.cfg │ │ ├── jlink.cfg │ │ ├── nds32-aice.cfg │ │ ├── xds110.cfg │ │ └── parport_dlc5.cfg │ ├── chip │ │ ├── ti │ │ │ └── lm3s │ │ │ │ └── lm3s.tcl │ │ ├── st │ │ │ └── stm32 │ │ │ │ └── stm32.tcl │ │ └── atmel │ │ │ └── at91 │ │ │ └── hardware.cfg │ ├── cpu │ │ └── arm │ │ │ ├── arm920.tcl │ │ │ ├── arm946.tcl │ │ │ ├── arm966.tcl │ │ │ ├── arm7tdmi.tcl │ │ │ └── cortex_m3.tcl │ ├── cpld │ │ ├── lattice-lc4032ze.cfg │ │ ├── xilinx-xcr3256.cfg │ │ ├── altera-epm240.cfg │ │ └── altera-5m570z-cpld.cfg │ └── fpga │ │ └── altera-ep3c10.cfg ├── testing │ └── examples │ │ ├── STR710Test │ │ ├── .gitignore │ │ ├── prj │ │ │ ├── str710_program.script │ │ │ ├── eclipse_ram.gdb │ │ │ └── eclipse_rom.gdb │ │ ├── test_ram.elf │ │ └── test_rom.elf │ │ ├── STM32-103 │ │ ├── main.elf │ │ └── readme.txt │ │ ├── cortex │ │ └── lm3s3748.elf │ │ ├── PIC32 │ │ └── BlinkingLeds.elf │ │ ├── STR912Test │ │ ├── test_ram.elf │ │ ├── test_rom.elf │ │ └── prj │ │ │ └── str912_program.script │ │ ├── LPC2148Test │ │ ├── test_ram.elf │ │ ├── test_rom.elf │ │ └── prj │ │ │ ├── eclipse_ram.gdb │ │ │ └── eclipse_rom.gdb │ │ ├── LPC2294Test │ │ ├── test_ram.elf │ │ ├── test_rom.elf │ │ └── prj │ │ │ ├── eclipse_ram.gdb │ │ │ └── eclipse_rom.gdb │ │ ├── SAM7S256Test │ │ ├── test_ram.elf │ │ └── test_rom.elf │ │ ├── SAM7X256Test │ │ ├── test_ram.elf │ │ └── test_rom.elf │ │ ├── STR710JtagSpeed │ │ └── test.elf │ │ ├── ledtest-imx27ads │ │ └── test.elf │ │ ├── ledtest-imx31pdk │ │ └── test.elf │ │ └── AT91R40008Test │ │ ├── test_ram.elf │ │ └── prj │ │ └── at91r40008_reset.script ├── tools │ ├── st7_dtc_as │ │ └── st7_dtc_as │ ├── rlink_make_speed_table │ │ └── rlink_make_speed_table │ └── checkpatch.sh ├── src │ ├── svf │ │ └── Makefile.am │ ├── xsvf │ │ └── Makefile.am │ ├── transport │ │ └── Makefile.am │ ├── pld │ │ └── Makefile.am │ ├── jtag │ │ └── hla │ │ │ └── Makefile.am │ ├── target │ │ └── openrisc │ │ │ └── Makefile.am │ ├── flash │ │ └── Makefile.am │ └── server │ │ └── startup.tcl ├── contrib │ └── loaders │ │ ├── flash │ │ ├── at91sam7x │ │ │ └── at91sam7x_ocl_flash.script │ │ ├── stm32 │ │ │ └── stm32lx.inc │ │ ├── xmc1xxx │ │ │ ├── erase.inc │ │ │ └── write.inc │ │ └── kinetis_ke │ │ │ └── kinetis_ke_watchdog.inc │ │ ├── erase_check │ │ ├── armv4_5_erase_check.inc │ │ ├── armv7m_erase_check.inc │ │ └── stm8_erase_check.inc │ │ ├── watchdog │ │ ├── armv7m_kinetis_wdog.inc │ │ └── armv7m_kinetis_wdog32.inc │ │ └── checksum │ │ └── armv7m_crc.inc ├── doc │ ├── manual │ │ ├── images │ │ │ └── jtag-state-machine-large.png │ │ └── app.txt │ └── Makefile.am └── .gitmodules ├── openocd ├── share │ └── openocd │ │ └── scripts │ │ ├── board │ │ ├── redbee.cfg │ │ ├── atmel_sam3s_ek.cfg │ │ ├── atmel_sam4s_ek.cfg │ │ ├── atmel_sam3u_ek.cfg │ │ ├── atmel_sam3x_ek.cfg │ │ ├── la_fonera-fon2200.cfg │ │ ├── ti_blaze.cfg │ │ ├── ti_pandaboard.cfg │ │ ├── iar_str912_sk.cfg │ │ ├── nds32_xc5.cfg │ │ ├── ti_pandaboard_es.cfg │ │ ├── pic-p32mx.cfg │ │ ├── olimex_sam7_ex256.cfg │ │ ├── ti_beaglebone-base.cfg │ │ ├── keil_mcb1700.cfg │ │ ├── keil_mcb2140.cfg │ │ ├── renesas_porter.cfg │ │ ├── renesas_silk.cfg │ │ ├── renesas_stout.cfg │ │ ├── olimex_lpc_h2148.cfg │ │ ├── ti_tmdx570ls31usb.cfg │ │ ├── adapteva_parallella1.cfg │ │ ├── bcm28155_ap.cfg │ │ ├── nordic_nrf51822_mkit.cfg │ │ ├── insignal_arndale.cfg │ │ ├── emcraft_vf6-som.cfg │ │ ├── ti_am43xx_evm.cfg │ │ ├── ti_beaglebone_black.cfg │ │ ├── ti_cc13x0_launchpad.cfg │ │ ├── ti_cc13x2_launchpad.cfg │ │ ├── ti_cc26x0_launchpad.cfg │ │ ├── ti_cc26x2_launchpad.cfg │ │ ├── ti_msp432_launchpad.cfg │ │ ├── atmel_at91sam7s-ek.cfg │ │ ├── xmc4500-application-kit-general.cfg │ │ ├── ti_cc32xx_launchpad.cfg │ │ ├── nordic_nrf51_dk.cfg │ │ ├── nordic_nrf52_dk.cfg │ │ ├── ti_cc3220sf_launchpad.cfg │ │ ├── atmel_sam4e_ek.cfg │ │ ├── gti │ │ │ └── espressobin.cfg │ │ ├── mbed-lpc1768.cfg │ │ ├── open-bldc.cfg │ │ ├── atmel_sam3n_ek.cfg │ │ ├── xmc4500-application-kit-sdram.cfg │ │ ├── emcraft_twr-vf6-som-bsb.cfg │ │ ├── diolan_lpc4350-db1.cfg │ │ ├── diolan_lpc4357-db1.cfg │ │ ├── kwikstik.cfg │ │ ├── lisa-l.cfg │ │ ├── olimex_stm32_h103.cfg │ │ ├── atmel_samc20_xplained_pro.cfg │ │ ├── atmel_samd11_xplained_pro.cfg │ │ ├── atmel_samd21_xplained_pro.cfg │ │ ├── atmel_saml21_xplained_pro.cfg │ │ ├── atmel_samr21_xplained_pro.cfg │ │ ├── ti_am335xevm.cfg │ │ ├── olimex_stm32_h107.cfg │ │ ├── olimex_stm32_p107.cfg │ │ ├── stm32100b_eval.cfg │ │ ├── arm_evaluator7t.cfg │ │ ├── xmc4300-relax.cfg │ │ ├── stm3210c_eval.cfg │ │ ├── st_nucleo_f7.cfg │ │ ├── stm3210b_eval.cfg │ │ ├── atmel_sam4l8_xplained_pro.cfg │ │ ├── atmel_sam4s_xplained_pro.cfg │ │ ├── atmel_samc21_xplained_pro.cfg │ │ ├── atmel_samd10_xplained_mini.cfg │ │ ├── atmel_samd20_xplained_pro.cfg │ │ ├── atmel_samg53_xplained_pro.cfg │ │ ├── atmel_samg55_xplained_pro.cfg │ │ ├── quark_x10xx_board.cfg │ │ ├── ti_beagleboard.cfg │ │ ├── linksys_nslu2.cfg │ │ ├── xmc4200-application-kit-actuator.cfg │ │ ├── digilent_zedboard.cfg │ │ ├── efikamx.cfg │ │ ├── efm32.cfg │ │ ├── hitex_lpc1768stick.cfg │ │ ├── steval-idb007v1.cfg │ │ ├── steval-idb008v1.cfg │ │ ├── stm32f3discovery.cfg │ │ ├── nxp_frdm-ls1012a.cfg │ │ ├── st_nucleo_h743zi.cfg │ │ ├── ti_beaglebone.cfg │ │ ├── xmc-2go.cfg │ │ ├── dk-tm4c129.cfg │ │ ├── mbed-lpc11u24.cfg │ │ ├── renesas_dk-s7g2.cfg │ │ ├── st_nucleo_f3.cfg │ │ ├── st_nucleo_l1.cfg │ │ ├── stm32f334discovery.cfg │ │ ├── ek-tm4c123gxl.cfg │ │ ├── st_nucleo_f103rb.cfg │ │ ├── xmos_xk-xac-xa8_arm.cfg │ │ ├── kcu105.cfg │ │ ├── st_nucleo_l4.cfg │ │ ├── stm32f429disc1.cfg │ │ ├── stm32l0discovery.cfg │ │ ├── xmc1100-boot-kit.cfg │ │ ├── ek-tm4c1294xl.cfg │ │ ├── olimex_LPC2378STK.cfg │ │ ├── stm32ldiscovery.cfg │ │ ├── xmc4500-relax.cfg │ │ ├── marsohod2.cfg │ │ ├── phone_se_j100i.cfg │ │ ├── stm32f0discovery.cfg │ │ ├── stm32vldiscovery.cfg │ │ ├── atmel_same70_xplained.cfg │ │ ├── marsohod.cfg │ │ ├── marsohod3.cfg │ │ ├── stm3220g_eval.cfg │ │ ├── stm3241g_eval.cfg │ │ ├── ti_beagleboard_xm.cfg │ │ ├── microchip_explorer16.cfg │ │ ├── stm320518_eval.cfg │ │ ├── nordic_nrf52_ftx232.cfg │ │ ├── numato_opsis.cfg │ │ ├── nxp_lpc-link2.cfg │ │ ├── microchip_same54_xplained_pro.cfg │ │ ├── xmc4800-relax.cfg │ │ ├── gumstix-aerocore.cfg │ │ ├── stm32429i_eval.cfg │ │ ├── stm32439i_eval.cfg │ │ ├── spansion_sk-fm4-u120-9b560.cfg │ │ ├── tp-link_tl-mr3020.cfg │ │ ├── crossbow_tech_imote2.cfg │ │ └── stm32f4discovery.cfg │ │ ├── target │ │ ├── ti_rm4x.cfg │ │ ├── k40.cfg │ │ ├── k60.cfg │ │ ├── marvell │ │ │ ├── 88f3710.cfg │ │ │ └── 88f3720.cfg │ │ ├── stm32_stlink.cfg │ │ ├── kl25.cfg │ │ ├── kl46.cfg │ │ ├── nhs31xx.cfg │ │ ├── test_syntax_error.cfg │ │ ├── ke1xf.cfg │ │ ├── ke1xz.cfg │ │ ├── bcm4718.cfg │ │ ├── kl25z_hla.cfg │ │ ├── ti_tms570ls3137.cfg │ │ ├── efm32_stlink.cfg │ │ ├── nrf51_stlink.tcl │ │ ├── stellaris_icdi.cfg │ │ ├── stm32f0x_stlink.cfg │ │ ├── stm32f1x_stlink.cfg │ │ ├── stm32f2x_stlink.cfg │ │ ├── stm32f3x_stlink.cfg │ │ ├── stm32f4x_stlink.cfg │ │ ├── stm32lx_stlink.cfg │ │ ├── stm32w108_stlink.cfg │ │ ├── stm8s105.cfg │ │ ├── stm32l0_dual_bank.cfg │ │ ├── at91sam4sXX.cfg │ │ ├── at91sam4cXXX.cfg │ │ ├── ti_tms570ls20xxx.cfg │ │ ├── at91samg5x.cfg │ │ ├── lpc11xx.cfg │ │ ├── stm8s003.cfg │ │ ├── lpc12xx.cfg │ │ ├── lpc13xx.cfg │ │ ├── lpc17xx.cfg │ │ ├── lpc40xx.cfg │ │ ├── at91sam3uxx.cfg │ │ ├── stm32xl.cfg │ │ ├── at91sam3u1c.cfg │ │ ├── at91sam3u1e.cfg │ │ ├── at91sam3u2c.cfg │ │ ├── at91sam3u2e.cfg │ │ ├── ti_cc13x0.cfg │ │ ├── ti_cc13x2.cfg │ │ ├── ti_cc26x2.cfg │ │ ├── at91sam3ax_xx.cfg │ │ ├── stm8l152.cfg │ │ ├── nds32v2.cfg │ │ ├── nds32v3.cfg │ │ ├── nds32v3m.cfg │ │ ├── bcm4706.cfg │ │ ├── bcm5352e.cfg │ │ ├── lpc8xx.cfg │ │ ├── stm32h7x_dual_bank.cfg │ │ ├── stm32l1x_dual_bank.cfg │ │ ├── bcm6348.cfg │ │ ├── lpc84x.cfg │ │ ├── at91sam4c32x.cfg │ │ ├── at91sam4sd32x.cfg │ │ └── ti_cc3220sf.cfg │ │ ├── interface │ │ ├── ft232r.cfg │ │ ├── dummy.cfg │ │ ├── estick.cfg │ │ ├── opendous.cfg │ │ ├── vsllink.cfg │ │ ├── openjtag.cfg │ │ ├── arm-jtag-ew.cfg │ │ ├── osbdm.cfg │ │ ├── stlink-v1.cfg │ │ ├── stlink-v2-1.cfg │ │ ├── stlink-v2.cfg │ │ ├── at91rm9200.cfg │ │ ├── chameleon.cfg │ │ ├── rlink.cfg │ │ ├── ulink.cfg │ │ ├── altera-usb-blaster2.cfg │ │ ├── ftdi │ │ │ ├── olimex-arm-jtag-swd.cfg │ │ │ ├── digilent-hs2.cfg │ │ │ ├── xds100v3.cfg │ │ │ ├── cortino.cfg │ │ │ ├── rowley-cc-arm-swd.cfg │ │ │ ├── hitex_str9-comstick.cfg │ │ │ ├── iotlab-usb.cfg │ │ │ ├── jtagkey.cfg │ │ │ ├── hitex_lpc1768stick.cfg │ │ │ ├── jtagkey2.cfg │ │ │ ├── m53evk.cfg │ │ │ ├── jtagkey2p.cfg │ │ │ ├── stm32-stick.cfg │ │ │ ├── digilent_jtag_hs3.cfg │ │ │ ├── openocd-usb.cfg │ │ │ ├── digilent-hs1.cfg │ │ │ └── flyswatter.cfg │ │ ├── calao-usb-a9260.cfg │ │ ├── cmsis-dap.cfg │ │ ├── usbprog.cfg │ │ ├── altera-usb-blaster.cfg │ │ ├── jlink.cfg │ │ └── nds32-aice.cfg │ │ ├── chip │ │ ├── ti │ │ │ └── lm3s │ │ │ │ └── lm3s.tcl │ │ ├── st │ │ │ └── stm32 │ │ │ │ └── stm32.tcl │ │ └── atmel │ │ │ └── at91 │ │ │ └── hardware.cfg │ │ ├── cpu │ │ └── arm │ │ │ ├── arm920.tcl │ │ │ ├── arm946.tcl │ │ │ ├── arm966.tcl │ │ │ ├── arm7tdmi.tcl │ │ │ └── cortex_m3.tcl │ │ ├── cpld │ │ ├── lattice-lc4032ze.cfg │ │ ├── xilinx-xcr3256.cfg │ │ ├── altera-epm240.cfg │ │ └── altera-5m570z-cpld.cfg │ │ └── fpga │ │ └── altera-ep3c10.cfg └── bin │ └── openocd └── openocd.sh /openocd-src/ChangeLog: -------------------------------------------------------------------------------- 1 | Retired in favor of git log. 2 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/redbee.cfg: -------------------------------------------------------------------------------- 1 | source [find target/mc13224v.cfg] 2 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/ti_rm4x.cfg: -------------------------------------------------------------------------------- 1 | source [find target/ti_tms570.cfg] 2 | -------------------------------------------------------------------------------- /openocd-src/tcl/interface/ft232r.cfg: -------------------------------------------------------------------------------- 1 | interface ft232r 2 | adapter_khz 1000 3 | -------------------------------------------------------------------------------- /openocd-src/testing/examples/STR710Test/.gitignore: -------------------------------------------------------------------------------- 1 | .dep 2 | src/main.lst 3 | -------------------------------------------------------------------------------- /openocd-src/tools/st7_dtc_as/st7_dtc_as: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec perl "$0.pl" $* 3 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/atmel_sam3s_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam3sXX.cfg] 2 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/atmel_sam4s_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam4sXX.cfg] 2 | -------------------------------------------------------------------------------- /openocd-src/tcl/chip/ti/lm3s/lm3s.tcl: -------------------------------------------------------------------------------- 1 | source [find chip/ti/lm3s/lm3s_regs.tcl] 2 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/redbee.cfg: -------------------------------------------------------------------------------- 1 | source [find target/mc13224v.cfg] 2 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/ti_rm4x.cfg: -------------------------------------------------------------------------------- 1 | source [find target/ti_tms570.cfg] 2 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/interface/ft232r.cfg: -------------------------------------------------------------------------------- 1 | interface ft232r 2 | adapter_khz 1000 3 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/atmel_sam3s_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam3sXX.cfg] 2 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/atmel_sam4s_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam4sXX.cfg] 2 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/chip/ti/lm3s/lm3s.tcl: -------------------------------------------------------------------------------- 1 | source [find chip/ti/lm3s/lm3s_regs.tcl] 2 | -------------------------------------------------------------------------------- /openocd-src/tools/rlink_make_speed_table/rlink_make_speed_table: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec perl "$0.pl" $* 3 | -------------------------------------------------------------------------------- /openocd/bin/openocd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd/bin/openocd -------------------------------------------------------------------------------- /openocd-src/tcl/board/atmel_sam3u_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam3u4e.cfg] 2 | 3 | reset_config srst_only 4 | 5 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/atmel_sam3x_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam3ax_8x.cfg] 2 | 3 | reset_config srst_only 4 | -------------------------------------------------------------------------------- /openocd-src/src/svf/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libsvf.la 2 | %C%_libsvf_la_SOURCES = %D%/svf.c %D%/svf.h 3 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/la_fonera-fon2200.cfg: -------------------------------------------------------------------------------- 1 | source [find target/atheros_ar2315.cfg] 2 | 3 | reset_config trst_and_srst 4 | -------------------------------------------------------------------------------- /openocd-src/tcl/interface/dummy.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Dummy interface (for testing purposes) 3 | # 4 | 5 | interface dummy 6 | 7 | -------------------------------------------------------------------------------- /openocd-src/src/xsvf/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libxsvf.la 2 | %C%_libxsvf_la_SOURCES = %D%/xsvf.c %D%/xsvf.h 3 | -------------------------------------------------------------------------------- /openocd-src/testing/examples/STR710Test/prj/str710_program.script: -------------------------------------------------------------------------------- 1 | flash protect 0 0 7 off 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/atmel_sam3u_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam3u4e.cfg] 2 | 3 | reset_config srst_only 4 | 5 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/atmel_sam3x_ek.cfg: -------------------------------------------------------------------------------- 1 | source [find target/at91sam3ax_8x.cfg] 2 | 3 | reset_config srst_only 4 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/ti_pandaboard.cfg: -------------------------------------------------------------------------------- 1 | jtag_rclk 6000 2 | 3 | source [find target/omap4430.cfg] 4 | 5 | reset_config trst_only 6 | 7 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/k40.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis K40 devices 3 | # 4 | 5 | set CHIPNAME k40 6 | source [find target/kx.cfg] 7 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/k60.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis K60 devices 3 | # 4 | 5 | set CHIPNAME k60 6 | source [find target/kx.cfg] 7 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/stm32_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: stm32_stlink.cfg is deprecated (and does nothing, you can safely remove it.)" 2 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/la_fonera-fon2200.cfg: -------------------------------------------------------------------------------- 1 | source [find target/atheros_ar2315.cfg] 2 | 3 | reset_config trst_and_srst 4 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/interface/dummy.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Dummy interface (for testing purposes) 3 | # 4 | 5 | interface dummy 6 | 7 | -------------------------------------------------------------------------------- /openocd-src/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] -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/interface/estick.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # eStick 3 | # 4 | # http://code.google.com/p/estick-jtag/ 5 | # 6 | 7 | interface opendous 8 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/kl25.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis KL25 devices 3 | # 4 | 5 | set CHIPNAME kl25 6 | source [find target/klx.cfg] 7 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/kl46.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis KL46 devices 3 | # 4 | 5 | set CHIPNAME kl46 6 | source [find target/klx.cfg] 7 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/marvell/88f3710.cfg: -------------------------------------------------------------------------------- 1 | # Marvell Armada 3710 2 | 3 | set CORES 1 4 | 5 | source [find target/marvell/88f37x0.cfg] 6 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/marvell/88f3720.cfg: -------------------------------------------------------------------------------- 1 | # Marvell Armada 3720 2 | 3 | set CORES 2 4 | 5 | source [find target/marvell/88f37x0.cfg] 6 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/nds32_xc5.cfg: -------------------------------------------------------------------------------- 1 | set _CPUTAPID 0x1000063d 2 | set _CHIPNAME nds32 3 | source [find target/nds32v3.cfg] 4 | 5 | jtag init 6 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/nhs31xx.cfg: -------------------------------------------------------------------------------- 1 | # NXP NHS31xx Cortex-M0+ with 8kB SRAM 2 | 3 | set CHIPNAME nhs31xx 4 | source [find target/lpc8nxx.cfg] 5 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/interface/opendous.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # opendous-jtag 3 | # 4 | # http://code.google.com/p/opendous-jtag/ 5 | # 6 | 7 | interface opendous 8 | -------------------------------------------------------------------------------- /openocd-src/tcl/interface/vsllink.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Versaloon Link -- VSLLink 3 | # 4 | # http://www.versaloon.com/ 5 | # 6 | 7 | interface vsllink 8 | 9 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/ke1xf.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # NXP (Freescale) Kinetis KE1xF devices 3 | # 4 | 5 | set CHIPNAME ke 6 | 7 | source [find target/kx.cfg] 8 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/ke1xz.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # NXP (Freescale) Kinetis KE1xZ devices 3 | # 4 | 5 | set CHIPNAME ke 6 | 7 | source [find target/klx.cfg] 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_blaze.cfg: -------------------------------------------------------------------------------- 1 | jtag_rclk 6000 2 | 3 | source [find target/omap4430.cfg] 4 | 5 | reset_config trst_and_srst 6 | 7 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_pandaboard.cfg: -------------------------------------------------------------------------------- 1 | jtag_rclk 6000 2 | 3 | source [find target/omap4430.cfg] 4 | 5 | reset_config trst_only 6 | 7 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/interface/estick.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # eStick 3 | # 4 | # http://code.google.com/p/estick-jtag/ 5 | # 6 | 7 | interface opendous 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/k40.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis K40 devices 3 | # 4 | 5 | set CHIPNAME k40 6 | source [find target/kx.cfg] 7 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/k60.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis K60 devices 3 | # 4 | 5 | set CHIPNAME k60 6 | source [find target/kx.cfg] 7 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/marvell/88f3710.cfg: -------------------------------------------------------------------------------- 1 | # Marvell Armada 3710 2 | 3 | set CORES 1 4 | 5 | source [find target/marvell/88f37x0.cfg] 6 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/marvell/88f3720.cfg: -------------------------------------------------------------------------------- 1 | # Marvell Armada 3720 2 | 3 | set CORES 2 4 | 5 | source [find target/marvell/88f37x0.cfg] 6 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/stm32_stlink.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: stm32_stlink.cfg is deprecated (and does nothing, you can safely remove it.)" 2 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/bcm4718.cfg: -------------------------------------------------------------------------------- 1 | set _CHIPNAME bcm4718 2 | set _LVTAPID 0x1471617f 3 | set _CPUID 0x0008c17f 4 | 5 | source [find target/bcm47xx.cfg] 6 | -------------------------------------------------------------------------------- /openocd-src/testing/examples/STM32-103/main.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/STM32-103/main.elf -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/iar_str912_sk.cfg: -------------------------------------------------------------------------------- 1 | # The IAR str912-sk evaluation kick start board has an str912 2 | 3 | source [find target/str912.cfg] -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/nds32_xc5.cfg: -------------------------------------------------------------------------------- 1 | set _CPUTAPID 0x1000063d 2 | set _CHIPNAME nds32 3 | source [find target/nds32v3.cfg] 4 | 5 | jtag init 6 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_pandaboard_es.cfg: -------------------------------------------------------------------------------- 1 | jtag_rclk 6000 2 | 3 | source [find target/omap4460.cfg] 4 | 5 | reset_config trst_only 6 | 7 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/kl25.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis KL25 devices 3 | # 4 | 5 | set CHIPNAME kl25 6 | source [find target/klx.cfg] 7 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/kl46.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Freescale Kinetis KL46 devices 3 | # 4 | 5 | set CHIPNAME kl46 6 | source [find target/klx.cfg] 7 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/nhs31xx.cfg: -------------------------------------------------------------------------------- 1 | # NXP NHS31xx Cortex-M0+ with 8kB SRAM 2 | 3 | set CHIPNAME nhs31xx 4 | source [find target/lpc8nxx.cfg] 5 | -------------------------------------------------------------------------------- /openocd-src/src/transport/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_LTLIBRARIES += %D%/libtransport.la 2 | %C%_libtransport_la_SOURCES = \ 3 | %D%/transport.c \ 4 | %D%/transport.h 5 | -------------------------------------------------------------------------------- /openocd-src/tcl/interface/openjtag.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # OpenJTAG 3 | # 4 | # www.openjtag.org 5 | # 6 | 7 | interface openjtag 8 | openjtag_device_desc "Open JTAG Project" -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/testing/examples/cortex/lm3s3748.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/cortex/lm3s3748.elf -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/pic-p32mx.cfg: -------------------------------------------------------------------------------- 1 | # The Olimex PIC-P32MX has a PIC32MX 2 | 3 | set CPUTAPID 0x40916053 4 | source [find target/pic32mx.cfg] 5 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/test_syntax_error.cfg: -------------------------------------------------------------------------------- 1 | # This script tests a syntax error in the startup 2 | # config script 3 | 4 | syntax error here 5 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/testing/examples/PIC32/BlinkingLeds.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/PIC32/BlinkingLeds.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/STR710Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/STR710Test/test_ram.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/STR710Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/STR710Test/test_rom.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/STR912Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/STR912Test/test_ram.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/STR912Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/STR912Test/test_rom.elf -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/interface/opendous.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # opendous-jtag 3 | # 4 | # http://code.google.com/p/opendous-jtag/ 5 | # 6 | 7 | interface opendous 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/interface/vsllink.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Versaloon Link -- VSLLink 3 | # 4 | # http://www.versaloon.com/ 5 | # 6 | 7 | interface vsllink 8 | 9 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/ke1xf.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # NXP (Freescale) Kinetis KE1xF devices 3 | # 4 | 5 | set CHIPNAME ke 6 | 7 | source [find target/kx.cfg] 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/ke1xz.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # NXP (Freescale) Kinetis KE1xZ devices 3 | # 4 | 5 | set CHIPNAME ke 6 | 7 | source [find target/klx.cfg] 8 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/ti_beaglebone-base.cfg: -------------------------------------------------------------------------------- 1 | # AM335x Beaglebone family base configuration 2 | # http://beagleboard.org/bone 3 | 4 | source [find target/am335x.cfg] 5 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/testing/examples/LPC2148Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/LPC2148Test/test_ram.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/LPC2148Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/LPC2148Test/test_rom.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/LPC2294Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/LPC2294Test/test_ram.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/LPC2294Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/LPC2294Test/test_rom.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/SAM7S256Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/SAM7S256Test/test_ram.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/SAM7S256Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/SAM7S256Test/test_rom.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/SAM7X256Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/SAM7X256Test/test_ram.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/SAM7X256Test/test_rom.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/SAM7X256Test/test_rom.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/STR710JtagSpeed/test.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/STR710JtagSpeed/test.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/ledtest-imx27ads/test.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/ledtest-imx27ads/test.elf -------------------------------------------------------------------------------- /openocd-src/testing/examples/ledtest-imx31pdk/test.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/ledtest-imx31pdk/test.elf -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/bcm4718.cfg: -------------------------------------------------------------------------------- 1 | set _CHIPNAME bcm4718 2 | set _LVTAPID 0x1471617f 3 | set _CPUID 0x0008c17f 4 | 5 | source [find target/bcm47xx.cfg] 6 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/renesas_porter.cfg: -------------------------------------------------------------------------------- 1 | # Renesas R-Car M2 Evaluation Board 2 | 3 | source [find target/renesas_r8a7791.cfg] 4 | source [find board/renesas_gen2_common.cfg] 5 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/renesas_silk.cfg: -------------------------------------------------------------------------------- 1 | # Renesas R-Car E2 Evaluation Board 2 | 3 | source [find target/renesas_r8a7794.cfg] 4 | source [find board/renesas_gen2_common.cfg] 5 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/renesas_stout.cfg: -------------------------------------------------------------------------------- 1 | # Renesas R-Car H2 Evaluation Board 2 | 3 | source [find target/renesas_r8a7790.cfg] 4 | source [find board/renesas_gen2_common.cfg] 5 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/interface/stlink-v1.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: interface/stlink-v1.cfg is deprecated, please switch to interface/stlink.cfg" 2 | source [find interface/stlink.cfg] 3 | -------------------------------------------------------------------------------- /openocd-src/tcl/interface/stlink-v2.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: interface/stlink-v2.cfg is deprecated, please switch to interface/stlink.cfg" 2 | source [find interface/stlink.cfg] 3 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/testing/examples/AT91R40008Test/test_ram.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/testing/examples/AT91R40008Test/test_ram.elf -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/interface/openjtag.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # OpenJTAG 3 | # 4 | # www.openjtag.org 5 | # 6 | 7 | interface openjtag 8 | openjtag_device_desc "Open JTAG Project" -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/doc/manual/images/jtag-state-machine-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/remotemcu/Raspbian_packages/HEAD/openocd-src/doc/manual/images/jtag-state-machine-large.png -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/interface/stlink-v2-1.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg" 2 | source [find interface/stlink.cfg] 3 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/stm8s105.cfg: -------------------------------------------------------------------------------- 1 | #config script for STM8S105 2 | 3 | proc stm8_reset_rop {} { 4 | mwb 0x4800 0x00 5 | reset halt 6 | } 7 | 8 | source [find target/stm8s.cfg] 9 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_beaglebone-base.cfg: -------------------------------------------------------------------------------- 1 | # AM335x Beaglebone family base configuration 2 | # http://beagleboard.org/bone 3 | 4 | source [find target/am335x.cfg] 5 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/renesas_porter.cfg: -------------------------------------------------------------------------------- 1 | # Renesas R-Car M2 Evaluation Board 2 | 3 | source [find target/renesas_r8a7791.cfg] 4 | source [find board/renesas_gen2_common.cfg] 5 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/renesas_silk.cfg: -------------------------------------------------------------------------------- 1 | # Renesas R-Car E2 Evaluation Board 2 | 3 | source [find target/renesas_r8a7794.cfg] 4 | source [find board/renesas_gen2_common.cfg] 5 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/renesas_stout.cfg: -------------------------------------------------------------------------------- 1 | # Renesas R-Car H2 Evaluation Board 2 | 3 | source [find target/renesas_r8a7790.cfg] 4 | source [find board/renesas_gen2_common.cfg] 5 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/interface/stlink-v1.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: interface/stlink-v1.cfg is deprecated, please switch to interface/stlink.cfg" 2 | source [find interface/stlink.cfg] 3 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/interface/stlink-v2-1.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg" 2 | source [find interface/stlink.cfg] 3 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/interface/stlink-v2.cfg: -------------------------------------------------------------------------------- 1 | echo "WARNING: interface/stlink-v2.cfg is deprecated, please switch to interface/stlink.cfg" 2 | source [find interface/stlink.cfg] 3 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/contrib/loaders/flash/stm32/stm32lx.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../../src/helper/bin2char.sh */ 2 | 0x92,0x00,0x8a,0x18,0x01,0xe0,0x08,0xc9,0x08,0xc0,0x91,0x42,0xfb,0xd1,0x00,0xbe, 3 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/stm8s105.cfg: -------------------------------------------------------------------------------- 1 | #config script for STM8S105 2 | 3 | proc stm8_reset_rop {} { 4 | mwb 0x4800 0x00 5 | reset halt 6 | } 7 | 8 | source [find target/stm8s.cfg] 9 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/stm32l0_dual_bank.cfg: -------------------------------------------------------------------------------- 1 | source [find target/stm32l0.cfg] 2 | 3 | # Add the second flash bank. 4 | set _FLASHNAME $_CHIPNAME.flash1 5 | flash bank $_FLASHNAME stm32lx 0 0 0 0 $_TARGETNAME 6 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/ti_cc13x0_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC13x0 LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | transport select jtag 6 | adapter_khz 2500 7 | source [find target/ti_cc13x0.cfg] 8 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/ti_cc13x2_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC13x2 LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select jtag 7 | source [find target/ti_cc13x2.cfg] 8 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/ti_cc26x0_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC26x0 LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select jtag 7 | source [find target/ti_cc26x0.cfg] 8 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/ti_cc26x2_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC26x2 LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select jtag 7 | source [find target/ti_cc26x2.cfg] 8 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/ti_msp432_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI MSP432 LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select swd 7 | source [find target/ti_msp432.cfg] 8 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/ti_beaglebone_black.cfg: -------------------------------------------------------------------------------- 1 | # AM335x Beaglebone Black 2 | # http://beagleboard.org/bone 3 | 4 | adapter_khz 1000 5 | 6 | reset_config trst_and_srst 7 | 8 | source [find board/ti_beaglebone-base.cfg] 9 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/stm32l0_dual_bank.cfg: -------------------------------------------------------------------------------- 1 | source [find target/stm32l0.cfg] 2 | 3 | # Add the second flash bank. 4 | set _FLASHNAME $_CHIPNAME.flash1 5 | flash bank $_FLASHNAME stm32lx 0 0 0 0 $_TARGETNAME 6 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/ti_cc32xx_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC32xx-LaunchXL LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select swd 7 | source [find target/ti_cc32xx.cfg] 8 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/ti_cc3220sf_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC3220SF-LaunchXL LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select swd 7 | source [find target/ti_cc3220sf.cfg] 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_beaglebone_black.cfg: -------------------------------------------------------------------------------- 1 | # AM335x Beaglebone Black 2 | # http://beagleboard.org/bone 3 | 4 | adapter_khz 1000 5 | 6 | reset_config trst_and_srst 7 | 8 | source [find board/ti_beaglebone-base.cfg] 9 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_cc13x0_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC13x0 LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | transport select jtag 6 | adapter_khz 2500 7 | source [find target/ti_cc13x0.cfg] 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_cc13x2_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC13x2 LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select jtag 7 | source [find target/ti_cc13x2.cfg] 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_cc26x0_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC26x0 LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select jtag 7 | source [find target/ti_cc26x0.cfg] 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_cc26x2_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC26x2 LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select jtag 7 | source [find target/ti_cc26x2.cfg] 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_msp432_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI MSP432 LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select swd 7 | source [find target/ti_msp432.cfg] 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/gti/espressobin.cfg: -------------------------------------------------------------------------------- 1 | # config for ESPRESSObin from 2 | # Globalscale Technologies Inc. 3 | 4 | # srst is isolated through missing resistor 5 | reset_config trst_only 6 | 7 | source [find target/marvell/88f3720.cfg] 8 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_cc32xx_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC32xx-LaunchXL LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select swd 7 | source [find target/ti_cc32xx.cfg] 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/stm8s003.cfg: -------------------------------------------------------------------------------- 1 | #config script for STM8S003 2 | 3 | set FLASHEND 0x9FFF 4 | set BLOCKSIZE 0x40 5 | 6 | proc stm8_reset_rop {} { 7 | mwb 0x4800 0x00 8 | reset halt 9 | } 10 | 11 | source [find target/stm8s.cfg] 12 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/ti_cc3220sf_launchpad.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # TI CC3220SF-LaunchXL LaunchPad Evaluation Kit 3 | # 4 | source [find interface/xds110.cfg] 5 | adapter_khz 2500 6 | transport select swd 7 | source [find target/ti_cc3220sf.cfg] 8 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/gti/espressobin.cfg: -------------------------------------------------------------------------------- 1 | # config for ESPRESSObin from 2 | # Globalscale Technologies Inc. 3 | 4 | # srst is isolated through missing resistor 5 | reset_config trst_only 6 | 7 | source [find target/marvell/88f3720.cfg] 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/atmel_samd11_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMD11 Xplained Pro evaluation kit. 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # chip name 8 | set CHIPNAME at91samd11d14 9 | 10 | source [find target/at91samdXX.cfg] 11 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/ti_cc13x0.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Texas Instruments CC13x0 - ARM Cortex-M3 3 | # 4 | # http://www.ti.com 5 | # 6 | 7 | set CHIPNAME cc13x0 8 | set JRC_TAPID 0x0B9BE02F 9 | set WORKAREASIZE 0x4000 10 | 11 | source [find target/ti_cc26x0.cfg] 12 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/ti_cc13x2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Texas Instruments CC13x2 - ARM Cortex-M4 3 | # 4 | # http://www.ti.com 5 | # 6 | 7 | set CHIPNAME cc13x2 8 | set JRC_TAPID 0x0BB4102F 9 | set WORKAREASIZE 0x7000 10 | 11 | source [find target/ti_cc26x0.cfg] 12 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/ti_cc26x2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Texas Instruments CC26x2 - ARM Cortex-M4 3 | # 4 | # http://www.ti.com 5 | # 6 | 7 | set CHIPNAME cc26x2 8 | set JRC_TAPID 0x0BB4102F 9 | set WORKAREASIZE 0x7000 10 | 11 | source [find target/ti_cc26x0.cfg] 12 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/stm8s003.cfg: -------------------------------------------------------------------------------- 1 | #config script for STM8S003 2 | 3 | set FLASHEND 0x9FFF 4 | set BLOCKSIZE 0x40 5 | 6 | proc stm8_reset_rop {} { 7 | mwb 0x4800 0x00 8 | reset halt 9 | } 10 | 11 | source [find target/stm8s.cfg] 12 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/stm8l152.cfg: -------------------------------------------------------------------------------- 1 | #config script for STM8L152 2 | 3 | set EEPROMSTART 0x1000 4 | set EEPROMEND 0x13ff 5 | 6 | proc stm8_reset_rop {} { 7 | mwb 0x4800 0xaa 8 | mwb 0x4800 0xaa 9 | reset halt 10 | } 11 | 12 | source [find target/stm8l.cfg] 13 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/atmel_samd11_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMD11 Xplained Pro evaluation kit. 3 | # 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # chip name 8 | set CHIPNAME at91samd11d14 9 | 10 | source [find target/at91samdXX.cfg] 11 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/ti_cc13x0.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Texas Instruments CC13x0 - ARM Cortex-M3 3 | # 4 | # http://www.ti.com 5 | # 6 | 7 | set CHIPNAME cc13x0 8 | set JRC_TAPID 0x0B9BE02F 9 | set WORKAREASIZE 0x4000 10 | 11 | source [find target/ti_cc26x0.cfg] 12 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/ti_cc13x2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Texas Instruments CC13x2 - ARM Cortex-M4 3 | # 4 | # http://www.ti.com 5 | # 6 | 7 | set CHIPNAME cc13x2 8 | set JRC_TAPID 0x0BB4102F 9 | set WORKAREASIZE 0x7000 10 | 11 | source [find target/ti_cc26x0.cfg] 12 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/ti_cc26x2.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Texas Instruments CC26x2 - ARM Cortex-M4 3 | # 4 | # http://www.ti.com 5 | # 6 | 7 | set CHIPNAME cc26x2 8 | set JRC_TAPID 0x0BB4102F 9 | set WORKAREASIZE 0x7000 10 | 11 | source [find target/ti_cc26x0.cfg] 12 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/contrib/loaders/watchdog/armv7m_kinetis_wdog.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x04,0x4a,0xc2,0x81,0x04,0x4a,0xc2,0x81,0x01,0x24,0x02,0x88,0xa2,0x43,0x02,0x80, 3 | 0x05,0xe0,0x00,0x00,0x20,0xc5,0x00,0x00,0x28,0xd9,0x00,0x00,0x00,0x00,0x00,0xbe, 4 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/stm8l152.cfg: -------------------------------------------------------------------------------- 1 | #config script for STM8L152 2 | 3 | set EEPROMSTART 0x1000 4 | set EEPROMEND 0x13ff 5 | 6 | proc stm8_reset_rop {} { 7 | mwb 0x4800 0xaa 8 | mwb 0x4800 0xaa 9 | reset halt 10 | } 11 | 12 | source [find target/stm8l.cfg] 13 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/st_nucleo_f7.cfg: -------------------------------------------------------------------------------- 1 | # STMicroelectronics STM32F7 Nucleo development board 2 | # Known boards: NUCLEO-F746ZG and NUCLEO-F767ZI 3 | 4 | source [find interface/stlink.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f7x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/contrib/loaders/erase_check/armv7m_erase_check.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x02,0x68,0x12,0x42,0x0d,0xd0,0x43,0x68,0x1c,0x68,0x04,0x33,0x8c,0x42,0x05,0xd1, 3 | 0x01,0x3a,0xf9,0xd1,0x01,0x24,0x04,0x60,0x08,0x30,0xf1,0xe7,0x00,0x24,0xfa,0xe7, 4 | 0x00,0x00,0x00,0xbe, 5 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/atmel_samd10_xplained_mini.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMD10 Xplained mini evaluation kit. 3 | # http://www.atmel.com/tools/atsamd10-xmini.aspx 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # chip name 8 | set CHIPNAME at91samd10d14 9 | 10 | source [find target/at91samdXX.cfg] 11 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/atmel_samg55_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMG55 Xplained Pro evaluation kit. 3 | # http://www.atmel.com/tools/ATSAMG55-XPRO.aspx 4 | # 5 | 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | # chip name 9 | set CHIPNAME ATSAMG55J19 10 | 11 | source [find target/at91samg5x.cfg] 12 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 -------------------------------------------------------------------------------- /openocd-src/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 -------------------------------------------------------------------------------- /openocd-src/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 -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/stm32h7x_dual_bank.cfg: -------------------------------------------------------------------------------- 1 | # script for stm32h7x family (dual flash bank) 2 | source [find target/stm32h7x.cfg] 3 | 4 | # STM32H7xxxI 2Mo have a dual bank flash. 5 | # Add the second flash bank. 6 | set _FLASHNAME $_CHIPNAME.flash1 7 | flash bank $_FLASHNAME stm32h7x 0x08100000 0 0 0 $_TARGETNAME 8 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 -------------------------------------------------------------------------------- /openocd-src/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 -------------------------------------------------------------------------------- /openocd-src/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 -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/st_nucleo_f7.cfg: -------------------------------------------------------------------------------- 1 | # STMicroelectronics STM32F7 Nucleo development board 2 | # Known boards: NUCLEO-F746ZG and NUCLEO-F767ZI 3 | 4 | source [find interface/stlink.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f7x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/atmel_samd10_xplained_mini.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMD10 Xplained mini evaluation kit. 3 | # http://www.atmel.com/tools/atsamd10-xmini.aspx 4 | 5 | source [find interface/cmsis-dap.cfg] 6 | 7 | # chip name 8 | set CHIPNAME at91samd10d14 9 | 10 | source [find target/at91samdXX.cfg] 11 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/atmel_samg55_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Atmel SAMG55 Xplained Pro evaluation kit. 3 | # http://www.atmel.com/tools/ATSAMG55-XPRO.aspx 4 | # 5 | 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | # chip name 9 | set CHIPNAME ATSAMG55J19 10 | 11 | source [find target/at91samg5x.cfg] 12 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/steval-idb007v1.cfg: -------------------------------------------------------------------------------- 1 | # This is an evaluation board with a single BlueNRG-1 chip. 2 | # http://www.st.com/content/st_com/en/products/evaluation-tools/solution-evaluation-tools/communication-and-connectivity-solution-eval-boards/steval-idb008v1.html 3 | set CHIPNAME bluenrg-1 4 | source [find target/bluenrg-x.cfg] 5 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/steval-idb008v1.cfg: -------------------------------------------------------------------------------- 1 | # This is an evaluation board with a single BlueNRG-2 chip. 2 | # http://www.st.com/content/st_com/en/products/evaluation-tools/solution-evaluation-tools/communication-and-connectivity-solution-eval-boards/steval-idb007v1.html 3 | set CHIPNAME bluenrg-2 4 | source [find target/bluenrg-x.cfg] 5 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/lpc84x.cfg: -------------------------------------------------------------------------------- 1 | # NXP LPC84x Cortex-M0+ with at least 8kB SRAM 2 | if { ![info exists CHIPNAME] } { 3 | set CHIPNAME lpc84x 4 | } 5 | set CHIPSERIES lpc800 6 | if { ![info exists WORKAREASIZE] } { 7 | set WORKAREASIZE 0x1fe0 8 | } 9 | 10 | set IAP_ENTRY 0x0F001FF1 11 | source [find target/lpc1xxx.cfg] 12 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/stm32h7x_dual_bank.cfg: -------------------------------------------------------------------------------- 1 | # script for stm32h7x family (dual flash bank) 2 | source [find target/stm32h7x.cfg] 3 | 4 | # STM32H7xxxI 2Mo have a dual bank flash. 5 | # Add the second flash bank. 6 | set _FLASHNAME $_CHIPNAME.flash1 7 | flash bank $_FLASHNAME stm32h7x 0x08100000 0 0 0 $_TARGETNAME 8 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f3x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd-src/tcl/cpld/altera-5m570z-cpld.cfg: -------------------------------------------------------------------------------- 1 | # Altera MAXV 5M24OZ/5M570Z CPLD 2 | # see MAX V Device Handbook 3 | # Table 6-3: 32-Bit MAX V Device IDCODE 4 | # Version Part Number Manuf. ID LSB 5 | # 0000 0010 0000 1010 0111 000 0110 1110 1 6 | jtag newtap 5m570z tap -expected-id 0x020a60dd -irlen 10 7 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/nxp_frdm-ls1012a.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # NXP FRDM-LS1012A (Freedom) 3 | # 4 | 5 | # 6 | # NXP Kinetis K20 7 | # 8 | source [find interface/cmsis-dap.cfg] 9 | transport select jtag 10 | 11 | # Also offers a 10-pin 0.05" CoreSight JTAG connector. 12 | 13 | source [find target/ls1012a.cfg] 14 | 15 | reset_config srst_only 16 | -------------------------------------------------------------------------------- /openocd-src/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 | reset_config trst_and_srst 10 | 11 | source [find board/ti_beaglebone-base.cfg] 12 | 13 | 14 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . /home/pi/raspberry_pi.sh 4 | 5 | INTERFACE_CONFIG="-f openocd/share/openocd/scripts/interface/${CONFIG_RASPBERRY}" 6 | TRANSPORT="transport select swd" 7 | TARGET='-f openocd/share/openocd/scripts/target/stm32f1x.cfg' 8 | 9 | sudo openocd/bin/openocd ${INTERFACE_CONFIG} -c "$TRANSPORT" ${TARGET} 10 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/.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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f3x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/st_nucleo_h743zi.cfg: -------------------------------------------------------------------------------- 1 | # This is an ST NUCLEO-H743ZI board with single STM32H743ZI chip. 2 | # http://www.st.com/en/evaluation-tools/nucleo-h743zi.html 3 | 4 | source [find interface/stlink.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32h7x_dual_bank.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd-src/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.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32l1.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | usb_blaster_lowlevel_driver ftdi 9 | # These are already the defaults. 10 | # usb_blaster_vid_pid 0x09FB 0x6001 11 | # usb_blaster_device_desc "USB-Blaster" 12 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/steval-idb007v1.cfg: -------------------------------------------------------------------------------- 1 | # This is an evaluation board with a single BlueNRG-1 chip. 2 | # http://www.st.com/content/st_com/en/products/evaluation-tools/solution-evaluation-tools/communication-and-connectivity-solution-eval-boards/steval-idb008v1.html 3 | set CHIPNAME bluenrg-1 4 | source [find target/bluenrg-x.cfg] 5 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/steval-idb008v1.cfg: -------------------------------------------------------------------------------- 1 | # This is an evaluation board with a single BlueNRG-2 chip. 2 | # http://www.st.com/content/st_com/en/products/evaluation-tools/solution-evaluation-tools/communication-and-connectivity-solution-eval-boards/steval-idb007v1.html 3 | set CHIPNAME bluenrg-2 4 | source [find target/bluenrg-x.cfg] 5 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/lpc84x.cfg: -------------------------------------------------------------------------------- 1 | # NXP LPC84x Cortex-M0+ with at least 8kB SRAM 2 | if { ![info exists CHIPNAME] } { 3 | set CHIPNAME lpc84x 4 | } 5 | set CHIPSERIES lpc800 6 | if { ![info exists WORKAREASIZE] } { 7 | set WORKAREASIZE 0x1fe0 8 | } 9 | 10 | set IAP_ENTRY 0x0F001FF1 11 | source [find target/lpc1xxx.cfg] 12 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f1x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f3x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/cpld/altera-5m570z-cpld.cfg: -------------------------------------------------------------------------------- 1 | # Altera MAXV 5M24OZ/5M570Z CPLD 2 | # see MAX V Device Handbook 3 | # Table 6-3: 32-Bit MAX V Device IDCODE 4 | # Version Part Number Manuf. ID LSB 5 | # 0000 0010 0000 1010 0111 000 0110 1110 1 6 | jtag newtap 5m570z tap -expected-id 0x020a60dd -irlen 10 7 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/kcu105.cfg: -------------------------------------------------------------------------------- 1 | # xilinx ultrascale 2 | # http://www.xilinx.com/support/documentation/user_guides/ug570-ultrascale-configuration.pdf 3 | 4 | source [find interface/ftdi/digilent_jtag_smt2_nc.cfg] 5 | 6 | set CHIP XCKU040 7 | source [find cpld/xilinx-xcu.cfg] 8 | 9 | source [find cpld/jtagspi.cfg] 10 | 11 | adapter_khz 25000 12 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/st_nucleo_l4.cfg: -------------------------------------------------------------------------------- 1 | # Should work with all STM32L4 Nucleo Dev Boards. 2 | # http://www.st.com/en/evaluation-tools/stm32-mcu-nucleo.html 3 | 4 | source [find interface/stlink.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 | -------------------------------------------------------------------------------- /openocd-src/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.cfg] 7 | 8 | transport select hla_swd 9 | 10 | source [find target/stm32f4x.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /openocd-src/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.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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/nxp_frdm-ls1012a.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # NXP FRDM-LS1012A (Freedom) 3 | # 4 | 5 | # 6 | # NXP Kinetis K20 7 | # 8 | source [find interface/cmsis-dap.cfg] 9 | transport select jtag 10 | 11 | # Also offers a 10-pin 0.05" CoreSight JTAG connector. 12 | 13 | source [find target/ls1012a.cfg] 14 | 15 | reset_config srst_only 16 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/st_nucleo_h743zi.cfg: -------------------------------------------------------------------------------- 1 | # This is an ST NUCLEO-H743ZI board with single STM32H743ZI chip. 2 | # http://www.st.com/en/evaluation-tools/nucleo-h743zi.html 3 | 4 | source [find interface/stlink.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32h7x_dual_bank.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | reset_config trst_and_srst 10 | 11 | source [find board/ti_beaglebone-base.cfg] 12 | 13 | 14 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/target/ti_cc3220sf.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Texas Instruments CC3220SF - ARM Cortex-M4 3 | # 4 | # http://www.ti.com/CC3220SF 5 | # 6 | 7 | source [find target/swj-dp.tcl] 8 | source [find target/icepick.cfg] 9 | source [find target/ti_cc32xx.cfg] 10 | 11 | set _FLASHNAME $_CHIPNAME.flash 12 | flash bank $_FLASHNAME cc3220sf 0 0 0 0 $_TARGETNAME 13 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f3x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32l1.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | usb_blaster_lowlevel_driver ftdi 9 | # These are already the defaults. 10 | # usb_blaster_vid_pid 0x09FB 0x6001 11 | # usb_blaster_device_desc "USB-Blaster" 12 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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.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 | -------------------------------------------------------------------------------- /openocd-src/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.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 | -------------------------------------------------------------------------------- /openocd-src/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.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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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.cfg] 5 | 6 | transport select hla_swd 7 | 8 | source [find target/stm32f1x.cfg] 9 | 10 | reset_config srst_only 11 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/kcu105.cfg: -------------------------------------------------------------------------------- 1 | # xilinx ultrascale 2 | # http://www.xilinx.com/support/documentation/user_guides/ug570-ultrascale-configuration.pdf 3 | 4 | source [find interface/ftdi/digilent_jtag_smt2_nc.cfg] 5 | 6 | set CHIP XCKU040 7 | source [find cpld/xilinx-xcu.cfg] 8 | 9 | source [find cpld/jtagspi.cfg] 10 | 11 | adapter_khz 25000 12 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/st_nucleo_l4.cfg: -------------------------------------------------------------------------------- 1 | # Should work with all STM32L4 Nucleo Dev Boards. 2 | # http://www.st.com/en/evaluation-tools/stm32-mcu-nucleo.html 3 | 4 | source [find interface/stlink.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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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.cfg] 7 | 8 | transport select hla_swd 9 | 10 | source [find target/stm32f4x.cfg] 11 | 12 | reset_config srst_only 13 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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.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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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.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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/target/ti_cc3220sf.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Texas Instruments CC3220SF - ARM Cortex-M4 3 | # 4 | # http://www.ti.com/CC3220SF 5 | # 6 | 7 | source [find target/swj-dp.tcl] 8 | source [find target/icepick.cfg] 9 | source [find target/ti_cc32xx.cfg] 10 | 11 | set _FLASHNAME $_CHIPNAME.flash 12 | flash bank $_FLASHNAME cc3220sf 0 0 0 0 $_TARGETNAME 13 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/nordic_nrf52_ftx232.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # nordic module NRF52 (nRF52832/52840) attached to an adafruit ft232h module 3 | # or any FT232H/FT2232H/FT4232H based board/module 4 | # 5 | 6 | source [find interface/ftdi/ft232h-module-swd.cfg] 7 | #source [find interface/ftdi/minimodule-swd.cfg] 8 | 9 | transport select swd 10 | 11 | source [find target/nrf52.cfg] 12 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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.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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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.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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/microchip_same54_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Microchip (former Atmel) SAM E54 Xplained Pro evaluation kit. 3 | # http://www.microchip.com/developmenttools/productdetails.aspx?partno=atsame54-xpro 4 | # 5 | 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | set CHIPNAME same54 9 | 10 | source [find target/atsame5x.cfg] 11 | 12 | reset_config srst_only 13 | 14 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/contrib/loaders/erase_check/stm8_erase_check.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x00,0x80,0x00,0x00,0x80,0x00,0x96,0xcf,0x00,0x22,0x1e,0x01,0x16,0x04,0xa6,0xff, 3 | 0x90,0x5d,0x26,0x04,0x0d,0x03,0x27,0x17,0x90,0x5d,0x26,0x02,0x0a,0x03,0x90,0x5a, 4 | 0x92,0xbc,0x00,0x00,0xa1,0xff,0x26,0x07,0x5c,0x26,0xe5,0x0c,0x00,0x20,0xe1,0x1f, 5 | 0x01,0x17,0x04,0x8b, 6 | -------------------------------------------------------------------------------- /openocd-src/contrib/loaders/watchdog/armv7m_kinetis_wdog32.inc: -------------------------------------------------------------------------------- 1 | /* Autogenerated with ../../../src/helper/bin2char.sh */ 2 | 0x02,0x68,0x08,0x4b,0x1a,0x42,0x08,0x4b,0x01,0xd0,0x43,0x60,0x02,0xe0,0x83,0x80, 3 | 0x1b,0x0c,0x83,0x80,0x80,0x24,0xa2,0x43,0x20,0x24,0x22,0x43,0x02,0x60,0x03,0x4b, 4 | 0x83,0x60,0x06,0xe0,0x00,0x20,0x00,0x00,0x20,0xc5,0x28,0xd9,0x00,0x04,0x00,0x00, 5 | 0x00,0x00,0x00,0xbe, 6 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/nordic_nrf52_ftx232.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # nordic module NRF52 (nRF52832/52840) attached to an adafruit ft232h module 3 | # or any FT232H/FT2232H/FT4232H based board/module 4 | # 5 | 6 | source [find interface/ftdi/ft232h-module-swd.cfg] 7 | #source [find interface/ftdi/minimodule-swd.cfg] 8 | 9 | transport select swd 10 | 11 | source [find target/nrf52.cfg] 12 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/board/tp-link_tl-mr3020.cfg: -------------------------------------------------------------------------------- 1 | source [find target/atheros_ar9331.cfg] 2 | 3 | $_TARGETNAME configure -event reset-init { 4 | ar9331_25mhz_pll_init 5 | sleep 1 6 | ar9331_ddr1_init 7 | } 8 | 9 | set ram_boot_address 0xa0000000 10 | $_TARGETNAME configure -work-area-phys 0xa1FFE000 -work-area-size 0x1000 11 | 12 | flash bank flash0 ath79 0xbf000000 0 0 0 $_TARGETNAME cs0 13 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/microchip_same54_xplained_pro.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Microchip (former Atmel) SAM E54 Xplained Pro evaluation kit. 3 | # http://www.microchip.com/developmenttools/productdetails.aspx?partno=atsame54-xpro 4 | # 5 | 6 | source [find interface/cmsis-dap.cfg] 7 | 8 | set CHIPNAME same54 9 | 10 | source [find target/atsame5x.cfg] 11 | 12 | reset_config srst_only 13 | 14 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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.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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/tcl/interface/xds110.cfg: -------------------------------------------------------------------------------- 1 | # 2 | # Texas Instruments XDS110 3 | # 4 | # http://processors.wiki.ti.com/index.php/XDS110 5 | # http://processors.wiki.ti.com/index.php/Emulation_Software_Package#XDS110_Support_Utilities 6 | # 7 | 8 | interface xds110 9 | 10 | # Use serial number option to use a specific XDS110 11 | # when more than one are connected to the host. 12 | #xds110_serial 00000000 13 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/board/tp-link_tl-mr3020.cfg: -------------------------------------------------------------------------------- 1 | source [find target/atheros_ar9331.cfg] 2 | 3 | $_TARGETNAME configure -event reset-init { 4 | ar9331_25mhz_pll_init 5 | sleep 1 6 | ar9331_ddr1_init 7 | } 8 | 9 | set ram_boot_address 0xa0000000 10 | $_TARGETNAME configure -work-area-phys 0xa1FFE000 -work-area-size 0x1000 11 | 12 | flash bank flash0 ath79 0xbf000000 0 0 0 $_TARGETNAME cs0 13 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | interface ftdi 8 | ftdi_device_desc "OpenRD JTAGKey FT2232D B" 9 | ftdi_vid_pid 0x0403 0x9e90 10 | ftdi_channel 0 11 | 12 | ftdi_layout_init 0x0608 0x0f1b 13 | ftdi_layout_signal nTRST -data 0x0200 14 | ftdi_layout_signal nSRST -noe 0x0400 15 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd-src/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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.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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | -------------------------------------------------------------------------------- /openocd/share/openocd/scripts/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 | --------------------------------------------------------------------------------