Page 1 of 1

Foculus Rift Tracker DK showing up, but not working in demo

Posted: Sat Mar 21, 2015 10:52 pm
by benjifeet
Hey,

I have been trying to get my STM32F3 working with the Foculus Rift firmware. i have flashed it in the ST-LINK Utility, and it shows up a Tracker DK in the Devices and Printers section. When I try to run the Oculus Tuscan demo, there is no input from the STM32F3. I am on Windows 8.1, and I have no Logitech or Xbox Products in my PC either. I also got the most recent SDK from the Oculus Developer page. Am I doing anything obvious wrong, or is it a problem with my board?

Thanks
Benji

Re: Need help setting up Foculus Rift!

Posted: Sun Mar 22, 2015 8:20 am
by geekmaster
Mine works fine, programmed with the ST-Link utility AND programmed from the Keil toolchain (after getting hidden config settings right). How are you trying to flash the code into the device (give details please)?

Re: Need help setting up Foculus Rift!

Posted: Sun Mar 22, 2015 11:22 am
by benjifeet
geekmaster wrote:Mine works fine, programmed with the ST-Link utility AND programmed from the Keil toolchain (after getting hidden config settings right). How are you trying to flash the code into the device (give details please)?
I finally got it to flash properly in ST-Link utility, but now Tracker DK shows up in the Device and Printers, but doesnt work at all. I have been using the Oculus rift demo scene with the most recent skd, but I have a 0 luck!

How do you go about using the Keil toolchain also.

Thanks
Benji

Re: Need help setting up Foculus Rift!

Posted: Mon Mar 23, 2015 7:54 pm
by geekmaster
benjifeet wrote:
geekmaster wrote:Mine works fine, programmed with the ST-Link utility AND programmed from the Keil toolchain (after getting hidden config settings right). How are you trying to flash the code into the device (give details please)?
I finally got it to flash properly in ST-Link utility, but now Tracker DK shows up in the Device and Printers, but doesnt work at all. I have been using the Oculus rift demo scene with the most recent skd, but I have a 0 luck!

How do you go about using the Keil toolchain also.

Thanks
Benji
Programs compiled with newer SDKs do not work with the foculus firmware. You need to find older demos that work with it.

My Foculus showed up as a Tracker DK only for a moment, then changed to a HID device.

In Keil uVision: Flash menu, Configure Flash Tools..., Debug tab, Use: "ST-Link Debugger" pull-down, Settings button, Port SW (default was JTAG)...

Re: Need help setting up Foculus Rift!

Posted: Mon Mar 23, 2015 8:17 pm
by benjifeet
geekmaster wrote:
benjifeet wrote:
geekmaster wrote:Mine works fine, programmed with the ST-Link utility AND programmed from the Keil toolchain (after getting hidden config settings right). How are you trying to flash the code into the device (give details please)?
I finally got it to flash properly in ST-Link utility, but now Tracker DK shows up in the Device and Printers, but doesnt work at all. I have been using the Oculus rift demo scene with the most recent skd, but I have a 0 luck!

How do you go about using the Keil toolchain also.

Thanks
Benji
Programs compiled with newer SDKs do not work with the foculus firmware. You need to find older demos that work with it.

My Foculus showed up as a Tracker DK only for a moment, then changed to a HID device.

In Keil uVision: Flash menu, Configure Flash Tools..., Debug tab, Use: "ST-Link Debugger" pull-down, Settings button, Port SW (default was JTAG)...
In Keil, what do I open/ how do i flash to my board?

Re: Need help setting up Foculus Rift!

Posted: Mon Mar 23, 2015 8:24 pm
by geekmaster
benjifeet wrote:In Keil, what do I open/ how do i flash to my board?
You need a project. Create or download one for the Foculus, and if needed, add your source files to it. Configure it (especially the settings I mentioned above). Compile it and flash it. A bit of learning curve. But it works.

Start with a simple blinky LED demo, to learn how to create a project and flash it. Then try something advanced like the Foculus firmware.

But like I said, it only works with old apps compiled with old SDKs, until somebody updates Foculus to add the required magnetometer calibration procedure.