Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.6.2.17 $; site uiucdcs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!inuxc!pur-ee!uiucdcs!cheong From: cheong@uiucdcs.UUCP Newsgroups: net.unix-wizards Subject: A/D Driver on 4.2bsd Message-ID: <13700097@uiucdcs.UUCP> Date: Wed, 30-Jan-85 17:42:00 EST Article-I.D.: uiucdcs.13700097 Posted: Wed Jan 30 17:42:00 1985 Date-Received: Sat, 2-Feb-85 00:16:16 EST Lines: 30 Nf-ID: #N:uiucdcs:13700097:000:1025 Nf-From: uiucdcs!cheong Jan 30 16:42:00 1985 I am writing a driver for an Analog to Digital converter, DT1711 series from Data Translation, Inc. The driver is written on Unix 4.2bsd on a VAX 11/750. I am having a TIME OUT problem when I start the convertion process. According to the manual for the series, the TIME OUT bit in the control status register is set because non-existant memory was addressed. I get the buffer address by doing the following: /********* /sys/vaxuba/ad.c ******/ struct buf *bp; int sc_ubinfo[2]; short dmacar; /* dma current address register, it needs a memory location to put the data in*/ *************/ bp = geteblk(512); sc_ubinfo[0] = ubasetup(ubanum,bp,UBA_NEEDBDP); ==> dmacar = sc_ubinfo[0]; Am I doing this right? Or what address should I give to dmacar? I would appreciate very much if someone could give me some help. Thanks in advance. ----------------- Infan Cheong University of Illinois at Urbana-Champaign cheong@uiuc.ARPA