-
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
STM32L476 DISCOVERY: st-flash failing to write #981
Comments
I ran into the same regression on a Nucleo L476RG board both stlink 1.5.0 and 1.6.0 work for me, but the latest version from git produces this output (after I stopped it from spamming USB log messages to stdout):
|
I think this may be a timing issue. I had the same problem with the stm32l432. I made the following change in flash_loader.c that seem to resolve the issue. I hesitate to say that's the root cause.
|
@geoffreymbrown: Could you submit this as a PR, as soon as @tabemann and/or @Crest verified? |
I tested the patch in the develop branch with Nucleo STM32L476RG board and its onboard ST-LINK/V2-1. The patch fixed the regression. Thanks for looking into this. |
@geoffreymbrown: I'll leave this to you then... |
Thank you for giving feedback to the stlink project.
In order to allow developers and other contributors to isolate and target your respective issue, please take some time to fill out each of the following items appropriate to your specific problem:
st-flash
Futher we kindly ask you to describe the detected problem as detailed as possible and to add debug output if available, by using the following template:
Commandline-Output:
Expected/description:
That st-flash would successfully write zeptoforth.bin onto the flash memory of the STM32L476 MCU, at 0x08000000.
NOTICE: This bug report may be closed without further notice, if not enough information is provided!
Thank you for your support.
The stlink project maintainers
The text was updated successfully, but these errors were encountered: