SETUP A303A Module. Author: Valentin Sulimov (sulimov@fnal.gov) 17 Aug 2000 The Mod.A303A can work under LINUX in INTERRUPT mode and I/O mapping. 1.Setup on Module: a.I/O base address 300h SW1[19...16]=0 SW2[15...12]=0 SW3[11...8] =3 SW4[7...4] =0 b. Line termination SW5 = ON c. Interrupt connection SW6 = INT d. IOCHRDY connection SW7 = OFF e. Memory mapping or I/O mapping SW8 = I/O 2.Setup BIOS on PC: a.Restart your System. b.During the boot routine, the message "F2=Setup" appears on the screen. When the message appears, immediately press the key. c.On Page 1 of 2 in line ACPI: set OFF. (-->) d. Reboot your System (Alt B) 3. To install the Linux (2.2.X) device driver proceed as follows: decompress the A303-2.2.tgz archive which is available at: ftp://ftp.caen.it/pub/DocCaen/miscellan/a303a/Linux/A303-2.2.tgz in dir. distrib/ a. make clean b. make c. As ROOT type: ./A303_load d. verify that the driver has been correctly installed. type: /sbin/lsmod message is displayed: Module Size Used by a303drv 5508 0 nfsd 150936 8 (autoclean) lockd 30856 1 (autoclean) [nfsd] sunrpc 52356 1 (autoclean) [nfsd lockd] 3c59x 18920 1 (autoclean) opl3 11208 0 cs4232 2440 0 ad1848 15920 0 [cs4232] uart401 5968 0 [cs4232] sound 57208 0 [opl3 cs4232 ad1848 uart401] soundlow 300 0 [sound] soundcore 2372 6 [sound] aic7xxx 106928 5 e. Run the Diagnostic utility. ./a303diag 300 Message: A303 board correctly installed f. Run the Demo program. ./sy527demo 300 11 (crate 17) Message : - MAIN MENU - [A] - Read Module Identifier [B] - Crate Map [C] - Channels Monitor [D] - Speed test [E] - Parameter Setting [F] - Clear Alarms [G] - Set Alarm Type [H] - Lock Keyboard [I] - Unlock Keyboard [J] - Kill ALL Channels [K] - Front Panel Status [L] - Groups Operations [M] - Format EEPROM [Q] - Quit g. Press: A Message: The module has answered : SY527 V3.26 Press any key to continue