---------------------------------------------------------- FEEServer Control Engine, Version 2.0 -- April 2007 ---------------------------------------------------------- The FEEServer Control Engine Version 2.0 is a complete rewrite of the primary FEEServer. This rewrite was done because in the old FEEServer there was some missing functionality and the code was very inflexible. This code expects the new cfdat headers, first introduced in libTRD revision 1295 and updated in libTRD revision 1314. The older cfdat headers can't be handled and causes a program crash. Compiling and Installing ------------------------ Fist, you need a directory /home/trd/arm with the subdirs bin, include and lib which have to contain the libTRD, compiled for arm processors. If you want to change the path, edit Makefile.am and stand_alone/Makefile.am. To compile the code, execute the following commands ./bootstrap ./configure --host=arm-linux-uclibc --prefix=/usr/local make To install the CE on the DCS board alidcsdcb0061 execute make DESTDIR='/tmp/ce_test' update_alidcsdcb0061 To run the test program use make DESTDIR=/tmp test After this you have to log in on the DCS board and execute on the DCS board the file scsn_test from /tmp Important new features ---------------------- - Stand alone test program mainly for debugging purpose This program can be found in the subdirectory stand_alone. After compiling the progam you can copy it to a DCS board and there you only need libTRD, no FEEServer, no database access, no PVSS - finite state machine There will be a seperate documentation later General status -------------- At the moment the complete functionality of the old feeserver is not avaliable because some parts of the code are not transferred yet. *** Working *** : - finite state machine - chamber initialisation - chamber configuration (a little bit slow at the moment because fast read / write is missing) - Reset test *** Implemeted but untested *** : - handling of broken MCMs / links (bridgin) *** Missing *** : - all other tests - I2C, J2C interface - temperature control - patchmaker not implemented Known Issues ------------ - During configuring the chamber with configuration only_pedestal some read commands faild on linkpair 2. The reason for this behaviour isn't identified yet. Perhaps it's not a problem of the CE but of the configuration - Broadcast reads (fast_read) have some problems