Disconnecting problem?

Discuss software bugs and related problems here.

Moderator: Matt

Fusion Ed
 

Posts: 281
Joined: Fri May 04, 2007 4:13 am
Location: Chertsey Surrey
Contact:

Disconnecting problem?

Post by Fusion Ed »

This is a recent one, although I cannot be sure exactly what version this appeared to happen with, however I am getting repeated drop-outs randomly on the nistune consult connection.

As yet I am not entirely sure of the cause, but its happened a couple of times now on cars I never had a problem with initially. Even connecting to the zetronics wideband seems a bit of an issue. Now first i thought earth loop, but then I tried moving things around and no improvement. So then I suspected my usb-serial converter, but it seems fine.

What made me suspect the software slightly was the fact I could connect to the WB with the zetronics software, fine, no problems but with nistune it wouldn't connect at all..

I need to look into it further, but I think this has only been with the test releases, and like I have said I still need to find out a bit more from when it happens.
Matt
Site Admin
 

Posts: 8967
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Post by Matt »

if you can do a log when it disconnect or when you have problems, zip it up and shoot it through i can have a look for you
Fusion Ed
 

Posts: 281
Joined: Fri May 04, 2007 4:13 am
Location: Chertsey Surrey
Contact:

Post by Fusion Ed »

Just a normal record log or a debug log? I think i already have several of both, where does nistune put its debug logs? I have never thought to have a look?
Matt
Site Admin
 

Posts: 8967
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Post by Matt »

First enable: File - Configuration - Debug logging

Next restart NIStune

Logs get put in C:\Program Files\NIStune\logs
Fusion Ed
 

Posts: 281
Joined: Fri May 04, 2007 4:13 am
Location: Chertsey Surrey
Contact:

Post by Fusion Ed »

Right I have a log file:

here

Strange thing is it worked PERFECTLY for over an hour and a half. I then saved the map to the nistune board and immediately started having disconnection problems.

I'd like to know your thoughts Matt, its virtually impossible to use when it does this.

Ed
Last edited by Fusion Ed on Thu Nov 15, 2007 4:10 am, edited 1 time in total.
Matt
Site Admin
 

Posts: 8967
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Post by Matt »

What version of NIStune did you notice this started occuring? When was the last working version you didn't notice the problem

That way I can compare code between versions to see what has changed

I'll have a look at the log file tonight
Fusion Ed
 

Posts: 281
Joined: Fri May 04, 2007 4:13 am
Location: Chertsey Surrey
Contact:

Post by Fusion Ed »

It appeared to be fine before I tested any of the test versions. I don't recall this ever happening before then.
Matt
Site Admin
 

Posts: 8967
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Post by Matt »

No probs so that would be 0.9110 version then
Fusion Ed
 

Posts: 281
Joined: Fri May 04, 2007 4:13 am
Location: Chertsey Surrey
Contact:

Post by Fusion Ed »

Thing is matt this was a new batch of Nistune boards, as well. Did you change anything on these between the first lot and the second lot I had?
Matt
Site Admin
 

Posts: 8967
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Post by Matt »

Nothing has changed between versions except board locking was introduced

What is the firmware version PID shown when you connect?
Matt
Site Admin
 

Posts: 8967
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Post by Matt »

That link doesn't work when I click on it

Can you check that the filename in the link is correct?
Fusion Ed
 

Posts: 281
Joined: Fri May 04, 2007 4:13 am
Location: Chertsey Surrey
Contact:

Post by Fusion Ed »

I didn't check that file. I'll correct it now..

Edit: Done.....
Fusion Ed
 

Posts: 281
Joined: Fri May 04, 2007 4:13 am
Location: Chertsey Surrey
Contact:

Post by Fusion Ed »

Update: new version of nistune seems to have no problems at all. Used it for about 4 hours today and never had a problem with it once. Strange but true... and on the same car too
Matt
Site Admin
 

Posts: 8967
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Post by Matt »

Not much changed with the consult code between test versions and 0.91121 version

I'll have a look at the log anyway to see any problems you were getting.

I've still got an open issue when consult connection fails (say due to loading wrong address file) that it becomes difficult to get it working again without restarting when using the correct address file. Fortunately issues list is getting smaller again so will be able to get to that one soon
Matt
Site Admin
 

Posts: 8967
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Post by Matt »

Hi Ed

ECU communications problem

Apart from the first character 0x35 is inverse of 0xCA, the following characters in protocol must match
TX:CA 02 0F 44 01
RX:35 02 0B 44 01 FF 01 00 (0F/=0B)

TX:CA 02 0B 44 01
RX:35 02 0B 40 01 FF 01 00 (44/=40)

TX:CA 02 D0 42 01
RX:FE FE 2F FE FE (ECU did not receive valid command) - NIStune disconnect

TX:CA 02 CF 41 01
RX:35 02 4F 41 01 FF 01 92 (CF/=4F)

TX:CA 02 75 44 01
RX:FE FE FE FE FE (ECU did not receive valid command) - NIStune disconec

There were quite a few 'non fatal' communications errors flagged in the log. However since the data is register read data we are tolerant of it

When there is a TX line problem to the ECU it will barf. This happened a few times which caused disconnects

This is a problem with the consult serial data getting corrupted. Were you using the blazt or PLMS consult cable here?
Post Reply