2017-10-06 14:59:07 +02:00
|
|
|
#
|
|
|
|
# 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
|
2024-05-01 18:57:38 +02:00
|
|
|
adapter speed 1000
|
2017-10-06 14:59:07 +02:00
|
|
|
|
|
|
|
# JTAG interface configuration
|
|
|
|
|
2024-05-01 18:57:38 +02:00
|
|
|
adapter driver ftdi
|
2017-10-06 14:59:07 +02:00
|
|
|
ftdi_device_desc "Mulle Programmer v0.60"
|
|
|
|
ftdi_vid_pid 0x0403 0x6010
|
|
|
|
|
2024-05-01 18:57:38 +02:00
|
|
|
ftdi channel 1
|
|
|
|
ftdi layout_init 0x0008 0x005b
|
2017-10-06 14:59:07 +02:00
|
|
|
|
|
|
|
# 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.
|
2024-05-01 18:57:38 +02:00
|
|
|
ftdi layout_signal nTRST -ndata 0x0010
|
|
|
|
ftdi layout_signal nSRST -ndata 0x0040
|
2017-10-06 14:59:07 +02:00
|
|
|
|
|
|
|
# In the eyes of OpenOCD, the reset signal is push-pull, because of the hardware
|
|
|
|
# design however, it is actually open drain.
|
2024-05-01 18:57:38 +02:00
|
|
|
reset_config srst_push_pull srst_gates_jtag
|