problem with latest beta.

Discuss software bugs and related problems here.

Moderator: Matt

enohand
 

Posts: 52
Joined: Fri Apr 16, 2010 6:08 am

problem with latest beta.

Post by enohand »

as soon as it launches it complains about USB drivers....i dont use a usb cable, i use a serial one......



MAtt are you hard coding the app now to look for a USB consult cable? if so, how can i chnage it to only use the com port/serial cable?


FYI
i havent connected to my car yet, i just DL'ed here @ work, will try it later & report back
Matt
Site Admin
 

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

Re: problem with latest beta.

Post by Matt »

what happens is that when connecting to consult, if the standard consult cable cannot be found then it looks for a Type 1 consult cable as a backup

So if the Type 1 drivers aren't installed then it raises the error.

Not a problem I would see here on the bench since I have those drivers installed, but in your case definitely confusing.
NIStune cannot find the correct USB drivers. Please reinstall drivers
That was the prompt. I've hidden that now so it wont appear when trying to see if a Type 1 is connected
enohand
 

Posts: 52
Joined: Fri Apr 16, 2010 6:08 am

Re: problem with latest beta.

Post by enohand »

so is there a new version to DL? im still getting the error
Matt
Site Admin
 

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

Re: problem with latest beta.

Post by Matt »

no changes yet

i just made a change to the source code at this time. ignore the error for now. when the next version gets released will be in there
Matt
Site Admin
 

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

Re: problem with latest beta.

Post by Matt »

this fix is in now
enohand
 

Posts: 52
Joined: Fri Apr 16, 2010 6:08 am

Re: problem with latest beta.

Post by enohand »

it still does not work...this is getting very frustrating,....i paid all this money, & yet i have not done 1 piece of tuning since i cannot connect.....

ecutalk connects fine, not sure why nistune cannot.....here is the log of the new build...



NISTUNE LOG Aug 16 2010 23:44 0.9.14.12
23:50:16.406 CNistuneDoc - usb disconnected
23:50:16.422 CImageSelPanelView
23:50:16.422 ConsultMain()
23:50:16.422 CConsultSM::CConsultSM
23:50:16.422 SetConsultMode(): From 14 to 0
23:50:16.422 CImageSelPanelView
23:50:16.422 CRomulatorSM::CRomulatorSM()
23:50:16.422 RomulatorMain()
23:50:16.422 ProcessRomualtorQueue(0) - Entering thread
23:50:16.422 CImageSelPanelView
23:50:16.422 CRomulatorSM::CRomulatorSM()
23:50:16.422 TriggerRomulatorEventTask(1) - Entering thread
23:50:16.422 RomulatorMain()
23:50:16.422 ProcessRomualtorQueue(0) - Entering thread
23:50:16.422 TriggerRomulatorEventTask(2) - Entering thread
23:50:16.422 CImageSelPanelView
23:50:16.422 USBMain
23:50:16.422 InitialiseRegisters
23:50:16.422 CNIStuneDoc(): Zeroising target AFR table
23:50:16.422 CNIStuneDoc(): Initilising sensor record table
23:50:16.437 CNIStuneDoc(): Initilising RPM AFR trace table
23:50:16.437 CNIStuneDoc(): Initilising consult
23:50:16.437 ConsultGetActiveSelections()
23:50:16.437 Unable to load afr1.csv lookup table - empty file
23:50:16.437 Unable to load afr2.csv lookup table - empty file
23:50:16.437 Unable to load aux1.csv lookup table - empty file
23:50:16.437 Unable to load aux2.csv lookup table - empty file
23:50:16.437 Unable to load aux3.csv lookup table - empty file
23:50:16.437 Unable to load aux4.csv lookup table - empty file
23:50:16.437 Unable to load aux5.csv lookup table - empty file
23:50:16.437 Unable to load aux6.csv lookup table - empty file
23:50:16.437 CImageSelPanelView
23:50:16.437 CImageSelPanelView::OnInitialUpdate
23:50:16.437 About to create MTS controls...
23:50:16.453 MTS Control OCX creation successful within this view
23:50:16.453 UpdateAllCombinationLists()
23:50:18.060 finished
23:50:18.060 ~CParser
23:50:18.060 Opening P10_SR20DE_512_E_94-95.adr
23:50:18.075 ~CParser
23:50:18.075 NTLOOKUPID is 84
23:50:18.075 ConsultGetActiveSelections()
23:50:18.075 ~CParser
23:50:18.075 ConsultGetActiveSelections()
23:50:18.075 AutoFindConsult
23:50:18.075 AutoFindConsult(): Attempting connection
23:50:18.075 statusbar: AttemptConnect(): Connecting to COM9 attempt 1
23:50:18.075 ConsultSM(): Connect(): Consult: Connecting to COM9
23:50:18.075 ConsultSM(): Connect(): GetCommState
23:50:18.075 CConsultSM::Connect() - Failed to get comstate: The handle is invalid.


