Hi there,
I have problem while flashing the software to stm 32. I am using ST link for debugging.
Flashing was working fine, but after while, i am getting getting the error as “Error finishing flash operation”.
In openOCD i am getting the error as below.
Info : flash_write_start:0x8020400|0x80c7528|stm32f4x.flash
Error: timeout waiting for algorithm, a target reset is recommended
Info : flash_write_done:stm32f4x.flash
Error: error executing stm32x flash write algorithm
Error: flash write failed = 00000040
Error: error writing to flash at address 0x08000000 at offset 0x00020400
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
adapter speed: 1800 kHz
target halted due to debug-request, current mode: Thread
Please help me to solve this problem.
Thank you