Date: Mon, 13 Mar 1995 10:27:57 +0100 From: Lars Koeller <uphya001@odie.physik2.uni-rostock.de> To: freebsd-hardware@freefall.cdrom.com Subject: Re: xntpd: testdcf don't work. Help!!!!! Message-ID: <199503130927.KAA17333@odie.physik2.uni-rostock.de>
next in thread | raw e-mail | index | archive | help
Hello! I just construct an DCF77 reciver for the serial port (IX magazine 10.95). It works well, but I can only decode sensless data with 'testdcf' out of the /usr/src/contrib/xntpd/parse/util directory from a serial port. A few details: - Connection to the serial port (9 pin): pin 4 (DTR) : VCC + pin 3 (TxD) : VCC - pin 2 (RxD) : data from DCF modul - When I start testdcf with port /dev/tty01 or /dev/ttyd1 the DCF modul begins to work ( a led flashes secondly ) but the program hangs in the line fd = open(file, O_RDONLY). It only starts correctly when I use /dev/cua01. - After this it only decodes trash, but no usefull information: - #-????-?-?-???----??????#-?----?-??-?????-?? *** BAD FORMAT (invalid/parity) - --??-??-???-???#---?---????-????????#------- *** BAD FORMAT (invalid/parity) - ??-????#---?-??#--??#-----#--??#-?-?--??#-?? *** BAD FORMAT (invalid/parity) - ???-?#?---?-?#-?#?-??-?-?????-?#-?---??-??-? *** BAD FORMAT (invalid/parity) - ?-?????????#?-?------?#---??-?-?????#-????-? *** BAD FORMAT (invalid/parity) - #--?-??#?---??---???-#-?-#---?-?-?-?-??--??- *** BAD FORMAT (invalid/parity) - ##???#-???#---????--?#--?-?---?#??-?-?????#- *** BAD FORMAT (invalid/parity) I also try the testdcf from the current-disribution! The same results! Who can help, what is with the dcf device in MAKEDEV? I have applied all the patches for 1.1.5.1! Thanks for help Lars ------------------------------------------------------------------------------ Lars Köller E-Mail: University of Rostock (Germany) lars.koeller@odie.physik2.Uni-Rostock.DE Fachbereich Physik lars.koeller@physik.Uni-Rostock.DE Universitätsplatz 3 Phone: +49 381/498-1665 or 498-1648 18051 Rostock Fax: +49 381/498-1667
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503130927.KAA17333>