23:50:18.075 AttemptConnect(): Connect() attempt failed
23:50:18.075 CConsultSM::CloseConnection
23:50:18.075 ConsultSM::CloseConnection(): Already closed
23:50:18.075 WaitForConsultThreadEnd(): Terminating thread and wait
23:50:21.086 WaitForConsultThreadEnd(): timed out
23:50:21.086 CloseConnectionAndWaitThreadEnd() Failed
23:50:21.086 statusbar: Consult not connected
23:50:21.086 CUSBMain: Connecting
23:50:21.086 CUSBDriver:LoadDLL(): Error: Can't Load FTD2XX.dll - Ensure USB drivers are installed23:50:21.086 CUSBDriver:Connect(): Load DLL failed. Cannot find correct USB drivers
23:50:21.086 USBMain: USBDisconnect()
23:50:21.086 USBMain: USBDisconnect() - Already disconnected
23:50:21.086 Connect - usb disconnect
23:50:23.332 ConsultGetActiveSelections()
23:50:23.332 AutoFindConsult
23:50:23.332 AutoFindConsult(): Attempting connection
23:50:23.332 statusbar: AttemptConnect(): Connecting to COM9 attempt 1
23:50:23.332 ConsultSM(): Connect(): Consult: Connecting to COM9
23:50:23.332 ConsultSM(): Connect(): GetCommState
23:50:23.332 CConsultSM::Connect() - Failed to get comstate: The handle is invalid.


23:50:23.332 AttemptConnect(): Connect() attempt failed
23:50:23.332 CConsultSM::CloseConnection
23:50:23.332 ConsultSM::CloseConnection(): Already closed
23:50:23.332 WaitForConsultThreadEnd(): Terminating thread and wait
23:50:26.343 WaitForConsultThreadEnd(): timed out
23:50:26.343 CloseConnectionAndWaitThreadEnd() Failed
23:50:26.343 statusbar: Consult not connected
23:50:26.343 CUSBMain: Connecting
23:50:26.343 CUSBDriver:LoadDLL(): Error: Can't Load FTD2XX.dll - Ensure USB drivers are installed23:50:26.343 CUSBDriver:Connect(): Load DLL failed. Cannot find correct USB drivers
23:50:26.343 USBMain: USBDisconnect()
23:50:26.343 USBMain: USBDisconnect() - Already disconnected
23:50:26.343 Connect - usb disconnect
23:50:29.276 statusbar: Searching for com ports23:50:29.541 COM3 found
23:50:29.541 UpdatePortList(0)
23:50:29.541 DisplaySelectedWidebandType(0)
23:50:29.541 UpdatePortList(1)
23:50:29.541 DisplaySelectedWidebandType(1)
23:50:29.541 UpdateConsultPortList()
23:50:29.541 DisplaySelectedConsultPort()
23:50:29.541 statusbar: 23:50:29.541 rolling_radius1: 290.55 wheel radius1: 7.00 circumference1: 1825.58
23:50:29.541 rolling_radius2: 297.90 wheel radius2: 8.00 circumference2: 1871.76
23:50:29.541 Difference: 2.53 -> multiplier 102
23:50:29.541 rolling_radius1: 290.55 wheel radius1: 7.00 circumference1: 1825.58
23:50:29.541 rolling_radius2: 297.90 wheel radius2: 8.00 circumference2: 1871.76
23:50:29.541 Difference: 2.53 -> multiplier 102
23:50:29.541 rolling_radius1: 290.55 wheel radius1: 7.00 circumference1: 1825.58
23:50:29.541 rolling_radius2: 297.90 wheel radius2: 8.00 circumference2: 1871.76
23:50:29.541 Difference: 2.53 -> multiplier 102
23:50:29.541 rolling_radius1: 290.55 wheel radius1: 7.00 circumference1: 1825.58
23:50:29.541 rolling_radius2: 297.90 wheel radius2: 8.00 circumference2: 1871.76
23:50:29.541 Difference: 2.53 -> multiplier 102
23:50:29.541 rolling_radius1: 290.55 wheel radius1: 7.00 circumference1: 1825.58
23:50:29.541 rolling_radius2: 297.90 wheel radius2: 8.00 circumference2: 1871.76
23:50:29.541 Difference: 2.53 -> multiplier 102
23:50:29.541 rolling_radius1: 290.55 wheel radius1: 7.00 circumference1: 1825.58
23:50:29.541 rolling_radius2: 297.90 wheel radius2: 8.00 circumference2: 1871.76
23:50:29.541 Difference: 2.53 -> multiplier 102
23:50:29.541 rolling_radius1: 290.55 wheel radius1: 7.00 circumference1: 1825.58
23:50:29.541 rolling_radius2: 297.90 wheel radius2: 8.00 circumference2: 1871.76
23:50:29.541 Difference: 2.53 -> multiplier 102
23:50:31.912 OnSelchangeConsultComport()
23:50:33.332 OnSelchangeWidebandComport(0)
23:50:33.332 ConfigDialog: Selected: 0: COM3
23:50:33.332 OnSelchangeWidebandComport(1)
23:50:33.332 ConfigDialog: Selected: 0: COM3
23:50:33.348 Unable to load afr1.csv lookup table - empty file
23:50:33.348 Unable to load afr2.csv lookup table - empty file
23:50:33.348 Unable to load aux1.csv lookup table - empty file
23:50:33.348 Unable to load aux2.csv lookup table - empty file
23:50:33.348 Unable to load aux3.csv lookup table - empty file
23:50:33.348 Unable to load aux4.csv lookup table - empty file
23:50:33.348 Unable to load aux5.csv lookup table - empty file
23:50:33.348 Unable to load aux6.csv lookup table - empty file
23:50:33.441 finished
23:50:33.441 ~CParser
23:50:34.674 ConsultGetActiveSelections()
23:50:34.674 AutoFindConsult
23:50:34.674 AutoFindConsult(): Attempting connection
23:50:34.674 statusbar: AttemptConnect(): Connecting to COM3 attempt 1
23:50:34.674 ConsultSM(): Connect(): Consult: Connecting to COM3
23:50:34.830 ConsultSM(): Connect(): GetCommState
23:50:34.830 ConsultSM(): Connect(): SetCommState
23:50:34.892 ConsultSM(): Connect(): SetCommMask
23:50:34.892 ConsultSM(): Connect(): SetupComm
23:50:34.892 ConsultSM(): Connect(): SetCommTimeouts
23:50:34.892 ConsultSM::Connect() - Initialised. Starting ConsultSerialLoop thread
23:50:34.892 SetConsultState(): From 1 to 1
23:50:34.892 SetConsultMode(): From 0 to 0
23:50:34.892 SetupPollCheck(): Send stop stream byte
23:50:34.892 ConsultSerialReadLoop() start
23:50:34.892 TerminateStream() - Stopping previous stream
23:50:34.892 ConsultSerialReadLoop() - Entering thread
23:50:34.892 TX:30
23:50:34.892 ConsultSerialReadLoop(): state=1, read=0, status=0
23:50:34.892 sendBufferArray: 1 bytes sent
23:50:34.923 SetupPollCheck(): Clearing RX buffer
23:50:34.923 DumpData() - bytes dumped = 0
23:50:34.923 DumpData() - byte dump completed
23:50:34.923 DumpData() - ReadFile failed: Overlapped I/O operation is in progress.


