summaryrefslogtreecommitdiff
path: root/board/nucleo-f411re/openocd-flash.cfg
blob: 7a6ea6316c6ed0a2c578714991336cdb28144b07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source [find board/st_nucleo_f4.cfg]

# For flashing, force the board into reset on connect, this ensures that
# code running on the core can't interfere with programming.
reset_config connect_assert_srst

gdb_port 0
tcl_port 0
telnet_port 0
init
reset init
flash write_image erase unlock $BUILD_DIR/ec.bin 0x08000000
reset halt
resume
shutdown