You need to be in idle when you run save_configuration(), you can’t be in any state where the motor’s able to run.
Could you show me the full command for idle?
odrv0.axis0.requested_state = AXIS_STATE_IDLE
https://docs.odriverobotics.com/v/0.5.6/getting-started.html