-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
STM32L496G discovery kit - st-flash write does not work - flash loader run error #657
Comments
@homer242: Please verify if the problem still exists in Release v1.5.0. |
Hi,
I will try this version next monday and let you know the result.
Regards,
Le ven. 20 mars 2020 à 12:52, Nightwalker-87 <notifications@github.com> a
écrit :
… @homer242 </~https://github.com/homer242>: Please verify if the problem
still exists in Release v1.5.0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#657 (comment)>, or
unsubscribe
</~https://github.com/notifications/unsubscribe-auth/AAADB7UVRPCP45EGDY22MH3RINKJJANCNFSM4EFUE46A>
.
|
I have just tested with the version 1.5.1 available in debian buster. I was able to flash my board:
Thanks for all the work done ! |
Edit: ... but it is in wrong chronological order. Very confusing to me. |
I do not know whether it works with the version 1.5.0 or not. I forget lot of things about the issue context. Apparently, the flash operation did not work with the version v1.4.0-13-g1969148 and my board based on STM32L4 microchip. Indeed, the PR #615 says I make a fix for STM32L496xx/4A6xx devices and it was before I opened this issue. It is a little bit disturbing. I think the story is I did a mistake with the title of this issue and saying there was a problem with the "STM32L496G discovery kit". I did first try with the discovery board. And stlink worked well after my fix (PR #615 ). Next, I might have tried with an another board based on STM32L4 microchip, it did not work and this is why I opened this issue. Actually, it was rather a problem with the board I think. |
I see. So if you say it may have been a hardware related problem, which is no longer reproducible, I'd suggest to link this to the mentioned PR without changing the title. The latter would not help any further as the circumstances are too old to remember precisely. To sum it up: You did a PR for v1.5.0 which adds support for the mentioned board and later used tried with v1.4.0 and reported this. (for whatever reason, I don't question that :-D ). However it was solved already by then. So it is fixed in v1.5.0, where this now solved issue belongs. That's all I needed to know. Thank you for helping to get this sussed out. 👍 |
st-flash
I cannot use st-flash to write an image on linux. By now, I use Windows to do this. I can see these information in the STM32 ST-LINK Utility when I click on "Connect to the target." button:
It works pretty well on Windows (Windows 7 Pro) but I need to hold on the reset button when I plug the board to the USB port of my laptop. If I do not, the ST-LINK program does not work well. I do not know why I need to do this but I saw on Internet few month ago a guy talk about this hint and since I use this trick. A colleague with the same board and a different laptop (with Windows XP) can use it without this trick. Pretty weird. Perhaps, this behavior can explain why I cannot use st-flash on linux ?
If I use the option --debug, there are extra information. I put the output in an attached file: write_debug_out.txt
After trying to write an image with st-flash, If I plug the board on my Windows laptop and try to start the board with ST-LINK_CLI.exe, nothing happen:
I hope the information will be enough to help me.
Thank you,
Anthony V.
The text was updated successfully, but these errors were encountered: