summaryrefslogtreecommitdiff
path: root/openocd.cfg
blob: 132141384a1619b0d7ac54e5626dba76ca2b1a21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
telnet_port 4444
gdb_port 3333

interface ft2232

ft2232_vid_pid 0x1457 0x5118
ft2232_layout "jtagkey_prototype_v1"
ft2232_device_desc "USB<=>JTAG&RS232"

reset_config trst_and_srst

source [find target/stm32f1x.cfg]

proc flash_chip {} {
	halt
	stm32x mass_erase 0
	reset halt
	flash write_image suzumebachi.elf 0 elf
	reset
	shutdown
}

init