JLAB PCI TI: Difference between revisions
No edit summary |
|||
| Line 37: | Line 37: | ||
ssh boiarino@... | ssh boiarino@... | ||
For release 1.4.0 on RHEL7 mchines: | For release 1.4.0 on RHEL7 mchines: | ||
cd /usr/clas12/release/1.4.0/coda/src/TIpcieUS/xdma | cd /usr/clas12/release/1.4.0/coda/src/TIpcieUS/xdma | ||
For release 2.0.0 | For release 2.0.0: | ||
cd /usr/clas12/release/2.0.0/coda/src/TIpcieUS/ | cd /usr/clas12/release/2.0.0/coda/src/TIpcieUS-devel/xdma | ||
make -B | |||
Become superuser (''su'') and run following: | |||
make install | make install | ||
reboot | reboot | ||
'''NOTE:''' controlling tool can be used as following: | '''NOTE:''' controlling tool can be used as following: | ||
Revision as of 10:14, 2 February 2026
TIpcieUS
Manual 2024 (pdf)
Old manual 2020 (pdf)
Pinout of the 34-pin connector (TI CPI has 40-pin connector, but first 34 pins are the same, although they are typically NOT ECL but LVDS)
Pin name Signal Name Signal Level
1 / 2 BUSY_out + / - ECL 3 / 4 Trigger_out + / - ECL 5 / 6 UserControlled_out1 + / - ECL 7 / 8 UserControlled_out2 + / - ECL 9 / 10 UserControlled_out3 + / - ECL 11 / 12 UserControlled_out4 + / - ECL 13 / 14 OT1 + / - ECL 15 / 16 PromptTrigger_out + / - ECL 17 / 18 Inhibit_in + / - ECL 19 / 20 Trigger_in + / - ECL 21 / 22 Trigger_ch#1_in + / - ECL 23 / 24 Trigger_ch#2_in + / - ECL 25 / 26 Trigger_ch#3_in + / - ECL 27 / 28 Clock_in + / - ECL 29 / 30 Trigger_ch#4_in + / - ECL 31 / 32 Trigger_ch#5_in + / - ECL 33 / 34 Trigger_ch#6_in + / - ECL
35 / 36 37 / 38 39 / 40 CLK output
Installing driver on newly built machine
ssh boiarino@...
For release 1.4.0 on RHEL7 mchines:
cd /usr/clas12/release/1.4.0/coda/src/TIpcieUS/xdma
For release 2.0.0:
cd /usr/clas12/release/2.0.0/coda/src/TIpcieUS-devel/xdma
make -B
Become superuser (su) and run following:
make install reboot
NOTE: controlling tool can be used as following:
reboot machine ssh as root
Run TI control script:
cd ~jgu/PCIeTI/TIpcieUS/tools ./TIcontrol /dev/xdma0_user
or run following if exists:
/root/ti_init
For slave mode, type '2', then type '9'. It should bring TIpcie board to the right state. After that you can start the daq from scratch.
For Sampa setup, set TI board to the 'bridge' mode by typing '15'.
Another useful option is 4 - it shows temperature etc parameters.
old version
Manual for TI board in PCI format in (pdf)
On some DELL servers (R440 for example) booter will give an pci error and ask to push F1. To disable F1 pushing, in BIOS go to 'System BIOS Settings' -> 'Miscellaneous Settings' -> 'F1/F2 Prompt on Error' and click 'Disabled'.
Sometimes device /dev/TIpcie may be removed during patching or/and rebooting process. To restore it do following as root:
cd $CODA/src/TIpcie/linux_driver ./reload_driver.sh