aboutsummaryrefslogtreecommitdiff
path: root/openocd/target/stm32f1x.cfg
blob: 6e16f9dfc29086644899983344b0960e516accbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
set CHIPNAME stm32f1x
set CPUTAPID 0x3ba00477

gdb_memory_map enable
gdb_flash_program enable

jtag newtap $CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $CPUTAPID
dap create $CHIPNAME.dap -chain-position $CHIPNAME.cpu

jtag newtap $CHIPNAME bs -irlen 5

target create $CHIPNAME.cpu cortex_m -endian little -dap $CHIPNAME.dap