23:50:34.923 AttemptConnect(): Setup poll check failed
23:50:34.923 CConsultSM::CloseConnection
23:50:34.923 ConsultSM::CloseConnection(): Terminating thread
23:50:34.923 WaitForConsultThreadEnd(): Terminating thread and wait
23:50:35.001 ConsultSerialReadLoop(): Thread terminated
23:50:35.001 ConsultSerialReadloop() - Stopped loop
23:50:35.001 CConsultSM::CloseConnection
23:50:35.001 getConsultArray(len=0)
23:50:35.001 CloseConnection: Read last bytes failed
23:50:35.001 SetConsultState(): From 1 to 35
23:50:35.001 ConsultSM::CloseConnection(): Handle released
23:50:35.032 SetConsultState(): From 35 to 1
23:50:35.032 ConsultSM::CloseConnection(): Selected registers cleared
23:50:35.032 ConsultSM::CloseConnection(): Set disconnected. Stop thread event set
23:50:35.032 DisplayConsultConnected(FALSE)
23:50:35.032 UpdateAllCombinationLists()
23:50:35.032 WaitForConsultThreadEnd(): success
23:50:35.032 ConsultSM::CloseConnection(): Combination lists updated
23:50:35.032 CloseConnectionAndWaitThreadEnd() Successful
23:50:35.032 ConsultSM::CloseConnection(): Table lists refreshed
23:50:35.032 statusbar: Consult not connected
23:50:35.032 ConsultSerialReadloop() - Exiting thread
23:50:35.032 CUSBMain: Connecting
23:50:35.032 CUSBDriver:LoadDLL(): Error: Can't Load FTD2XX.dll - Ensure USB drivers are installed23:50:35.032 CUSBDriver:Connect(): Load DLL failed. Cannot find correct USB drivers
23:50:35.032 USBMain: USBDisconnect()
23:50:35.032 USBMain: USBDisconnect() - Already disconnected
23:50:35.032 Connect - usb disconnect
23:50:35.032 UpdateAllCombinationLists()
23:50:35.812 ConsultGetActiveSelections()
23:50:35.812 AutoFindConsult
23:50:35.812 AutoFindConsult(): Attempting connection
23:50:35.812 statusbar: AttemptConnect(): Connecting to COM3 attempt 1
23:50:35.812 ConsultSM(): Connect(): Consult: Connecting to COM3
23:50:35.968 ConsultSM(): Connect(): GetCommState
23:50:35.968 ConsultSM(): Connect(): SetCommState
23:50:36.031 ConsultSM(): Connect(): SetCommMask
23:50:36.031 ConsultSM(): Connect(): SetupComm
23:50:36.031 ConsultSM(): Connect(): SetCommTimeouts
23:50:36.031 ConsultSM::Connect() - Initialised. Starting ConsultSerialLoop thread
23:50:36.031 SetConsultState(): From 1 to 1
23:50:36.031 SetConsultMode(): From 0 to 0
23:50:36.031 SetupPollCheck(): Send stop stream byte
23:50:36.031 ConsultSerialReadLoop() start
23:50:36.031 TerminateStream() - Stopping previous stream
23:50:36.031 ConsultSerialReadLoop() - Entering thread
23:50:36.031 TX:30
23:50:36.031 ConsultSerialReadLoop(): state=1, read=0, status=0
23:50:36.031 sendBufferArray: 1 bytes sent
23:50:36.062 SetupPollCheck(): Clearing RX buffer
23:50:36.062 DumpData() - bytes dumped = 0
23:50:36.062 DumpData() - byte dump completed
23:50:36.062 DumpData() - ReadFile failed: Overlapped I/O operation is in progress.


