cancel
Showing results for 
Search instead for 
Did you mean: 

SRST error when trying to run openocd on stm32f4

penjo989
Associate

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 

2 REPLIES 2
midcodegabby
Visitor

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.

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