-
Notifications
You must be signed in to change notification settings - Fork 12
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
Hardfault handler broken #295
Comments
I'm not really familiar with that portion of the code, assigning to Kaspar. As that code section has a note that it was copied from Tock: That relates to several of the register reads, but taking the xpsr from the ExceptionFrame is something that AIU was new in our version of it. |
The bug is that the exception frame reference is garbage in c-m-rt 0.7.4, so anything you try and read from it will cause a second fault (probably due to alignment). I think you should pin to cortex-m-rt 0.7.3 until a bugfix is released. |
Thanks, confirmed. #296 pins I hadn't actually seen that hard fault debug output in a while, as the |
Closing as we've fixed this by workaround. |
You should be aware of rust-embedded/cortex-m#532, as you appear to have a hardfault handler that relies on the exception frame being provided. This is broken in cortex-m-rt 0.7.4.
The text was updated successfully, but these errors were encountered: