Loading...
 
Skip to main content

System Workbench for STM32


openocd parameters with spaces won't work in the Debugger Tab

Hi,

It's not possible to pass parameters with spaces to openocd in the debugger tab in the Debug Configuration in Eclipse. I'm trying to add -c "tpiu config external uart off 64000000 2000000" to the line "{openstm32_openocd_path}\openocd.exe". Parameters without a space are OK. (-d3 works,but -echo "Hello" won't). Quoting will not help either. Does anybody know a workaround for this?

Thanks!

nevets

Hi Nevets,

Thank you for the report. I have logged an entry into the bug tracker.
For now, to run the OpenOCD command, you can add \" inside the double quotes around the parameters with space character.

Example :
-c "tpui ext.... 000"
into
-c "\"tpui ext.... 000\""

It should work.

Regards,
Kevin
Ac6

Hi Kevin,

unfortunately your suggested workaround does not work. I hope a bugfix comes soon. I really need this feature. I am trying to integrate ITM tracing into eclipse.

Regards,
Nevets