23:50:36.062 AttemptConnect(): Setup poll check failed
23:50:36.062 CConsultSM::CloseConnection
23:50:36.062 ConsultSM::CloseConnection(): Terminating thread
23:50:36.062 WaitForConsultThreadEnd(): Terminating thread and wait
23:50:36.140 ConsultSerialReadLoop(): Thread terminated
23:50:36.140 ConsultSerialReadloop() - Stopped loop
23:50:36.140 CConsultSM::CloseConnection
23:50:36.140 getConsultArray(len=0)
23:50:36.140 CloseConnection: Read last bytes failed
23:50:36.140 SetConsultState(): From 1 to 35
23:50:36.140 ConsultSM::CloseConnection(): Handle released
23:50:36.171 SetConsultState(): From 35 to 1
23:50:36.171 ConsultSM::CloseConnection(): Selected registers cleared
23:50:36.171 ConsultSM::CloseConnection(): Set disconnected. Stop thread event set
23:50:36.171 DisplayConsultConnected(FALSE)
23:50:36.171 UpdateAllCombinationLists()
23:50:36.171 WaitForConsultThreadEnd(): success
23:50:36.171 ConsultSM::CloseConnection(): Combination lists updated
23:50:36.171 CloseConnectionAndWaitThreadEnd() Successful
23:50:36.171 ConsultSM::CloseConnection(): Table lists refreshed
23:50:36.171 statusbar: Consult not connected
23:50:36.171 ConsultSerialReadloop() - Exiting thread
23:50:36.171 CUSBMain: Connecting
23:50:36.171 CUSBDriver:LoadDLL(): Error: Can't Load FTD2XX.dll - Ensure USB drivers are installed23:50:36.171 CUSBDriver:Connect(): Load DLL failed. Cannot find correct USB drivers
23:50:36.171 USBMain: USBDisconnect()
23:50:36.171 USBMain: USBDisconnect() - Already disconnected
23:50:36.171 Connect - usb disconnect
23:50:36.171 UpdateAllCombinationLists()
23:50:40.321 Opening G20_P10_SR20DE_0J600_MT_1995.bin
23:50:40.321 MyFileImgOpen: read_rom_Length 00010000 rom_length 10000 number 1
23:50:40.321 statusbar: Opened image file G20_P10_SR20DE_0J600_MT_1995.bin - Size 65536 bytes
23:50:40.321 SetKConstValue1: inj:1 kval:65535 kbase:65535
23:50:40.321 NTLOOKUPID is 84
23:50:40.508 SetKConstValue1: inj:1 kval:65535 kbase:65535
23:50:40.508 NTLOOKUPID is 84
23:50:42.411 ConsultGetActiveSelections()
23:50:42.411 AutoFindConsult
23:50:42.411 AutoFindConsult(): Attempting connection
23:50:42.411 statusbar: AttemptConnect(): Connecting to COM3 attempt 1
23:50:42.427 ConsultSM(): Connect(): Consult: Connecting to COM3
23:50:42.583 ConsultSM(): Connect(): GetCommState
23:50:42.583 ConsultSM(): Connect(): SetCommState
23:50:42.645 ConsultSM(): Connect(): SetCommMask
23:50:42.645 ConsultSM(): Connect(): SetupComm
23:50:42.645 ConsultSM(): Connect(): SetCommTimeouts
23:50:42.645 ConsultSM::Connect() - Initialised. Starting ConsultSerialLoop thread
23:50:42.645 SetConsultState(): From 1 to 1
23:50:42.645 SetConsultMode(): From 0 to 0
23:50:42.645 SetupPollCheck(): Send stop stream byte
23:50:42.645 ConsultSerialReadLoop() start
23:50:42.645 TerminateStream() - Stopping previous stream
23:50:42.645 ConsultSerialReadLoop() - Entering thread
23:50:42.645 TX:30
23:50:42.645 ConsultSerialReadLoop(): state=1, read=0, status=0
23:50:42.645 sendBufferArray: 1 bytes sent
23:50:42.676 SetupPollCheck(): Clearing RX buffer
23:50:42.676 DumpData() - bytes dumped = 0
23:50:42.676 DumpData() - byte dump completed
23:50:42.676 DumpData() - ReadFile failed: Overlapped I/O operation is in progress.


