Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-08-2012, 11:07   #16
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: USB-GPS problems

Quote:
Originally Posted by MAS3 View Post
Windows (XP) will assign an unused comport whenever a device is connected to an USB port.
If you remove the device form USB and then reconnect it to another port, the comport will also be different.
This is also a driver issue.
Only FTDI devices and their drivers will assign the same port once the device is installed, as far as i have seen yet.
FTDI uses an unique code (like a serialnumber) so the device can be recognised.
Nope.
Even the smart FTDI driver programers have not been able to beat the buggy Windows. We have to test USB devices with FTDI chips in our company and each time the maximum amount of 256 ports is reached, we have to kill the assigned ports before working further on.

Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Old 04-08-2012, 17:05   #17
Registered User

Join Date: Jul 2012
Location: The Netherlands
Posts: 32
Re: USB-GPS problems

I hope you will agree that this is another problem, which is very unlikely to appear on board.
256 ports represents 256 tested devices minus other serial ports already present, right ?
In that case even if some user on board will be using 10 FTDI devices on a single system, this means he has to replace each and every device for a new one 25 times before he might get into trouble.

Up until now i've only been working with 2 dual ports devices at max and always witnessed the behaviour i described earlier.
__________________

__________________
MAS3 is offline   Reply With Quote
Old 05-08-2012, 20:08   #18
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: USB-GPS problems

Quote:
Originally Posted by janp391 View Post
Thanks.....will try next time I visit my boat
..a bit more- checking the baud rate helped me with my funky AIS (via a scanner per AISmon). I just want to add that the baud rate should probably match in the Device Manager (or driver) and the application listening...this has tripped me up a couple of times.
__________________
HappySeagull is offline   Reply With Quote
Old 12-08-2012, 21:12   #19
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: USB-GPS problems

Folks...

Just to be absolutely clear on one item:

If you see NMEA sentences on the toolbox->GPS->Show NMEA data stream window, then OpenCPN has opened the port OK, and NMEA data is coming. If you have no "red" boat, then the only reasons are: a)no fix, or b)wrong sentence configuration from the GPS. As Barnakiel says, you must look at the NMEA sentences to ensure that the correct sentences are coming, and that a valid fix is available.

The problem that Jeannius is having is different. In the log is
"NMEA input device open failed: COM3...GetLastError(): 2".

We are researching this issue now. Not seen before, and somewhat mysterious if hyperterm can open COM3 independently.

Jeannius, as a test, please check your system Device Manager to verify that COM3 is indeed available in the COM ports list before starting OpenCPN. You may find the USB GPS com port number by plugging and unplugging the GPS while the Device Manager is open. The port will come and go clearly.


Thanks
Dave
__________________
bdbcat is online now   Reply With Quote
Old 13-08-2012, 09:14   #20
Registered User

Join Date: Oct 2009
Location: West coast of Sweden
Boat: Najad391
Posts: 155
Re: USB-GPS problems

Quote:
Originally Posted by bdbcat View Post
Folks...

Just to be absolutely clear on one item:

If you see NMEA sentences on the toolbox->GPS->Show NMEA data stream window, then OpenCPN has opened the port OK, and NMEA data is coming. If you have no "red" boat, then the only reasons are: a)no fix, or b)wrong sentence configuration from the GPS. As Barnakiel says, you must look at the NMEA sentences to ensure that the correct sentences are coming, and that a valid fix is available.

The problem that Jeannius is having is different. In the log is
"NMEA input device open failed: COM3...GetLastError(): 2".

We are researching this issue now. Not seen before, and somewhat mysterious if hyperterm can open COM3 independently.

Jeannius, as a test, please check your system Device Manager to verify that COM3 is indeed available in the COM ports list before starting OpenCPN. You may find the USB GPS com port number by plugging and unplugging the GPS while the Device Manager is open. The port will come and go clearly.


Thanks
Dave
Sorry....
I have no more info since post #1
One moment the signal from the USB-GPS is accepted and give me a red boat.
If I shut down O and start again then it can be a black boat. By switching between the different com ports and restarting will finally give me a red boat from USB-GPS
There is no com port change, the baud rate is 4800. Nothing is changed between the different situations and NMEA sentences is coming in to O
//Jan
__________________

__________________
janp391 is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 22:54.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.