From: Ed S. <ed...@ne...> - 2002-06-03 16:08:40
|
On Sat, 1 Jun 2002, frank mori hess wrote: > > > On Wed, 29 May 2002, Ed Sternin wrote: > > > Unfortunately, all my efforts with HP/Agilent to get the information about > > the OTHER 24 i/o locations mapped out have failed so far (the PnP tools > > report that the card wants 32 i/o locations, while 9914 only needs 8 > > registers). It is also not clear where/how/if DMA mode is to be enabled, > > if supported. > > It's a 16 bit card, it's possible it uses 16 io addresses for the 8 > tms9914 registers, using 16 bits for each 9914 register (and wasting the > upper 8 bits). Have you tried using outw/inw instead of outb/inb? There > also should be additional registers for controlling the board's fifo. I assumed as much. I tried to use the elementary write/reads to see if things work. For example, set the gpib address, write out a byte, etc. The simple test9914.c program (inspired by the NI documentation for NAT9914) is on the web site, as well as the results of running it. At first I thought that everything was working, at all 4 possible offsets (+0, +0x08, +0x10, +0x18) but making more elaborate tests reveals that all of the board's addresses report whatever the last write to it was. So if I use write/read to verify the setting of an address, it confirms as if it worked. It looks like there is something HP-ish there, in front of the 9914. Anyways, see the code. > I looked at the information you gathered on your web page. How did you > determine the board uses a tms9914 chip? Without more register-level Well, the labels on the chips on the board are pretty unequivocal. There is a Xilinx glue chip, and a 9914. > information, supporting this board does not look promising. Have you > contracted HP about getting register level programming documentation for > the board? Yes, and they so far just bounced me around. See the quote from TAMS engineer, also on the Web page. HP was more eager to close the service call I opened than to answer my question. I will pursue it further, but I am not holding my breath; my experience with the HP since they became Agilent has been terrible, and not just on this issue. Greg Goebel had been helpful in the past, according to Clausi's note on LLP site, but he's been gone from HP for two years now. Does anybody else know anything? ------------------------------------------------------------------ Ed Sternin, Physics Dept, Brock U, St.Catharines, Ontario, L2S 3A1 http://www.physics.BrockU.CA/faculty/sternin.html voice:(905)688-5550x3414 FAX:(905)682-9020 email: ed...@br... |