Skip to main content
Visitor II
October 16, 2024
Question

SRST error when trying to run openocd on stm32f4

  • October 16, 2024
  • 1 reply
  • 701 views

i got a stm32f4 and wrote some code to it, then tried to run openocd  and got this error 

penjo989_0-1729110559801.png

my openocd.cfg

penjo989_1-1729110589100.png

note - i reflashed the stlink a couple of times and changed it to jlink(and then back to stlink) so that might have something to do with it.

would very appreciate any help :), i've been stuck on this for a week now 

    This topic has been closed for replies.

    1 reply

    Visitor II
    December 18, 2024

    Did you end up solving your issue? I am currently stuck with the same problem after reprogramming my stlink with jlink firmware and then back to stlink.

    Visitor II
    December 18, 2024

    Never mind, I resolved the issue by updating the ST-Link using ST's STLinkUpgrade tool. This resolved the problem.