2012-05-03 10:09:09 -05:00
|
|
|
# STM320518-EVAL: This is an STM32F0 eval board with a single STM32F051R8T6
|
|
|
|
# (64KB) chip.
|
|
|
|
# http://www.st.com/internet/evalboard/product/252994.jsp
|
|
|
|
#
|
|
|
|
# This is for using the onboard STLINK/V2
|
|
|
|
|
|
|
|
source [find interface/stlink-v2.cfg]
|
|
|
|
|
2013-09-28 05:23:15 -05:00
|
|
|
transport select hla_swd
|
|
|
|
|
2012-05-03 10:09:09 -05:00
|
|
|
# increase working area to 8KB
|
|
|
|
set WORKAREASIZE 0x2000
|
|
|
|
|
|
|
|
# chip name
|
|
|
|
set CHIPNAME STM32F051R8T6
|
|
|
|
|
2013-09-28 05:23:15 -05:00
|
|
|
source [find target/stm32f0x.cfg]
|
2012-05-01 12:47:28 -05:00
|
|
|
|
|
|
|
# use hardware reset, connect under reset
|
|
|
|
reset_config srst_only srst_nogate
|