| | ||||||
| This is a discussion on CAN-View Decoder software. Converts RAW Serial Output to something more useful. within the Gen II Prius Audio and Electronics forums, part of the Gen II (2004-2009) Toyota Prius Forums category; This piece of software was originally written by Gary A. Morris. I take no credit in writing the software. I ... |
CAN-View Decoder software. Converts RAW Serial Output to something more useful.
![]() |
| | LinkBack (1) | Thread Tools |
| |
#1 |
| I Plug-In My Prius Join Date: May 2005 Location: Wheelersburg, Ohio
Posts: 2,746
My Car: 2006 Prius Model: Package: #7 Thanks: 5
Thanked 170 Times in 124 Posts
Friends: 22 | This piece of software was originally written by Gary A. Morris. I take no credit in writing the software. I will however take credit for making a few changes to get it to work with the V4 CAN-View. Some background on why the program needed changed for my Can-View. According to Norm the V4 can-view should output 55 CAN messages from 0020 to 0602 or at least to 05C8. My V4 Can-View stops at 056D. So I'm missing data for the Lights - 057F, Gas Gauge - 05A4, Doors - 05B6, and Cruise - 05C8. Since Gary's program was trying to find the missing messages it would skip about 11 packets of information. Since a packet is captured about once every second this means that it would only decode about 4 to 5 packets per minute of captured time. This means that the decoded packets would only represent about 4 packets per minute of capture. Having only this much data is not very useful. So in order to fix it I had to change a setting in the code to tell it to stop looking for more messages after it found 056D and start to look for a new packet. Once that was done the next issue was that the program was looking for the EV mode message 0529 with 6 bytes of data. Well my V4 Can-View was giving 0529 with 7 bytes of data. This caused the program to skip it. This was an easy fix. Since fixing those two issues I can now get the program to convert the RAW output from the Can-View into a readable .cvs file that I can import in to a spreadsheet for further analysis. Since my Can-View leaves out the 4 pieces of data the new program I made may not work with different Can-View versions. In fact it might still work but if your Can-View outputs those 4 pieces of data that mine does not that extra data will not get converted and the results would just be blank for those fields. So if your trying to convert your captured data and Gary's original program will not convert your data correctly and my updated program will not convert it correctly the program will need to be reconfigured for your version of the Can-View. As long as I have the time and it does not require a lot of hard core programming or soft core programming for that matter I would be willing to get this program working with your captured data. All I will need is a sample of your captured data. A note about capturing RAW data. Data is sent about once per second but counted over a period of one minute it ends up being about 45 packets of data per minute. Now on to the good stuff. I will try to mirror some information on my website just in case the following sites go down or missing. Jay Groh dot com In order to capture data from your Can-View you need to follow the instructions here. Just make sure to set your parity to even, Data bits 8, Stop bits 1, Flow control to none. After you captured your data you will need to convert it to a cvs file so you can use it in a spread sheet. Go here for Gary's original program. CAN Decoder To run my updated software you will have to install the C++ package from Microsoft. Its a small 1.7MB download. Download details: Visual C++ 2008 Redistributable Package (x86) Here is my updated version for the V3 Can-View. Source is included. Will not work with data captured from the V4 or V4+. Current version for V3 Can-View. V3 1.8.2. Last updated 2008/05/31 http://jaygroh.dreamhost.com/priusch...coder1.8.2.zip Known bugs in V3 1.8.2... None Here is my updated version for the V4 Can-View. Source is included. Will not work with data captured from the V3 or V4+. Current version for V4 Can-View. V4 1.8.2. Last updated 2008/05/31 http://jaygroh.dreamhost.com/priusch...coder1.8.2.zip Known bugs in V4 1.8.2... None Here is my updated version for the V4+ Can-View. Source in included. Will not work with data captured from the V3 or V4. Current version for V4+ Can-View. V4+ 1.8.2. Last updated 2008/05/31 http://jaygroh.dreamhost.com/priusch...coder1.8.2.zip Known bugs in V4+ 1.8.2... None Index link so you can download previous versions. Index of /priuschat/candecoder Please report any issues, bugs, complaints, comments you have in this topic.
__________________ 2006 Prius Barcelona Red Package #7. Picked up 2006/01/02 Converted to Plug-In on 2008/08/12 with Hymotion L5 ***Hybridfest 2007 & 2008 Peoples Choice Award *** ***Hybridfest 2009 Peoples Choice Best of Show Award *** For a list of my mods visit http://www.jaygroh.com ![]() Last edited by TheForce; 05-31-2008 at 12:17 PM. |
| | |
| | #2 |
| I Plug-In My Prius Join Date: May 2005 Location: Wheelersburg, Ohio
Posts: 2,746
My Car: 2006 Prius Model: Package: #7 Thanks: 5
Thanked 170 Times in 124 Posts
Friends: 22 | After some more testing I believe that it is reporting skipped packets. When I compared the function of the Gary's original program with my updated version they both reported skipped packets the same way. I tested this by deleting some messages and corrupting one of my good capture files. I will retract my bug list unless someone can confirm that there is a bug with missing packets or if you find another bug. |
| | |
| | #3 |
| I Plug-In My Prius Join Date: May 2005 Location: Wheelersburg, Ohio
Posts: 2,746
My Car: 2006 Prius Model: Package: #7 Thanks: 5
Thanked 170 Times in 124 Posts
Friends: 22 | I loaded the V4+ software onto my V4 today and did a quick capture. I'm now getting all the messages up to 0602. The down side to running the V4+ software on a V4 is that 1. you can't calibrate the scree. But calibration was not needed for me so everything else works fine. I just have to stay out of the calibration area. 2. The output of packets is closer to one packet every two seconds. This means that instead of getting 45 packets per minute you would be getting about 31-35+ packets per minute. Its really not a big deal because your still getting plenty of data. I thing the slowdown is because more messages are being sent with each packet and its not a hardware issue. Also the candecoder software WILL need to be reworked for the V4+. I will post the new version as soon as I get it working. Last edited by TheForce; 05-25-2008 at 01:12 PM. |
| | |
| | #4 |
| I Plug-In My Prius Join Date: May 2005 Location: Wheelersburg, Ohio
Posts: 2,746
My Car: 2006 Prius Model: Package: #7 Thanks: 5
Thanked 170 Times in 124 Posts
Friends: 22 | Finally figured out what was causing the problems decoding the V4+ data. CAN message 0020 in the V4+ data was actually 8020. This caused the program not to find the start of a packet. Since there is no useful data in message 0020 or in case of the V4+ 8020 I told to program to start with message 0022. This new program for the V4+ will not work with data captured from a regular V4. Also on the V4+ the packet output is about 31 packets per minute. A lot less than the regular V4 but thats still plenty of data to collect. Last edited by TheForce; 05-26-2008 at 12:54 AM. |
| | |
| | #5 |
| I Plug-In My Prius Join Date: May 2005 Location: Wheelersburg, Ohio
Posts: 2,746
My Car: 2006 Prius Model: Package: #7 Thanks: 5
Thanked 170 Times in 124 Posts
Friends: 22 | It appears that if you cannot run my updated decoder software you must install a Visual C++ package from Microsoft. Here is the link. http://www.microsoft.com/downloads/d...displaylang=en I will be updating the V4 and V4+ software shortly to convert the gas pedal, brake pedal, and gas gauge values into percentages. I will also be converting the VVTi, fuel flow, and fuel injector to real world values instead of the raw values. I will also be releasing a version for the V3 can-view with the updated converted values. As it stands right now Gary's program will work fine for the V3 can-view and no changes are needed. |
| | |
| | #6 |
| I Plug-In My Prius Join Date: May 2005 Location: Wheelersburg, Ohio
Posts: 2,746
My Car: 2006 Prius Model: Package: #7 Thanks: 5
Thanked 170 Times in 124 Posts
Friends: 22 | New versions for V3, V4, and V4+ Can-View versions. Change Log. All Can-View versions 1.8.2 May 31, 2008. Converted brake pedal, gas pedal, and gas gauge, value to a percentage. Converted VVTi value into before and after top dead center value. Converted shifter value into text. P R N D B. Converted lights value into text. Off, Parking, Headlights, HighBeams. Added conversion for fuel flow in L/hr or G/hr. Will automataclly get converted to desired units when you use the -US switch. Default is L/hr. Added conversion for iKM/L, MPG and added column to CSV. Will automataclly get converted to desired units when you use the -US switch. Default is iKM/L. |
| | |
| | #7 |
| Junior Member Join Date: Apr 2008 Location: Corona, CA
Posts: 27
My Car: Other Non-Hybrid Model: Package: N/A Thanks: 0
Thanked 0 Times in 0 Posts
Friends: 0 | Hi, is there a way to read in real time what the steering angle on the steering wheel is? also, what's the frequency that these messages are updated? 1Hz? Thanks! |
| | |
| | #8 |
| I Plug-In My Prius Join Date: May 2005 Location: Wheelersburg, Ohio
Posts: 2,746
My Car: 2006 Prius Model: Package: #7 Thanks: 5
Thanked 170 Times in 124 Posts
Friends: 22 | The V4+ Can-View outputs about 31 packets per minute. Or about one packet ever two seconds. This would be too slow for real time information of the steering sensor. |
| | |
| | #9 | |
| Kinda Jovial Member Join Date: Jan 2008 Location: Stafford, Virginia
Posts: 768
My Car: 2008 Prius Model: Package: #2 Thanks: 0
Thanked 1 Time in 1 Post
Friends: 2 | Quote:
| |
| | |
| | #10 |
| I Plug-In My Prius Join Date: May 2005 Location: Wheelersburg, Ohio
Posts: 2,746
My Car: 2006 Prius Model: Package: #7 Thanks: 5
Thanked 170 Times in 124 Posts
Friends: 22 | Steering is located in CAN message 0x25. |
| | |
![]() |
| Tags |
| can-view, capture, convert, serial, software |
LinkBacks (?)
LinkBack to this Thread: http://priuschat.com/forums/gen-ii-prius-audio-electronics/47604-can-view-decoder-software-converts-raw-serial-output-something-more-useful.html | ||||
| Posted By | For | Type | Date | |
| Jay Groh dot com | This thread | Refback | 08-07-2008 06:55 PM | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CAN-View Software Updates | efusco | Gen II Prius Technical Discussion | 286 | 01-17-2008 04:36 PM |
| MFD serial connector? | xtopher | Gen II Prius Modifications | 6 | 07-30-2007 02:04 PM |
| Lurker converts to an owner | akim | Gen II Prius Main Forum | 23 | 08-14-2006 10:18 PM |
| Converts and Canadians - looking for input please | sportsguy | Gen II Prius Main Forum | 5 | 01-06-2006 05:58 PM |
| Man converts his car to run on free used vegetable oil | Danny | Fred's House of Pancakes | 9 | 04-24-2004 06:11 PM |
| Bookmarks |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| |
















