- This topic has 0 replies, 1 voice, and was last updated 6 years, 4 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Mastering STM32 book support forum › openOCD flash write_image only works with physical disconnect
Tagged: openocd
Hello,
my F401RE Nucleo runs fine so far, I am able to program it using st-link by texane (I could not get the ST Cube programmer to run on my system). But I am trying openOCD now. It connects fine, after connecting via telnet I can stop the MCU execution with ‘reset init’. Then I can use ‘flash write_image erase myfile.elf’ to flash. But then, I cannot use ‘reset’ to actually reset and see the result. When I physically disconnect and reconnect the board, the correct new program starts executing. The reset button (black one) also does not seem to reset the board, which seems very odd to me.
The ST-Link firmware is current as of the date of this post. OpenOCD version is 0.10.0.
Did somebody encounter a similar issue?