OpenOCD - JLink targetpower configuration

I am using a Jlink (edu version 10.1) debugger with Openocd and I can’t get the configuration correct to turn the targetpower ON.

I am using Mac OS (Open On-Chip Debugger 0.10.0-dev-00371-g81631e4 (2016-08-17-14:21)

and Windows (GNU ARM Eclipse 64-bits Open On-Chip Debugger 0.10.0-00114-g8419536)

and can get neither to turn on the power for the Jlink. I can get JLinkexe to turn the power on and off with both Windows and Mac OS.

According to the documentation the command required is:

Command: jlink config targetpower [on|off]

If I use the command:

openocd -f openocd.cfg -c init -c “jlink config targetpower off”

nothing happens…

If I use the command:

openocd -f openocd.cfg -c “jlink config targetpower off”

I get the error:

Error: The ‘targetpower’ command must be used after ‘init’.

“where” does the command need to be executed?

Thanks in advance!

William