Comments (1)
Okay, the issue was simply that the CM4 core was gated via the corresponding option bit on the board I'm using. Maybe it could be helpful to modify the script for the STM32H7X target to check for this. If, for instance, the CM7 is gated, setting option flags isn't possible any more via the stm32h7x option_write
command. I've managed to set both cores to boot with a gated CM7 like this:
# Unlock option registers via OPTKEYR (see sec. 4.9.3 of the reference manual)
stm32h7x.cpu1 mww 0x52002008 0x08192A3B
stm32h7x.cpu1 mww 0x52002008 0x4C5D6E7F
# Set BOOT_CM4 and BOOT_CM7 (note that this will overwrite all option flags)
stm32h7x.cpu1 mww 0x52002020 0x0BC6AAF0
# Set OPTSTART
stm32h7x.cpu1 mww 0x52002018 0x2
# Check result
stm32h7x.cpu1 mdw 0x5200201C
from openocd.
Related Issues (20)
- Build fails in branch openocd-cubeide-r4 or tag openocd-cubeide-v1.8.0 or later [-Werror=maybe-uninitialized] HOT 3
- OpenOCD with STM32L082 not handling IWDG/WWDG/STOP/SLEEP correctly
- This repository seems to be out of date HOT 1
- ‘misc_items’ may be used uninitialized in stlink_usb.c/stlink_dap_op_queue_run_interna
- STM32F769 Not reading from D-Cache
- invalid command name "hla_serial" HOT 1
- How to use OpenOCD to debug the Cortex-M4 of STM32H7?
- STM32WBA missing target configuration file
- Status of the fork and upstreaming changes HOT 1
- STM32F767ZG says "Cortex-M PARTNO 0x0 is unrecognized" HOT 1
- stm32wlx: SWOTrace not working
- STM32WL error flashing with enabled LoRa middleware using OpenOCD
- Missing commits from STM32CubeIDE 15.0 (STM32H7S support)
- Failed to read memory HOT 1
- Build fails on raspberry pi 4 HOT 1
- Segfault when trying to connect to target stm32wlx HOT 2
- gdbserver, Failed to read memory at 0xfffffffe HOT 1
- ST-LINK V3 fails to connect to an STM8 target
- Unable to use with Nucleo-H753ZI board HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openocd.