Statistics
| Branch: | Tag: | Revision:

amiro-blt / Target / Modules / DiWheelDrive_1-1 / Boot / cmd / flash.cfg @ 367c0652

History | View | Annotate | Download (422 Bytes)

1 69661903 Thomas Schöpping
###
2
# Description: mass erases and flashes the binary with OpenOCD
3
# Usage: openocd.exe" -f flash.cfg
4
###
5
6
source [find interface/olimex-arm-usb-tiny-h.cfg]
7
source [find board/olimex_stm32_h103.cfg]
8
9
jtag_khz 1000
10
11
init
12
reset
13
sleep 500
14
halt
15
stm32x mass_erase 0
16
flash write_image ..\\bin\\openbtl_olimex_stm32p103.elf
17
#flash write_image erase ..\\bin\\openbtl_olimex_stm32p103.elf
18
reset run
19
shutdown
20
21