openocd.cfg 649 Bytes
Newer Older
lwc-tester committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
interface ftdi
transport select swd

ftdi_device_desc "FT2232H MiniModule"
ftdi_vid_pid 0x0403 0x6010
ftdi_serial FT2XA9MY

# The other channel is used for UART
ftdi_channel 1
ftdi_layout_init 0x0018 0x05fb

# This is somehow necessary?
ftdi_layout_signal SWD_EN -data 0

# BDBUS4 is connected to System Reset
ftdi_layout_signal nSRST -data 0x0010


#set WORKAREASIZE 0x2000
source [find target/stm32f7x.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 srst_only srst_push_pull srst_nogate
#reset_config none srst_push_pull srst_nogate