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 ftdi_serial FT2XCRZ1 # 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 reset_config srst_only srst_push_pull srst_nogate connect_assert_srst #reset_config none srst_push_pull srst_nogate