23:50:42.676 AttemptConnect(): Setup poll check failed
23:50:42.676 CConsultSM::CloseConnection
23:50:42.676 ConsultSM::CloseConnection(): Terminating thread
23:50:42.676 WaitForConsultThreadEnd(): Terminating thread and wait
23:50:42.754 ConsultSerialReadLoop(): Thread terminated
23:50:42.754 ConsultSerialReadloop() - Stopped loop
23:50:42.754 CConsultSM::CloseConnection
23:50:42.754 getConsultArray(len=0)
23:50:42.754 CloseConnection: Read last bytes failed
23:50:42.754 SetConsultState(): From 1 to 35
23:50:42.754 ConsultSM::CloseConnection(): Handle released
23:50:42.786 SetConsultState(): From 35 to 1
23:50:42.786 ConsultSM::CloseConnection(): Selected registers cleared
23:50:42.786 ConsultSM::CloseConnection(): Set disconnected. Stop thread event set
23:50:42.786 DisplayConsultConnected(FALSE)
23:50:42.786 UpdateAllCombinationLists()
23:50:42.786 WaitForConsultThreadEnd(): success
23:50:42.786 ConsultSM::CloseConnection(): Combination lists updated
23:50:42.786 CloseConnectionAndWaitThreadEnd() Successful
23:50:42.786 statusbar: Consult not connected
23:50:42.786 CUSBMain: Connecting
23:50:42.786 CUSBDriver:LoadDLL(): Error: Can't Load FTD2XX.dll - Ensure USB drivers are installed23:50:42.786 CUSBDriver:Connect(): Load DLL failed. Cannot find correct USB drivers
23:50:42.786 USBMain: USBDisconnect()
23:50:42.786 USBMain: USBDisconnect() - Already disconnected
23:50:42.786 Connect - usb disconnect
23:50:42.786 UpdateAllCombinationLists()
23:50:42.786 ConsultSM::CloseConnection(): Table lists refreshed
23:50:42.786 ConsultSerialReadloop() - Exiting thread
23:50:43.207 ConsultGetActiveSelections()
23:50:43.207 AutoFindConsult
23:50:43.207 AutoFindConsult(): Attempting connection
23:50:43.207 statusbar: AttemptConnect(): Connecting to COM3 attempt 1
23:50:43.207 ConsultSM(): Connect(): Consult: Connecting to COM3
23:50:43.363 ConsultSM(): Connect(): GetCommState
23:50:43.363 ConsultSM(): Connect(): SetCommState
23:50:43.425 ConsultSM(): Connect(): SetCommMask
23:50:43.425 ConsultSM(): Connect(): SetupComm
23:50:43.425 ConsultSM(): Connect(): SetCommTimeouts
23:50:43.425 ConsultSM::Connect() - Initialised. Starting ConsultSerialLoop thread
23:50:43.425 SetConsultState(): From 1 to 1
23:50:43.425 SetConsultMode(): From 0 to 0
23:50:43.425 SetupPollCheck(): Send stop stream byte
23:50:43.425 ConsultSerialReadLoop() start
23:50:43.425 TerminateStream() - Stopping previous stream
23:50:43.425 ConsultSerialReadLoop() - Entering thread
23:50:43.425 TX:30
23:50:43.425 ConsultSerialReadLoop(): state=1, read=0, status=0
23:50:43.425 sendBufferArray: 1 bytes sent
23:50:43.456 SetupPollCheck(): Clearing RX buffer
23:50:43.456 DumpData() - bytes dumped = 0
23:50:43.456 DumpData() - byte dump completed
23:50:43.456 DumpData() - ReadFile failed: Overlapped I/O operation is in progress.


