-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
st-info: Bad user experience due to too high clock frequency #990
Comments
@oloftangrot: If you desire such change to our toolset, you should put up a PR with these changes for review. |
Don't ask me about my desires. It is an issue report. I forgot to mention selecting frequency by the abusing absolute temperature in Kelvin or prefix mili was not an option. I guess that would be on the issue report for st-flash tough. |
@oloftangrot: The point is if you have a fix - why don't you submit it as a proposal instead of opening an issue telling there is a solution? |
@chenguokai @slyshykO: What shall we do with this? Should the documentation be improved? |
I would suggest adding a documentation for this. BTW if I got it right, the default clock has become adjustable in v1.6.1. |
Well there actually IS some documentation already, since your contribution in #985 . |
Added diff for my fix. |
@Ant-ON: What is your opinion on this? Personally, I still don't see a general use case for this. Such long cable lengths that would possible require to reduce the clock speed down from the MHz range are not preferable in terms of primary line constants and/or external ingress. Also |
@Nightwalker-87 I think adding a frequency setting is a useful feature. But changes from "fix.diff.txt" need some work. At least the code style need change. It does not match the one used in the project. |
@oloftangrot Please provide a PR instead of a diff. |
I might have flushed that branch long time ago and don't really have time to check on it. And I would not know how to make a pull request even if I found it. So I guess it will be least work for all parts if you just apply my diff and commit it directy self. |
... and leave this ticket to automatic GitHub maintenance. ;-) |
The st-info tool defaults to 1,8 MHz clock speed without telling the user about it or allowing the user to select a more adequate speed. Depending on cable lengths between the programmer and the target, and other environmental conditions this is not a stable speed for a tool that does not require high band width but rather should provide confidence in the tools.
I have made a local branch that fixes the problem by:
The text was updated successfully, but these errors were encountered: