Difference between revisions of "Talk:Prius PHEV TechInfo"
Jump to navigation Jump to search
(Potential CAN CRC Algorithm)
Revision as of 19:45, 31 July 2006
Potential CAN CRC Algorithm
I recieved this message via email from Jim Fell which might be verified and integrated into this page: --Rjf 14:45, 31 July 2006 (CDT)
I'm not sure if you are the right person to address this to. I have been following the developments on the conversions of the Toyota Prius with a view to converting my own 2005 car. The excellent site, recently updated, contains most of the data I need. So far I have been able to look at the traffic on the canbus and at the three id areas broadcast by the battery ecu. In the list on the site it states crc algorithm unknown. From what I have observed I think it is calcluated as follows:- Add every byte in the message together and take the least significant 8 bits, this is the calculated crc (although I don't think it is actually a crc, more a check byte). For example message 3CB(hex) is 7 bytes of data, on my car today the data was 105(dec),107(dec),0(dec),101(dec),21(dec),21(dec). The check byte was 56(dec). So add 3 + 203 + 7 +105 + 107 + 0 + 101 + 21 + 21 = 568 (dec) = 238 (hex) Strip off the high bits 8, 9, 10 etc to leave 38 (hex) which is 56 (dec) You may like to check this out on your data and if it is correct add it to the site for others to use. As with all this stuff I accept no liability for any errors in using the information.