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

stm32: work around QSPI failing to read the last 32 bytes #773

Merged
merged 1 commit into from
Aug 8, 2022

Conversation

Daft-Freak
Copy link
Collaborator

Example code:

*(volatile uint8_t *)0x91FFFFE0; // boom, system gone

Locks up everything including debugging...

Guess who spent most of the day debugging this 😐. (Not that I need those bytes, it was just a really weird crash to hit)

More info: https://www.st.com/resource/en/errata_sheet/es0396-stm32h750xb-and-stm32h753xi-device-limitations-stmicroelectronics.pdf#%5B%7B%22num%22%3A90%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C67%2C546%2Cnull%5D

Locking up everything including debugging...
@Gadgetoid Gadgetoid merged commit 6e516d7 into 32blit:master Aug 8, 2022
@Gadgetoid
Copy link
Contributor

How in the world did you even stumble upon this? 😆

Thank you!

@Daft-Freak Daft-Freak deleted the qspi-32-bytes-erratum branch August 8, 2022 09:46
@Daft-Freak
Copy link
Collaborator Author

Think I was trying to copy the entire flash over USB... or something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants