1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 23:12:45 +01:00
RIOT/boards/mulle/dist/openocd/mulle-programmer-0.60.cfg
Marian Buschsieweke 0fd649de67
boards/mulle: fix OpenOCD config
- use JTAG instead of SWD to restore old behavior
- replace deprecated configuration names with new ones
2024-05-01 21:01:43 +02:00

29 lines
892 B
INI

#
# Mulle programmer board v0.60
#
# The Mulle programming board uses a FTDI FT2232H chip for USB UART and JTAG
# combined functionality.
#
# Reduce this if you are having problems with losing connection to the Mulle
adapter speed 1000
# JTAG interface configuration
adapter driver ftdi
ftdi_device_desc "Mulle Programmer v0.60"
ftdi_vid_pid 0x0403 0x6010
ftdi channel 1
ftdi layout_init 0x0008 0x005b
# These are the pins that are used for SRST and TRST. Note that the Mulle
# programming board inverts the reset signal between the FTDI chip and the MCU,
# so we need to use -ndata here to tell OpenOCD that the signals are active HIGH.
ftdi layout_signal nTRST -ndata 0x0010
ftdi layout_signal nSRST -ndata 0x0040
# In the eyes of OpenOCD, the reset signal is push-pull, because of the hardware
# design however, it is actually open drain.
reset_config srst_push_pull srst_gates_jtag