VisualGDB version : 5.4R11 (build 3235), Embedded Edition
DEBUGGER : ST-LINK V2 (latest FW)
I tried to download my project (used it before) to developed circuit. but Suddenly, it does not work. with error message associate ST-LINK or MEMORY MAP or OpenOCD (i guess).
Attach the log file. please help.
best reguard
This topic was modified 6 years ago by lowleveler00.
It looks like OpenOCD fails to program the FLASH memory:
[ 3516 ms] &"Error finishing flash operation\n"
This might be caused by a bug in the STM32L4 FLASH driver that sometimes doesn’t work when programming small ELF sections. Our best advice would be to try comparing the project that can be programmed with the one that triggers the error (e.g. using the Embedded Memory Explorer), and try eliminating the differences between them. Alternatively, please try using Segger J-Link. It comes with its own fully supported GDB stub that replaces OpenOCD and usually works much more reliably.