Difference: AMC13Tool (14 vs. 15)

Revision 1506 May 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

Using AMC13Tool

Line: 29 to 29
 

Important Notes

Changed:
<
<
  • Address Tables are looked for in two locations: ${pwd} and ./map. If they are not found there, then the XDAQ_ROOT AMC13 Address Tables are used, and these may not be up-to-date with the most current software (if one has update their source tree from CVS since the release)
  • As of 11_5_3, the most current Tool lives at 11_5_3/hcal/hcalUpgrade/amc13/bin/linux/x86_64_slc5/AMC13Tool.exe
>
>
  • Address Tables are looked for in two locations: ${pwd} and ./map. If they are not found there, then the XDAQ_ROOT AMC13 Address Tables from the release are used.
  • You can copy the executable to your ${HOME}/bin directory if you don't want to specify the path explicitly
 

Functionality

Changed:
<
<
General
>
>
Command-line Arguments
  • -h: get list of allowed command-line arguments
  • -x: execute an AMC13Tool script file
  • -u: disable the use of uHAL ControlHub
  • -n: Manually set the AMC13 serial number (overriding the environment variable AMC13_SERIAL_NO)
  • -s: Manutally set the AMC13 slot number
  • -vi: Manually set the T1 IP address. If used, the Spartan IP address must be set manually as well
  • -si: Manually set the T2 IP address. If used, the Kintex IP address must be set manually as well
  • -i: Manually set the Spartan IP address to the one specified, and implicitly set the Kintex IP address to one LSB higher
  • -va: Manually set the T1 Address table path. If used, the Spartan Address table path must be set manually as well
  • -sa: Manually set the T2 Address table path. If used, the Kintex Address table path must be set manually as well

General Commands

 
  • 'q': quit program
  • 'do <file>': execute an AMC13Tool command script
  • 'sh <command>': execute a shell <command>

Changed:
<
<
Run Control
>
>
Run Control Commands
 
  • 'i <ena_list> (d) (f) (t) (b)': enable AMC13
    • '<ena_list>' is the comma/space/hyphen separated list of AMC inputs to be enabled (of ports 0-11)
    • 'd' is an optional flag to enable the 'DAQLink' bit on register 'CONTROL1' (address 0x1)
Line: 80 to 92
 
    • 'o' resets internal TTC orbit number
    • 'e' resets internal TTC event number
Changed:
<
<
Register Access
>
>
Commands for Register Access
 
  • 'rs(v) <add> [count]': read registers from the Spartan (Virtex) chip
    • '<add>' is the address to be read. Can either be the numeric register address or the register name from the Address Table
    • '[count]' is the number of words to be read from the chip. The addresses are read incrementally starting from <add> (default to 1)
Line: 146 to 158
 

Changed:
<
<
DAQ
>
>
DAQ Commands
 
  • 'de': enable DAQ link. This can be done from the receiver end only! However, it does enable both the LSC and LDC functionalities on either side of the DAQ Link
  • 'dsv (e)/(d)': enable or disable the saveing received DAQ data to the monitor buffer. This can be done from the receiver end only!
    • '(e)' enables the saving of DAQ Link received data to the SDRAM buffer
Line: 177 to 189
 
      • if enabled, only the EvN, BcN, and OrN will be read, and they will be written to the file in a '.csv' format
      • if disabled, the entire event will be written to the file in a binary format
Changed:
<
<
Flash
>
>
Flash Commands
 
  • 'fv': display both Virtex and Spartan firmware versions
  • 'rf <add>': read one page (256 bytes) from Flash Memory
    • '<add>' is the flash address from which to read
Line: 186 to 198
 
  • 'vs(v)': verify Spartan (Virtex) Flash, flash address 0x200000 (0x400000)
  • 'pfh': program flash header, flash address 0x00000
  • 'pbs': program Golden Flash, flash address 0x100000
Changed:
<
<
  • 'ps(v)': program Spartan (Virtex) Flash, flash address 0x200000 (0x400000)
>
>
  • 'ps(v) (M)': program Spartan (Virtex) Flash, flash address 0x200000 (0x400000)
    • If 'M' is present, file selection rules will be bypassed and the user will be able to choose from a list of all MCS files in the current directory
 
  • 'L': load Spartan and Virtex chips from Flash Memory
Changed:
<
<
uHTRs and other IP Devices
>
>
Commands for uHTRs and other IP Devices
 
  • 'ipadd <ip_addr>': add IP device to list of IP devices (which is initially empty). List of devices starts at 0!
    • '<ip_addr>' is the ip address of the device to be added
  • 'ipr <n> <addr>': read from an IP device
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback