-
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
ST-LINK on STM32-H437ZI2 stopped working after installing MicroPython #1091
Comments
@codedump My changes are already included in the main branch. You may use |
Hi, I am also experiencing something similar. I currently connected the openmv h7 plus to the stlink v2 programmer but when I run
and when I run
It doesn't look right to me. Each time I run either commands, the sram values always changes. The version of stlink is v1.61. Regards |
(I had -- and still have -- a lot of supplementary information on this, but at the time of creation 3 weeks ago, the thread was all of a sudden closed and only people "who have contributed to this project in the past" could comment on this issue. I was cut off in the middle of the conversation, so to speak -- any of the responsible care to please explain why?) Anyway. Here's more.
Regarding reset process itself: f I reset the device and keep
Then few seconds later, upon repeatedly probing with
Then, if I release the reset button, finally:
And it stays that way. This is true also for the Meanwhile I've downloaded the official STM32CubeProgrammer. It also
Under reset:
The funny part is that the board now, after having connected once I've also tried the
In essence, I think
One way or another, there definitely is a bug in there somewhere. |
@codedump When the reset button is pressed, the microcontroller is in an undefined state. And it's okay if the results are chaotic. I looked at the code in detail. Parameters '--probe' and '--connect-under-reset' are not may used together. You may use other parametrs with '--connect-under-reset' such as '--chipid'. |
@Ant-ON
From what you're saying, I believe we're looking at at least two different bugs in |
Hello,
I've managed to use
st-link
to install MicroPython on anSTM32-H743ZI2
Nucleo-144 board weeks ago, using @Ant-ON's version.Recently I wanted to dive deeper into STM32 programming, but the ST-LINK doesn't seem to work after flashing with MicroPython:
I've also tried it with the current develop branch yesterday, same result. It appears to me as if flashing MicroPython somehow killed the ST-LINK interface and I don't understand how. According to MicroPython people this isn't supposed to happen, so now I'm asking here as my next station: is this normal? Is this a bug? What do I need to do to investigate?
I have a container image built for working with stm32 stuff if anyone feels like reproducing.
Thanks & Cheers,
Florin.
The text was updated successfully, but these errors were encountered: