CrosschasmC5 - Can't read data source after compiling with custom config.cpp
27 views
Skip to first unread message
Kyle Kelly
unread,
Dec 19, 2016, 12:08:24 PM12/19/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenXC
If I put the precompiled .hex on the device (type1 matches my vehicle) then I can read out data from the VI via USB using openxc-dump etc. However, once I compile my own firmware using a custom config.cpp file I get the following error:
kal$ openxc-dump
Can't read logs from data source -- stopping: ("USB device couldn't be read", USBError(60, 'Operation timed out'))
Can't read from data source -- stopping: ("USB device couldn't be read", USBError(60, 'Operation timed out'))
The weird thing is the device is pinging the Azure server that was set up to log the data. Attached is a pic of what I'm seeing there. Also attached is my config.cpp file with the host url masked. I compile using PLATFORM=CORSSCHASM_C5_CELLULAR make.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenXC
Hi Kyle,
What's in your signals.cpp? I'm wondering if your config is ok, but you're not getting any CAN signals off the bus. You could also try adding translated obd2 (DEFAULT_RECURRING_OBD2_REQUESTS_STATUS=1) to get some data. This would be the same as the translated-obd2 firmware from the release. You could try that as a comparison.
Looks like the only other change (besides server) is that you disabled gps correct? Don't think that should have an effect.
Regards,
Eric
Kyle Kelly
unread,
Dec 20, 2016, 1:10:32 PM12/20/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenXC
Yes, I believe the only change I made to config.cpp was to the gps.
I never generated a signals.cpp because I'm trying to get at the raw CAN data from the vehicle. I tried adding that Makefile option as you suggested but still nothing....I'll keep at it and see if I can resolve the issue.
Thanks,
Kyle
Kyle Kelly
unread,
Dec 21, 2016, 11:32:45 AM12/21/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenXC
Haha it was the signals.cpp. Forgot that I needed to create a passthrough.json and generate the signals.cpp file.