Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear SP flash errors we should never see #1905

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Clear SP flash errors we should never see #1905

merged 2 commits into from
Oct 24, 2024

Commits on Oct 24, 2024

  1. Clear SP flash errors we should never see

    The STM32H7 is haunted/contains an errata where the CPU may
    speculate into a system area (`0x1ff0_0000`) and trigger a flash
    error normally only seen when security features are enabled.
    This is not an official errata but seems to be well(?) reported
    
    https://community.st.com/t5/stm32-mcus-products/spurious-rdperr-and-rdserr-when-all-protection-and-security/td-p/279852
    zephyrproject-rtos/zephyr#60449
    
    One suggested workaround is to add an extra MPU region which
    marks The Danger Zone as NX. For the way hubris is designed this
    isn't plausible. Instead clear any errors before we attempt to
    write to flash.
    labbott committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    917d2a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fa6b19 View commit details
    Browse the repository at this point in the history