STM32CubeIDE v1.8 fails to connect to OpenOCD with error message: Could not verify ST device!
I need to write code using STM32CubeIDE for the STM32F407ZG on the STM32-E407 dev board from Olimex. The dev board is connected to the PC running windows 10 via the Olimex ARM-USB-OCD-H Jtag debugger.
I installed the drivers (WinUSB (v6.1.7600.16385)) for the ARM-USB-OCD-H using Zadig, then run openocd (openocd-0.9.0-rc1).
To test it, I created and built a simple program using STM32CubeIDE. In another terminal, I run arm-none-eabi-gdb.exe. I can connect to the openocd and program the board.
Everything is working so far.
But when I loaded it using STM32CubeIDE (Version: 1.8.0, Build: 11526_20211125_0815 (UTC), I got this error: Could not verify ST device!
OpenOCD reported that: invalid command name "WriteDP�?
This is my debug configuration settings:
Using STM32CubeIDE version 1.6 and with the same settings and same program, I can load and debug the program.
I really want to use the latest STM32CubeIDE. Any help appreciated.