23:50:43.456 AttemptConnect(): Setup poll check failed
23:50:43.456 CConsultSM::CloseConnection
23:50:43.456 ConsultSM::CloseConnection(): Terminating thread
23:50:43.456 WaitForConsultThreadEnd(): Terminating thread and wait
23:50:43.534 ConsultSerialReadLoop(): Thread terminated
23:50:43.534 ConsultSerialReadloop() - Stopped loop
23:50:43.534 CConsultSM::CloseConnection
23:50:43.534 getConsultArray(len=0)
23:50:43.534 CloseConnection: Read last bytes failed
23:50:43.534 SetConsultState(): From 1 to 35
23:50:43.534 ConsultSM::CloseConnection(): Handle released
23:50:43.566 SetConsultState(): From 35 to 1
23:50:43.566 ConsultSM::CloseConnection(): Selected registers cleared
23:50:43.566 ConsultSM::CloseConnection(): Set disconnected. Stop thread event set
23:50:43.566 DisplayConsultConnected(FALSE)
23:50:43.566 UpdateAllCombinationLists()
23:50:43.566 WaitForConsultThreadEnd(): success
23:50:43.566 ConsultSM::CloseConnection(): Combination lists updated
23:50:43.566 CloseConnectionAndWaitThreadEnd() Successful
23:50:43.566 statusbar: Consult not connected
23:50:43.566 CUSBMain: Connecting
23:50:43.566 CUSBDriver:LoadDLL(): Error: Can't Load FTD2XX.dll - Ensure USB drivers are installed23:50:43.566 CUSBDriver:Connect(): Load DLL failed. Cannot find correct USB drivers
23:50:43.566 USBMain: USBDisconnect()
23:50:43.566 USBMain: USBDisconnect() - Already disconnected
23:50:43.566 Connect - usb disconnect
23:50:43.566 UpdateAllCombinationLists()
23:50:43.566 ConsultSM::CloseConnection(): Table lists refreshed
23:50:43.566 ConsultSerialReadloop() - Exiting thread
23:50:45.453 OnButtonEmulator1(): Button pressed
23:50:48.339 ConsultGetActiveSelections()
23:50:48.339 AutoFindConsult
23:50:48.339 AutoFindConsult(): Attempting connection
23:50:48.339 statusbar: AttemptConnect(): Connecting to COM3 attempt 1
23:50:48.355 ConsultSM(): Connect(): Consult: Connecting to COM3
23:50:48.511 ConsultSM(): Connect(): GetCommState
23:50:48.511 ConsultSM(): Connect(): SetCommState
23:50:48.573 ConsultSM(): Connect(): SetCommMask
23:50:48.573 ConsultSM(): Connect(): SetupComm
23:50:48.573 ConsultSM(): Connect(): SetCommTimeouts
23:50:48.573 ConsultSM::Connect() - Initialised. Starting ConsultSerialLoop thread
23:50:48.573 SetConsultState(): From 1 to 1
23:50:48.573 SetConsultMode(): From 0 to 0
23:50:48.573 SetupPollCheck(): Send stop stream byte
23:50:48.573 ConsultSerialReadLoop() start
23:50:48.573 TerminateStream() - Stopping previous stream
23:50:48.573 ConsultSerialReadLoop() - Entering thread
23:50:48.573 TX:30
23:50:48.573 ConsultSerialReadLoop(): state=1, read=0, status=0
23:50:48.573 sendBufferArray: 1 bytes sent
23:50:48.604 SetupPollCheck(): Clearing RX buffer
23:50:48.604 DumpData() - bytes dumped = 0
23:50:48.604 DumpData() - byte dump completed
23:50:48.604 DumpData() - ReadFile failed: Overlapped I/O operation is in progress.


