do not force the presence of the reset line, since some custom boards
may do not contain the reset line.
Change-Id: I031ab34012b34a1b49def9db16461f9de0ae29cc
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reported-by: Fleck <fleckz@users.sourceforge.net>
Fixes: https://sourceforge.net/p/openocd/tickets/316/
Reviewed-on: https://review.openocd.org/c/openocd/+/6506
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
12 files changed:
set WORKAREASIZE 0x40000
source [find target/stm32f7x.cfg]
set WORKAREASIZE 0x40000
source [find target/stm32f7x.cfg]
+
+reset_config srst_only
source [find target/stm32f7x.cfg]
source [find target/stm32f7x.cfg]
+reset_config srst_only
+
# QUADSPI initialization
proc qspi_init { } {
global a
# QUADSPI initialization
proc qspi_init { } {
global a
source [find target/stm32f7x.cfg]
source [find target/stm32f7x.cfg]
+reset_config srst_only
+
# QUADSPI initialization
proc qspi_init { } {
global a
# QUADSPI initialization
proc qspi_init { } {
global a
source [find target/stm32f7x.cfg]
source [find target/stm32f7x.cfg]
+reset_config srst_only
+
# QUADSPI initialization
proc qspi_init { } {
global a
# QUADSPI initialization
proc qspi_init { } {
global a
set WORKAREASIZE 0x40000
source [find target/stm32f7x.cfg]
set WORKAREASIZE 0x40000
source [find target/stm32f7x.cfg]
+
+reset_config srst_only
source [find target/stm32h7x.cfg]
source [find target/stm32h7x.cfg]
+reset_config srst_only
+
# OCTOSPI initialization
# octo: 8-line mode
proc octospi_init { octo } {
# OCTOSPI initialization
# octo: 8-line mode
proc octospi_init { octo } {
source [find target/stm32h7x_dual_bank.cfg]
source [find target/stm32h7x_dual_bank.cfg]
+reset_config srst_only
+
source [find board/stm32h7x_dual_qspi.cfg]
$_CHIPNAME.cpu0 configure -event reset-init {
source [find board/stm32h7x_dual_qspi.cfg]
$_CHIPNAME.cpu0 configure -event reset-init {
source [find target/stm32h7x_dual_bank.cfg]
source [find target/stm32h7x_dual_bank.cfg]
+reset_config srst_only
+
# QUADSPI initialization
# qpi: 4-line mode
proc qspi_init { qpi } {
# QUADSPI initialization
# qpi: 4-line mode
proc qspi_init { qpi } {
source [find target/stm32h7x.cfg]
source [find target/stm32h7x.cfg]
+reset_config srst_only
+
source [find board/stm32h7x_dual_qspi.cfg]
$_CHIPNAME.cpu0 configure -event reset-init {
source [find board/stm32h7x_dual_qspi.cfg]
$_CHIPNAME.cpu0 configure -event reset-init {
source [find target/stm32h7x_dual_bank.cfg]
source [find target/stm32h7x_dual_bank.cfg]
+reset_config srst_only
+
# OCTOSPI initialization
# octo: 8-line mode
proc octospi_init { octo } {
# OCTOSPI initialization
# octo: 8-line mode
proc octospi_init { octo } {
#
# This target is compatible with connect_assert_srst, which may be set in a
# board file.
#
# This target is compatible with connect_assert_srst, which may be set in a
# board file.
-reset_config srst_only srst_nogate
+reset_config srst_nogate
if {![using_hla]} {
# if srst is not fitted use SYSRESETREQ to
if {![using_hla]} {
# if srst is not fitted use SYSRESETREQ to
# usage does not work with HLA, so is not done by default. That change could be
# made in a local configuration file if connect_assert_srst mode is needed for
# a specific application and a non-HLA adapter is in use.
# usage does not work with HLA, so is not done by default. That change could be
# made in a local configuration file if connect_assert_srst mode is needed for
# a specific application and a non-HLA adapter is in use.
-reset_config srst_only srst_nogate
+reset_config srst_nogate
if {![using_hla]} {
# if srst is not fitted use SYSRESETREQ to
if {![using_hla]} {
# if srst is not fitted use SYSRESETREQ to