Somehow, the problem fixed itself :). I only connect the cable after USB mode has been activated now, and of course only disconnect after it’s been deactivated. Works like a charm.