Firmware, Schematics, and Mechanicals for the Oculus Latency Tester.
The Latency Tester firmware uses the CooCox CoIDE for development along with the gcc-arm-embedded toolchain.
The ST-Link/V2 is the cheapest way to load firmware onto a Latency Tester board, though any SWD compatible programmer should work. You can follow these steps to set up a build environment and load firmware onto the board:
- Install ST-Link drivers if you haven't: http://www.st.com/web/en/catalog/tools/PF258167
- Install CoCenter: http://www.coocox.org/CooCox_CoIDE.htm
- Through CoCenter, install CooCox and CoFlash
- Install gcc-arm-embedded: https://launchpad.net/gcc-arm-embedded/+download
- Set up gcc-arm-embedded in CooCox: http://www.coocox.org/CoIDE/Compiler_Settings.html
- Clone our LatencyTester repository to C:\CooCox\CoIDE\workspace
- Open the LatencyTester.coproj
- Plug the ST-Link into the board's 10 pin SWD header.
- Plug in USB to power the board.
- Download code to Flash
Note that the USB Product ID is set to 0x0101, which matches the production version of the Latency Tester. If you modify the firmware in a way that changes the USB interface, please change the Product ID to 0x0100.
The Mechanical folder contains STLs of a version of the Latency Tester housing that is printable on low cost 3D printers as well as STEP files of the original injection molded housing.
The Schematics folder contains an image of the schematic, as well as Eagle CAD files of the schematic and board layout.
You can also order PCBs directly from OSH Park: