I recently bought an RCP from an acquaintance. When plugged in, the device does not show up in either RaceCapture or RaceAnalyzer applications. No idea what firmware is on there, so I thought I would update to version 2 and run RaceCapture.
I tried to flash from Windows 7 and two different Windows XP boxes, but can't get past the "waiting for USB......." stage. So I decided to try flashing from Linux. The flasher does not work however. It did not have executable permissions when un-tar-balled, and when I added them, I got a "cannot execute binary file" error message. I'm on a old-ish machine. Do I need to build flasher from source? I started installing the various dependencies, but it's a bit of a pain. I was able to get RaceCapture built under Linux, but the flasher looks more complicated and the directions are sparse.
Trying to flash from Linux
-
- Posts: 22
- Joined: Fri Nov 01, 2013 9:48 pm
- Location: Bay Area, CA
Hi drKorf, two thoughts
1) did you make sure the RCP was in 'flashing mode'?
this is achieved by making sure the RCP is completely off (no power from car) and the usb is disconnected then holding down the button on RaceCapture/Pro, plug the unit into USB. You should see 3 green LEDs light up, let go of the button. if the 3 green LEDS are on you're in 'flashing mode'
2) next using the flasher utility should be as simple as cd'ing into the unzipped firmware directory and running the flasher, it sounds like you might be trying to execute the firmware itself. the process should look something like the following:
NOTE: my understanding is the RCP uses a usb to serial chip that has been in the linux kernel for some time now, however it is possible your distro isn't loading it, doesn't have it, or some other issue, while possible i think this is unlikely. What linux version are you using and how old is it?
if the above steps don't work, try checking 'dmesg' output a few seconds after plugging in the RCP to see if your linux install sees the device at all
GL and let us know how it goes
1) did you make sure the RCP was in 'flashing mode'?
this is achieved by making sure the RCP is completely off (no power from car) and the usb is disconnected then holding down the button on RaceCapture/Pro, plug the unit into USB. You should see 3 green LEDs light up, let go of the button. if the 3 green LEDS are on you're in 'flashing mode'
2) next using the flasher utility should be as simple as cd'ing into the unzipped firmware directory and running the flasher, it sounds like you might be trying to execute the firmware itself. the process should look something like the following:
Code: Select all
cd Downloads/RaceCapturePro_Firmware
chmod a+x flasher
./flasher RaceCapturePro-2.0.8.elf #substitute your firmware version here
# you should now see the update happening
if the above steps don't work, try checking 'dmesg' output a few seconds after plugging in the RCP to see if your linux install sees the device at all
GL and let us know how it goes
When you plug RCP in while holding down the button dmeg should tell you that the bootloader is active.
Normally, RCP shows up as a CDC-ACM device, which typically shows up under /tty/ACM0 - this is a generic usb-serial device.
If you have an older machine you could build from source, but likely it's a matter of Linux seeing the device properly when in bootloader mode.
Also, try running flasher as root (sudo flasher...) to see if there's a permissions problem.
Please let us know what you find out!
Normally, RCP shows up as a CDC-ACM device, which typically shows up under /tty/ACM0 - this is a generic usb-serial device.
If you have an older machine you could build from source, but likely it's a matter of Linux seeing the device properly when in bootloader mode.
Also, try running flasher as root (sudo flasher...) to see if there's a permissions problem.
Please let us know what you find out!
Yeah, that was it. If you don't run it as root, it will continually look for the device and never find it despite the fact that dmesg shows it has loaded.brentp wrote:Also, try running flasher as root (sudo flasher...) to see if there's a permissions problem.
I can now run the RaceCapture application from Windows. Thanks.
EDIT:
I also tried flashing to 1.2.8 and using the older RaceAnalzyer. That works fine too. I guess I'll stay in RaceAnalyzer and switch to RaceCapture as the 2.0 software matures.