RECOVERING SMs with JTAG

Has anyone JTAGed an SM before? We have various SMs that failed firmware upgrades that we can’t recover and would like to try this. I’ve never used JTAG software before and I was wondering if anyone had recommendations on that, or pinout from the P9 board to a PC.