-
Notifications
You must be signed in to change notification settings - Fork 183
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
SPI/ITM fixes #351
SPI/ITM fixes #351
Conversation
ITM broken on Nucleo H743/H753 boards (#346) SPI overruns are not handled, resulting in infinite loop (#349) SPI can suffer from overruns due to TX/RX asymmetry (#350) In addition to fixing these bugs, this work removes the Gimlet hostflash task from the H743/H753 boards -- and replaces it with the venerable ping.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, the SPI parts look reasonable -- what's with the task-ping stuff?
This has not solved my problems getting my h753 to do ITM. First, enabling cannot find the clock scaler:
If I give it an archive to look at, then it knows the clock and
I have used I would love to help confirm this patch works, but I don't understand how to make ITM work as designed. (I will happily contribute docs for the |
For ITM, it can be helpful to get OpenOCD out of the picture entirely (that is, don't run it); Humility will attach directly to the STLink itself and ITM should work. (I would like to not support ITM over OpenOCD at all because it is error prone; I'll file a separate Humility issue on that.) |
Yes! Taking OpenOCD out of the loop worked, I finally have ITM logs on my h753. Is it OK if I send a couple of PRs in for docs on "humility itm" and an update to the Hubris README to indicate when OpenOCD is a good choice (for use with gdb?) and when it's not? |
Definitely -- and thank you! |
This work fixes the following:
In addition to fixing these bugs, this work removes the Gimlet hostflash
task from the H743/H753 boards -- and replaces it with the venerable ping.
This has been tested on both Nucleo-144 boards (H743 and H753) with
attached SPI flash, as well as Gimlet.