From: Xiaofeng T. <xt...@th...> - 2007-11-28 02:09:31
|
Hi: I am using Linux-GPIB for our system board featuring a TNT4882 GPIB chip and a BlackFin532 processor that runs on uClinux (2.6.16). The board uses the ni_isa interface and is configured as a GPIB bus slave so that it can be controlled by a GPIB controller. After tweaking the driver a little (i.e. setting up interrupt on uClinux, etc), I came to a point where our board can be recognized by NI Automation & Measuring Explorer (NIAME) as an instrument. However, no matter what PAD address I set in /etc/gpib.conf, NIAME always reports that our board has a PAD of 0 (as you can imagine, NIAME must be configured with a PAD that is not equal 0. Otherwise, it will fail to discover our board). When I tried to read a "*IDN?" command issued from NIAME using the ibtest program, NIAME returns with an error code of EADR. It seems to me that the addressing of the TNT4882 chip is setup correctly in functions nec7210_primary_address() and nec7210_secondary_address() - I confirm this by adding printk statements in these functions. I wonder if anyone can help me out? Any suggestion will be highly appreciated. Thank you. Xiaofeng Tan |