Code Monkey home page Code Monkey logo

Comments (1)

doesnotcompete avatar doesnotcompete commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.