AC6 OpenOCD not working with STM32CubeMX import
I’m using the lastest version of AC6 System workbench, my computer is installed with a linux Debian 9.4 for AMD64.
I test the openocd bundeled with AC6 outside eclipse and i’ts working fine with the configuration file that i had to modifyat the line : source find interface/stlink.cfg.
and change it to : source find interface/stlink-v2.cfg
the configuration menu of the debugger, I chose the ‘user defined’ option for the configuration script.
But inside eclipse I’ve a timeout error for the debugger backend
”
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: Connexion terminée par expiration du délai d’attente. (means Timeout)
localhost:3333: Connexion terminée par expiration du délai d’attente.
’’
If i start manualy openocd and open a debug session inside eclipse it’s working well to but i don’t like this solution.
I’ve the same config of AC6 on windows and it’s working with no problems
For linux, where to search?