1
0
Fork 0
dht_test/openocd.cfg

25 lines
633 B
INI

# This is an ST NUCLEO F103RB board with a single STM32F103RBT6 chip.
# http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF259875
interface ftdi
transport select swd
ftdi_vid_pid 0x0403 0x6010
# ftdi_device_desc "USB Serial Converter A"
# ftdi_device_desc "FT2232H ¿ª·¢°å"
# ftdi_serial "FTZ7O8O0"
ftdi_channel 1
#adapter_khz 500
#adapter_khz 8
ftdi_layout_init 0x0018 0x05fb
ftdi_layout_signal SWD_EN -data 0
#ftdi_layout_signal nSRST -data 0x0020
ftdi_layout_signal nTRST -ndata 0x0010 -noe 0x0040
ftdi_layout_signal nSRST -ndata 0x0020 -noe 0x0040
source [find target/stm32f1x.cfg]
reset_config srst_only