mirror of
https://github.com/cnlohr/colorchord.git
synced 2024-11-10 14:10:11 +00:00
27 lines
385 B
INI
27 lines
385 B
INI
set TRANSPORT hla_swd
|
|
|
|
source [find interface/stlink-v2.cfg]
|
|
source [find target/stm32f3x_stlink.cfg]
|
|
|
|
#reset_config none separate
|
|
#reset_config srst_push_pull
|
|
#separate trst_push_pull
|
|
|
|
#reset_config srst_nogate
|
|
|
|
init
|
|
|
|
reset halt
|
|
halt 20
|
|
reset
|
|
sleep 10
|
|
reset halt
|
|
flash write_image erase main.bin 0x08000000
|
|
sleep 10
|
|
reset
|
|
sleep 10
|
|
arm semihosting enable
|
|
reset run
|
|
sleep 10
|
|
#shutdown
|