README for fedDebug
-------------------

John Coughlan  19.08.2004

j.coughlan@rl.ac.uk


Introduction:

"fedDebug" is a Linux program used to debug and verify Firmware operation of the CMS-FED 9U VME card.


Restrictions :

This release assumes use of an SBS VME interface card


Installation:

Put "fedDebug" and "FFv1AddressTable.dat" in same directory


To run:

>fedDebug vme_crate_nr vme_slot_nr

(set crate_nr = 0 if only one SBS PCI card is used)

Example:

[xdaq@te2papeete xdaq]$ fedDebug 0 15
Clunky Software presents...
0 15
FED:
    Crate Nr = 0 
     Slot Nr = 15 
Base Address = $000f0000 
Device to open: /dev/btp96
FED base address = 0xf0000
TTCvi relative base address = 0x910000
Run Start time : 2004_08_20_082219

Output file_name_str = "fed9u_2004_08_20_082219"
INFO => Output file opened with pointer = 0x80cdd68

###############################################################################
# Please enter a choice:   Crate Nr = 0 ; Base Addr = $f0000 ; FED ser = 18   #
#                                                                             #
# a) set optorx, b) Temp status (LM82), c) set skews, d) TrimDAC cmds         #
# e) serial EPROM cmds, f) SystemACE cmds, g) TTCrx cmds                      #
#                                                                             #
# h) BE FPGA Cmds, i) init FED for run, j) show BE regs, k) ADM1025 Volt Mon  #
# l) Load Fibre Peds,  m) Scan Crate for Feds,                                #
# n) Read Fibre Peds, o) FE Cmds, p) FE Status, q) Firmware Vers              #
#                                                                             #
# r) show frame thresholds, s) spy commands, t) s/w trigger & clear evt csr   #
# u) show BRAM contents, v) fill BRAM contents                                #
# w) set fe fpga (1-8) ; 15 for Broadcast), x) exit                           #
# y) show VME status, z) test readout                                         #
#                                                                             #
# 1) FED Reset, 2) Select Clock(resets FED if successful!)                    #
# 3) s/w trigger only, 4) clear evt csr, 6) TTCvi card cmds, 7) Spy Display   #
# 8) FE buffer level monitor, 9) Load Frame Thresholds                        #
###############################################################################

Then select from the menus....

------------------------------

Source Files :

fedDebug.cc

FFv1Object.hh


John Coughlan

=================================================



