General Disclaimer:   (HV) (DC) injury or death hazard,   use at your own risk,   may void warranty.

Difference between revisions of "Talk:Prius PHEV TechInfo"

From My wiki
Jump to navigation Jump to search
(sp)
Line 1: Line 1:
 
== Potential CAN CRC Algorithm ==
 
== Potential CAN CRC Algorithm ==
I recieved this message via email from Jim Fell which might be verified and integrated into this page: --[[User:Rjf|Rjf]] 14:45, 31 July 2006 (CDT)
+
I received this message via email from Jim Fell which might be verified and integrated into this page: --[[User:Rjf|Rjf]] 14:45, 31 July 2006 (CDT)
 
  I'm not sure if you are the right person to address this to.
 
  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  
 
  I have been following the developments on the conversions of the Toyota  

Revision as of 15:03, 1 August 2006

Potential CAN CRC Algorithm

I received 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 calculated 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.