23:50:48.604 AttemptConnect(): Setup poll check failed
23:50:48.604 CConsultSM::CloseConnection
23:50:48.604 ConsultSM::CloseConnection(): Terminating thread
23:50:48.604 WaitForConsultThreadEnd(): Terminating thread and wait
23:50:48.682 ConsultSerialReadLoop(): Thread terminated
23:50:48.682 ConsultSerialReadloop() - Stopped loop
23:50:48.682 CConsultSM::CloseConnection
23:50:48.682 getConsultArray(len=0)
23:50:48.682 CloseConnection: Read last bytes failed
23:50:48.682 SetConsultState(): From 1 to 35
23:50:48.682 ConsultSM::CloseConnection(): Handle released
23:50:48.714 SetConsultState(): From 35 to 1
23:50:48.714 ConsultSM::CloseConnection(): Selected registers cleared
23:50:48.714 ConsultSM::CloseConnection(): Set disconnected. Stop thread event set
23:50:48.714 DisplayConsultConnected(FALSE)
23:50:48.714 UpdateAllCombinationLists()
23:50:48.714 WaitForConsultThreadEnd(): success
23:50:48.714 ConsultSM::CloseConnection(): Combination lists updated
23:50:48.714 CloseConnectionAndWaitThreadEnd() Successful
23:50:48.714 statusbar: Consult not connected
23:50:48.714 CUSBMain: Connecting
23:50:48.714 CUSBDriver:LoadDLL(): Error: Can't Load FTD2XX.dll - Ensure USB drivers are installed23:50:48.714 CUSBDriver:Connect(): Load DLL failed. Cannot find correct USB drivers
23:50:48.714 USBMain: USBDisconnect()
23:50:48.714 USBMain: USBDisconnect() - Already disconnected
23:50:48.714 Connect - usb disconnect
23:50:48.714 UpdateAllCombinationLists()
23:50:48.714 ConsultSM::CloseConnection(): Table lists refreshed
23:50:48.714 ConsultSerialReadloop() - Exiting thread
23:50:49.322 ConsultGetActiveSelections()
23:50:49.322 AutoFindConsult
23:50:49.322 AutoFindConsult(): Attempting connection
23:50:49.322 statusbar: AttemptConnect(): Connecting to COM3 attempt 1
23:50:49.322 ConsultSM(): Connect(): Consult: Connecting to COM3
23:50:49.478 ConsultSM(): Connect(): GetCommState
23:50:49.478 ConsultSM(): Connect(): SetCommState
23:50:49.540 ConsultSM(): Connect(): SetCommMask
23:50:49.540 ConsultSM(): Connect(): SetupComm
23:50:49.540 ConsultSM(): Connect(): SetCommTimeouts
23:50:49.540 ConsultSM::Connect() - Initialised. Starting ConsultSerialLoop thread
23:50:49.540 SetConsultState(): From 1 to 1
23:50:49.540 SetConsultMode(): From 0 to 0
23:50:49.540 SetupPollCheck(): Send stop stream byte
23:50:49.540 ConsultSerialReadLoop() start
23:50:49.540 TerminateStream() - Stopping previous stream
23:50:49.540 ConsultSerialReadLoop() - Entering thread
23:50:49.540 TX:30
23:50:49.540 ConsultSerialReadLoop(): state=1, read=0, status=0
23:50:49.540 sendBufferArray: 1 bytes sent
23:50:49.572 SetupPollCheck(): Clearing RX buffer
23:50:49.572 DumpData() - bytes dumped = 0
23:50:49.572 DumpData() - byte dump completed
23:50:49.572 DumpData() - ReadFile failed: Overlapped I/O operation is in progress.


23:50:49.572 AttemptConnect(): Setup poll check failed
23:50:49.572 CConsultSM::CloseConnection
23:50:49.572 ConsultSM::CloseConnection(): Terminating thread
23:50:49.572 WaitForConsultThreadEnd(): Terminating thread and wait
23:50:49.650 ConsultSerialReadLoop(): Thread terminated
23:50:49.650 ConsultSerialReadloop() - Stopped loop
23:50:49.650 CConsultSM::CloseConnection
23:50:49.650 getConsultArray(len=0)
23:50:49.650 CloseConnection: Read last bytes failed
23:50:49.650 SetConsultState(): From 1 to 35
23:50:49.650 ConsultSM::CloseConnection(): Handle released
23:50:49.681 SetConsultState(): From 35 to 1
23:50:49.681 ConsultSM::CloseConnection(): Selected registers cleared
23:50:49.681 ConsultSM::CloseConnection(): Set disconnected. Stop thread event set
23:50:49.681 DisplayConsultConnected(FALSE)
23:50:49.681 UpdateAllCombinationLists()
23:50:49.681 WaitForConsultThreadEnd(): success
23:50:49.681 ConsultSM::CloseConnection(): Combination lists updated
23:50:49.681 CloseConnectionAndWaitThreadEnd() Successful
23:50:49.681 statusbar: Consult not connected
23:50:49.681 CUSBMain: Connecting
23:50:49.681 CUSBDriver:LoadDLL(): Error: Can't Load FTD2XX.dll - Ensure USB drivers are installed23:50:49.681 CUSBDriver:Connect(): Load DLL failed. Cannot find correct USB drivers
23:50:49.681 USBMain: USBDisconnect()
23:50:49.681 USBMain: USBDisconnect() - Already disconnected
23:50:49.681 Connect - usb disconnect
23:50:49.681 UpdateAllCombinationLists()
23:50:49.681 ConsultSM::CloseConnection(): Table lists refreshed
23:50:49.681 ConsultSerialReadloop() - Exiting thread
23:50:51.397 OnCloseDocument:: Windows request doc close but windows still open
23:50:51.397 OnCloseDocument:: Windows request doc close but windows still open
23:50:51.475 ~CImageSelPanelView
23:50:51.475 WaitForConsultRegisterThreadEnd(): Terminating thread and wait
23:50:51.490 WaitForConsultRegisterThreadEnd(): success
23:50:51.490 ~CMapTraceDisplay
23:50:51.490 ~ThinChildFrame
23:50:51.490 ~CTablesView
23:50:51.490 ~ThinChildFrame
23:50:51.490 CConstantsListsView
23:50:51.490 ~ThinChildFrame
enohand
 

