openocd.cfg 608 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
interface ftdi
transport select jtag

ftdi_device_desc "FT2232H MiniModule"
ftdi_vid_pid 0x0403 0x6010

# The other channel is used for UART
ftdi_channel 1
ftdi_layout_init 0x0018 0x05fb
lwc-tester committed
10
ftdi_serial FT2XCRZ1
11 12 13 14 15 16 17 18 19 20 21 22 23

# BDBUS4 is connected to JTAG TRST
ftdi_layout_signal nTRST -data 0x0010

# BDBUS5 is connected to System Reset
ftdi_layout_signal nSRST -data 0x0020


set WORKAREASIZE 0x2000
source [find target/stm32f1x.cfg]

#tpiu config internal swodump.stm32f103-generic.log uart off 72000000

24 25
reset_config srst_only srst_push_pull srst_nogate connect_assert_srst
#reset_config none srst_push_pull srst_nogate
26