michael-betz / Foculus_Rift_Tracker_STM32F3DISCOVERY

Firmware for the STM32F3DISCOVERY board to emulate an Oculus Rift compatible USB motion tracker
62 stars 28 forks source link

Device got unplugged midflash, any help #6

Closed nichadler closed 10 years ago

nichadler commented 10 years ago

My Stm32f3 got unplugged while it was getting flashed and it's acting weird. It's not recognized in windows as the Oculus Rift sensor or as the STM32F3 but rather unknown device. When I try to reflash it this is the error I get:

0 0 127" -c"flash write_image stm32f3_HID_for_real.elf" Open On-Chip Debugger 0.8.0 (2014-06-21-00:31) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html srst_only separate srst_nogate srst_open_drain connect_deassert_srst Info : This adapter doesn't support configurable speed Info : STLINK v2 JTAG v16 API v2 SWIM v0 VID 0x0483 PID 0x3748 Info : using stlink api v2 Info : Target voltage: 2.891327 Info : stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08004058 msp: 0x2000a000 Info : device id = 0x10036422 Info : flash size = 256kbytes erased sectors 0 through 127 on flash bank 0 in 0.025622s Error: couldn't open stm32f3_HID_for_real.elf in procedure 'flash'

But when the cord is in USB USER I get the whole lights according to how you said it would look. Any help or did I brick it?

nichadler commented 10 years ago

Alright, I was able to to wipe the chip and flash the hex file to it. It has all of the light working but still when in user mode in windows it comes up as an unknown device. When I go to it again it says that no driver is installed. It comes up in no way "Oculus VR, Inc. Tracker DK".

nichadler commented 10 years ago

Nevermind got it to work.