this is the .cfg file for STM32F072B-Discovery board to be used with OpenOCD.
I don't know why but this micro use a different reset method.
I hope this will be useful to some other.
Bye
Code: Select all
# STM32F072B-Discovery board
# http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF259724?icmp=stm32f072-discovery_pron_pr_jan2014&sc=stm32f072discovery-pr
source [find interface/stlink-v2.cfg]
transport select hla_swd
set WORKAREASIZE 0x2000
source [find target/stm32f0x.cfg]