Posts: 52
Joined: Fri Apr 16, 2010 6:08 am

Re: problem with latest beta.

Post by enohand »

is there anything special i need to set for the com port? like flow control, or speed?

right now its running @ 9600, 8, none, 1, none
Matt
Site Admin
 

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

Re: problem with latest beta.

Post by Matt »

We cannot obtain a handle to the serial port to access the device. To be honest I'm not sure why its doing this but the standard MFC serial calls are failing. Maybe something else (another program that you were using) still has access to the handle (eg ECU talk)
23:50:23.332 ConsultSM(): Connect(): Consult: Connecting to COM9
23:50:23.332 ConsultSM(): Connect(): GetCommState
23:50:23.332 CConsultSM::Connect() - Failed to get comstate: The handle is invalid.
Obviously this is not a problem with the software itself since it works with everyone elses cable, but something perculiar to the mix of software/hardware since ECU talk does connect

Have you tried forcing the COM port to COM1? Then reboot the machine, then reattempt the connection to COM1? Dont run any other software before doing this. I want to see if it can then get a handle to the serial port

What consult cable are you using also?

You should not need to change any of the settings inside device manager
Matt
Site Admin
 

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

Re: problem with latest beta.

Post by Matt »

shoot me an email with the latest log and COM1 and work it through via email
enohand
 

Posts: 52
Joined: Fri Apr 16, 2010 6:08 am

Re: problem with latest beta.

Post by enohand »

i am using the Blatz consult serial cable, hooked to a Aten serial to usb converter...ive tried forcing 1-9 rebooting with all, the light on the converter NEVER lights up when nistune tries to connect (& it used to with an older build (about 2-3 months ago) but ECU talk gets it to light up & works fine (along with calumsalt & another reader app)

what is you time there? how far behind USA estern time?
Matt
Site Admin
 

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

Re: problem with latest beta.

Post by Matt »

check on google time for current Australian time (Adelaide, Australia). Best time to call me is 7pm - 12pm most week nights (its the weekend so will have to wait). Email me for a phone number to call

okay I use an Aten USB-seiral here on my Dell laptop also. Single orange light into PLMS serial cable. This is on COM1 and obviously works since I use it every night

Please get me another log when you do the COM1 attempt on connect after clean boot to determine if still same issue

Also nothing has changed in the builds since March. I checked through all my consult etc code and there were no changes to that part of Nistune in regards to serial connection - since there hasnt been a need to change it

Anyway try working from the debug log and see what is going on there because I want to see if same error
enohand
 

Posts: 52
Joined: Fri Apr 16, 2010 6:08 am

Re: problem with latest beta.

Post by enohand »

:shock: :shock: :shock: :shock: :shock: :oops: :oops: :oops: :oops: :oops:


ok i think i determined the issue, its the driver im using....i pulled out ALL the existing drivers i had for the converter, & loaded win2000 ones, & it started working, but my pc would bluescreen,....


im going to try to rip the 2000 ones out & try a fresh install with the windows 7 driver....


i will report back with my findings
Matt
Site Admin
 

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

Re: problem with latest beta.

Post by Matt »

okay please do

I found an issue also with my Aten converter. On one particular USB port it would show up inside Device Manager but the software could not connect to it

I switched to another USB port and it worked fine (!)

So I am going to retry the original USB port where I had problems and chase it from there

Windows installs a new set of drivers for each USB port you use. It could mean in this case that the drivers are not functionling properly on a particular USB port (however displays/works fine inside device manager)

The good news is that it gives me a port to work from and run in the debugger to see what is going on (no lights on comms etc). I have a lead to work from anyway which is good
enohand
 

Posts: 52
Joined: Fri Apr 16, 2010 6:08 am

Re: problem with latest beta.

Post by enohand »

yeah i still cant get it to connect.

the windows 2000 driver seems to work best, but then the system blue screens on me out of nowhere....i loaded the win 7 drivers, but it doesnt want to connect, ECU talk connects fine tho (the light on the converter lights up & all)


so i dont know......i am going to try it on my xp laptop which has a serial port, & let you know
Matt
Site Admin
 

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

Re: problem with latest beta.

Post by Matt »

So you are currently using Windows 7 then? Might have to try an install and run under that
Post Reply