Please try this. It works for me on Windows 11 and MacOS. https://review.openocd.org/c/openocd/+/9136
I will look into this and hopefully have something to test this week.