--
CarolineNiemeyer - 2016-11-14
Instructions for installing pXar:
- follow:
https://twiki.cern.ch/twiki/bin/viewauth/CMS/Pxar
Problems might occur with the DTB software:
check your SW version and if its different from the FW:
The flash files are at
https://github.com/psi46/pixel-dtb-firmware/tree/master/FLASH
To be explicit, you could do the following, from within your local pxar directory:
cd .. git clone
git@githubNOSPAMPLEASE.com:psi46/pixel-dtb-firmware.git
cd pxar/main
../bin/pXar -f ../../pixel-dtb-firmware/FLASH/FLASHFILE
FLASHFILE is your version needed:
Push it onto the DTB with:
../bin/pXar -f ../../pixel-dtb-firmware/FLASH/FLASHFILE
where FLASHFILE should be dtb_v4.6.flash. The download will take a while. Follow the instructions at the end: Wait until all 4 LEDs turn off and
power-cycle the DTB.
To Run you need a config file:
../main/mkConfig -h
will show you the options and usage.
Then:
cd ../bin
./pXar -d YOURPATH -g
opens the GUI
If you have no connection to the DTB:
maybe your USB port is not configured:
execute:
# D. Pitzl. 2011
# init USB for psi46 test board
#
sudo mount --bind /dev/bus /proc/bus
sudo ln -s /sys/kernel/debug/usb/devices /proc/bus/usb/devices
sudo chmod 666 /proc/bus/usb/00*/*
# remove modules from kernel:
#old trivial:
# sudo /sbin/rmmod ftdi_sio usbserial
# intelligent:
# modprobe -c lists kernel config
sudo modprobe -r ftdi_sio
#sudo modprobe -r usbserial