View Single Post
  #752  
Old 05-20-2008, 04:25 AM
b3lha's Avatar
b3lha b3lha is offline
Phil & Belha
 
Join Date: Aug 2001
Location: Alcyone Limited, Buckinghamshire UK
Posts: 2,671
The absolute best way to troubleshoot communications is with the Hex Com Tool.

Send a command eg. "78123400" and observe what the ECU sends back. It should be three bytes repeated over and over, the first two being the address and the last being the data. Something like "123400123400123400123400.....". If there is any corruption then you need the "92 problem" comparator board.

I haven't tried the port monitor software myself, so I can't comment on that.

The VWRX software is great, but it does have some bugs, which we can't fix without access to the source code. It does not seem to clear the input buffer when sending a new command, nor validate the data being returned. So if there is any data left in the buffer from the previous command then it assumes that is the reply from the current command.

I also suspect that it polls the port rather than being interrupt driven. That means the program repeatedly asks the interface if there is any data available rather than the interface informing the program when data is received. Reading the data using polling can cause a loss of sync if the buffer overflows in between polls.

My linux software, while is isn't pretty or user-friendly, goes to a lot of trouble to ensure that the data returned is accurate.
__________________
Subaru ECU and TCU Website
1992 Alcyone SVX Version L
1992 Alcyone SVX Version L
1994 Alcyone SVX S40-II
2004 Subaru Legacy 2.5 SE Sports Tourer
1996 Subaru Legacy 2.2 GX Wagon
1988 Subaru Justy J12 SL-II
Reply With Quote