Before you begin
The positional tracking system built in to the OSVR HDK uses a collection of IR LEDs built in to the headset synchronized with a high-framerate IR camera. The LEDs are driven (in particular timings, patterns, etc.) by a dedicated STM8 microcontroller on a separate board inside the HDK, which unfortunately cannot be re-flashed over the HDK's existing USB connections. This guide shows how to access the IR board and where/how you'd want to solder wires and a connector (though it doesn't teach how to solder or get into similar details). It forms a part of the overall instructions to reprogram the IR driver microcontroller. There are tempting references sprinkled throughout that mention the "P5" programming connector and not having to solder. The only case in which you can use this is if and only if: a: your device actually has this connector (HDK 1.4 and HDK 2), and b: your programmer is an official ST-Link V2 bundle from ST or one of their distributors that came with the standard 0.1" pitch to 4-pin "Erni" cable (top-left cable in the image on that link to Digi-Key). Probably 99% of the devices you'll find labeled "ST-Link V2" do not meet these requirements. Portions of this guide are based on other community-contributed iFixit guides for the HDK - thank you to those contributors for their work, especially their great photography! Their disclaimer applies to this as well, of course: they are not responsible if you break anything following this guide.