Hello, I am new to the OpenXC community and as such, I have a few mandatory questions haha. I've used the enabler app and the correct firmware to receive data on a 2015 MKS. So to turn it up a notch, I've been exploring custom firmware creation. My eventual goal is to receive raw CAN messages as depicted
here (I would like to send as well but let's stick to this).
I believe to have everything working correctly (and I only had to try and install it on three different OS environments haha). However, when I flash my firmware onto the device using the default build from the compiler (I did change DEFAULT_POWER_MANAGEMENT to equal ALWAYS_ON because it's less annoying this way for development) I can't get my Ford VI to see the CAN (LED A turns blue). Upon putting the device on the OBD-II connector, it stays red. However, I have sent a diagnostic request with my firmware on the device and it did respond with the RPMs. After which, LED A will stay blue but it will not send me CAN updates unless I use a diagnostic request again. I have played around with different settings in the fabfile.py trying to see why I am unable to detect the CAN bus but my efforts have not be successful thus far.
Hopefully this isn't an already solved question, I have looked through many of the other questions on the forums but I did not find one that solved my issue. Moreover, I am using version 7.2.0 which out-dates many posts. Please see the attached JSON and fabfile.py I am using to compile my firmware.
Quirks I have found on my journey:
- There might be an issue with the windows USB driver with the current version of OpenXC Python library? I kept receiving connection errors when using either (pyusb1.0 or pyusb1.0a3). This was solved when I switched to Ubuntu 12.
- If I fab reference build with the "translated_obd2" settings. My computer is unable to recognize the device when it is not in program mode. Thus no openxc-dump or openxc-dashboard :( the device still doesn't see the CAN.