-
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
[reset] Board won't start up after flashing #532
Comments
Thats actually a very good question. Probably we need a option like |
Looking into
but this seems not to reset the microcontroller. |
Trying the
|
Added |
I have just merged a possible fix from PR #534. Could you test latest master? |
Testet with most recent 01b9e16 but same behaviour. |
Pass /dev/bus/usb in order to be able to access the stlink interface from within the Docker container. Use GDB to work around stlink issue #532 [1]. [1] stlink-org/stlink#532
Pass /dev/bus/usb in order to be able to access the stlink interface from within the Docker container. Use GDB to work around stlink issue #532 [1]. [1] stlink-org/stlink#532
Hi! Any progress on this issue? |
SWRST pin is independed of CPU core state (running,halted). Which register-controlled. There is no progress on this issue and I'm happy to receive a correct fix for this. |
Ok, but why it doesn't work without SWRST pin? Program runs for a few milliseconds (I see log messages from board via UART) and then holds :( As I said - no problem when using STM's original SW on Win. About SWRST: unfortunately work with device remotely, so can't check what happens with oscilloscope :(, may be something wrong with this pin it self. PS. Is it important st-link FW version? |
Tried with OpenOCD, didn't re-flash the device, just "reset run" - and device started working. |
@Nightwalker-87 This issue most like fixed by #1071 (software reset rework) |
Closed by #1071. |
Compiled most recent sources
st-flash --version
= v1.2.0-155-gecc31f7Stm target boards:
st-info --descr
=F4 device (low power)
)st-info --descr
=F4 device (low power) - stm32f411re
)Stlink commandline:
Output:
Expected/description:
After finished writing to flash, the flashed binary don't start up (regardless if I call
st-flash
with or without--reset
parameter). I need to press the "RESET" button of the discovery board to start my application.What's the way to automatically start the flashed binary?
The text was updated successfully, but these errors were encountered: