Search code examples
eclipsestm32openocd

Problems with OpenOCD under Eclipse Neon.2 (release 4.6.2)


I have been trying to establish connection between STM3220G-EVAL board and OpenOCD debugger under Eclipse Neon.2 (release 4.6.2) running on Windows 7 PC. My Debug Configuration looks like: enter image description here. The problem is that I still receive following Error Message: enter image description here. I have found in another thread that this message is due to the missing line -f board\stm32f4discovery.cfg so I have appended it. But the result is still the same. Does anybody know what the reason could be? Thanks for any suggestions.

enter image description here


Solution

  • You've set this option in the GDB section, not OpenOCD section. Check "Start OpenOCD locally" and move the "-f board/stm32f4discovery.cfg" line to "Config options" instead.