-
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
STM32L053C8T6: Cannot flash with Release version but can do with Debug #1225
Comments
I'd add |
@gszy Do you have an idea on this one? There appears to be a timeout leading to the first error:
|
@mynameisdaniil When looking at your outputs, we find that there is erroneous behaviour in all four of them, even though you claim the "macOS Debug" case to be working - the flash loader isn't doing so. |
@Ant-ON This is another strange topic where I'm unsure where to look at, really. Is it possibly timeout-related only or is there an improper way of implementation when trying to select the flash loader? I couldn't make it out yet. |
Is there any way I can help you? |
Thanks for the offering @mynameisdaniil. The current problem I have here is a missing clue where to look at specifically. The people most recently involved in or related topics around this implementation have been triggered already. We're still waiting for any response or anyone else familiar with the topic. I'd be looking forward to resolve this issue as well... |
Duplicate of #681. |
@mynameisdaniil Please continue to follow the main thread in #681. |
@Nightwalker-87 will do. Thanks for the heads-up. |
@Nightwalker-87 I think this might be another problem with halfpage write mode. Need to check the changes suggested in #1203. Yes, this changes is to completely remove halpage mode, but it is better to be slower than with errors... |
@Ant-ON We should address everything in #681, as the derived result is at least very similar if not the same. It does not matter should there be several reasons of origin. It is difficult to track and discuss an issue in several threads. I've added the relevant info from other related tickets there as well. |
@Nightwalker-87 |
Current develop version of st-link tools cannot flash subj MCU when I'm using locally built release version on macos@arm64, though it works fine when I'm using debug build. Timing issues?
Furthermore, nor debug nor release versions work on linux@amd64 but v1.6 provided in ubuntu repo works just fine.
Almost went into binge debug mode but thought somebody might know answer from the top of their head.
./build/Debug/bin/st-flash --reset write ./firmware.bin 0x08000000
macos/release:
macos/debug:
linux/release:
linux/debug:
Expected/description:
I expect it to work in all cases.
The text was updated successfully, but these errors were encountered: