sabik-cpu/firmware/flash.cfg

27 lines
394 B
INI

set TRANSPORT hla_swd
source [find interface/ftdi/olimex-arm-usb-ocd-h.cfg]
source [find target/stm32f4x.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