Specifying TMC2209 parameters (Including sensorless homing) on a "MANUAL STEPPER"

Okay, I found this thread:

Which discusses manual_stepper- it seems that the [tmc2209 statement in printer.cfg must first and the endstop_pin parameter must have a colon instead of an equals sign.

Changing the definition above to:

[tmc2209 manual_stepper stepper_1]
uart_pin: PC15
uart_address: 1
diag_pin: PC13
run_current: 0.300
stealthchop_threshold: 999999
driver_SGTHRS: 70
[manual_stepper stepper_1]
step_pin: PC10
dir_pin: PC11
enable_pin: !PB9
microsteps: 16
rotation_distance: 40
velocity: 25
accel: 1000
endstop_pin: tmc2209_stepper_1:virtual_endstop
position_min: -200
position_max: 225

Doesn’t get the Klipper error but I’m having problems getting the MANUAL_STEPPERG-Code commands working properly. Note that I changed the run_current and velocity parameters to match what I use with sensorless homing on the axis steppers.

For example:

MANUAL_STEPPER STEPPER=stepper_1 MOVE=10 STOP_ON_ENDSTOP=1

Causes the stepper to move to the endstop but it does not move back afterwards.

When I try a set position command:

MANUAL_STEPPER STEPPER=stepper_1 SET_POSITION=10

Nothing happens.

I can disable the driver using:

MANUAL_STEPPER STEPPER=stepper_1 ENABLE=0

Which does turn off the stepper driver.

But when I again try:

MANUAL_STEPPER STEPPER=stepper_1 MOVE=10 STOP_ON_ENDSTOP=1

I get the error:

No trigger on manual_stepper stepper_1 after full movement

Here is the sequence:

Any suggestions on how to get movement as I am expecting (ie to move like a stepper defined as an axis)?

Thanx.