wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

USB -> Serial and vpconfig not working

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting
View previous topic :: View next topic  
Author Message
pe1pqf



Joined: 06 Aug 2005
Posts: 2
Location: Den Bosch / The Netherlands

PostPosted: Sat Aug 06, 2005 10:24 am    Post subject: USB -> Serial and vpconfig not working Reply with quote

Hi,

have been running a Davis weatherstation (Vantage Pro) for some time now and I decided to hook it up to my notebook using a USB to serial convertor (MCT U232-P25) and the wview software.

Running '/usr/local/bin/vpconfig /dev/ttyUSB0 show' gives several error messages:

# /usr/local/bin/vpconfig /dev/ttyUSB0 show
VP console WAKEUP failed - retry
VP console WAKEUP failed - retry
VP console WAKEUP failed - retry
VP console WAKEUP failed - retry
VP console WAKEUP failed - retry
VP console WAKEUP failed - retry
VP console WAKEUP failed - retry
VP console WAKEUP failed - retry
VP console WAKEUP failed - retry
VP console WAKEUP failed - retry
VP console WAKEUP failed - aborting

However, accessing the Vantage Pro through the same port with a simple terminal emulator, works fine:

# ./wermit
C-Kermit 8.0.211, 10 Apr 2004, for Linux
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/usr/src/kermit/) C-Kermit>set line /dev/ttyUSB0
(/usr/src/kermit/) C-Kermit>set speed 19200
/dev/ttyUSB0, 19200 bps
(/usr/src/kermit/) C-Kermit>c
Connecting to /dev/ttyUSB0, speed 19200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------

RXCHECK

OK
26066 15 0 7470 3

Anyone got a clue as to what is happening?

-- Jan --
Back to top
View user's profile Send private message
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sat Aug 06, 2005 10:37 am    Post subject: Reply with quote

What version of wview are you using? Older versions had more strict timing requirements for the serial interface...

Have you tried running vpconfig after a reboot (i.e., before running any other terminal programs on that device)? I believe that the wview device initialization should be removing any "cooked" serial configuration on the device, but if it isn't, and some other terminal program leaves it in a state where not all bytes are being passed through the driver, this would be a problem for vpconfig.

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sat Aug 06, 2005 10:40 am    Post subject: Reply with quote

Also, the ASCII commands entered in a terminal program do not prove or disprove that the non-ASCII characters used in the VP protocol (such as to wake up the console) are being received or transmitted through the serial driver...

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
pe1pqf



Joined: 06 Aug 2005
Posts: 2
Location: Den Bosch / The Netherlands

PostPosted: Sat Aug 06, 2005 11:40 am    Post subject: Reply with quote

I am using version 1.6.3, downloaded it from the web yesterday. Rebooting does not fix the problem. It keeps telling me wakeup failed.

When running the terminal program, I first have to hit ENTER one or two times to wake-up the VP, after that it will react on the ASCII commands I enter.

-- Jan --
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group