TWiki> Main Web>AmsTracker>DaqSpecial (revision 5)EditAttachPDF

Special Operations

How to directly command a JINF/TDR:

  • Go to /home/ams/TrackerUser/AMSWireCommands/
  • here you can find the program TESTjmdc
    this is a program that let talk to JINJ boards and to all the nodes after it

    The syntax for this program is:
    ./TESTjmdc port amsw_node cmd arg1 arg2 ...
    • numbers must be written in hex
    • amsw_node is the address of the node you want talk to:
      Node address examples:
      JINJ-itself = ffff
      JINF-T0 = 033f
      TDR-0-00-A (T0 TDR00) = 003f033f
      TDR-4-10-B (T4 TDR21) = 153f103f
      AllTDR-7 = 4000173f

      OCT CRATE IND (Hex) (Dec)
      3 3 013f 01
      4 2 003f 00
      7 7 173f 23
      8 6 163f 22
      1 0 033f 03
      4 1 093f 09
      5 4 103f 16
      6 5 113f 17

      Command (from Kounine document):
      Read Status: C [no pars]
      Read Flash: 7 [no pars]
      Read last Event Number: 2 [no pars]

Filenames convention and history:

The dsp codes are stored in : /home/ams/TrackerUser/AMSWireCommands/DspCodes/

the file name has to be file_ node _ name.dat


  • node = tdr, jinft, jinj, jlvl1
  • name = versnumber = same name as in Philipp list i.e. 3ee3, MUST be THE SAME as the first line in the contents of the file itself.

How to Load a new JINF-T/TDR firmware

  • Get the new dsp code in : /home/ams/TrackerUser/AMSWireCommands/DspCodes/file_ node _ name.dat
  • copy the file as file.dat in : /home/ams/TrackerUser/AMSWireCommands/
  • edit the first line of the file.dat and set it as:
    • 2932 if it will be the default file for JINFT (will become 29F2)
    • 29F3 if it will be the default file for TDR
  • REMEMBER: when a DSP code is written in the flash it will be effectively used only if it is run afterwards.

How to Create and Load a JINF-T/TDR config file:

-- PaoloZuccon - 03-Dec-2009

Edit | Attach | Watch | Print version | History: r20 | r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r5 - 2009-12-10 - MatteoDuranti
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback