Difference between revisions of "MCE firmware"

From MCEWiki
Line 10: Line 10:
 
* [[ Sync Box Firmware ]]
 
* [[ Sync Box Firmware ]]
  
== Firmware Upgrade ==
+
== Loading firmware onto cards ==
There are two ways to upgrade the MCE firmware:  
+
 
 +
There are two ways to load MCE firmware:  
 
# [[ Remote Firmware Update | Remote firmware update over the MCE fibre interface]]
 
# [[ Remote Firmware Update | Remote firmware update over the MCE fibre interface]]
 
# Using Altera-supplied Hardware/Software and MCE Front-panel Connector
 
# Using Altera-supplied Hardware/Software and MCE Front-panel Connector
Line 19: Line 20:
 
* In v5+ firmware, if you update firmware on any readout card, the card doesn't reply to any command unless the Clock Card is also reprogrammed.
 
* In v5+ firmware, if you update firmware on any readout card, the card doesn't reply to any command unless the Clock Card is also reprogrammed.
 
* Always cleanly reset the MCE after a power-up or a reconfiguration!  If not, MCE communication with the PC or Sync Box may not work.  On MAS prompt, type: '''''mce_reset_clean'''''
 
* Always cleanly reset the MCE after a power-up or a reconfiguration!  If not, MCE communication with the PC or Sync Box may not work.  On MAS prompt, type: '''''mce_reset_clean'''''
* After an mce_reset, not all of the DAC outputs are set to zero.  In addition, values written to RAM-based registers are not reset. A full reconfiguration is required for a proper reset. You may power-cycle the MCE remotely if the MCE is equipped with a PSA (UBC switching supply) by issuing '''''mce_cmd -x rs psc cycle_pow 1''''' and then '''''mce_reset_clean'''''
 
  
  

Revision as of 17:41, 11 January 2012

Template:Hierarchy header

Releases

All firmware can be downloaded from http://e-mode.phas.ubc.ca/mce_firmware/. Release notes for each firmware release can be found below:

Loading firmware onto cards

There are two ways to load MCE firmware:

  1. Remote firmware update over the MCE fibre interface
  2. Using Altera-supplied Hardware/Software and MCE Front-panel Connector

Things to bear in mind:

  • In v5+ firmware, if you update firmware on any readout card, the card doesn't reply to any command unless the Clock Card is also reprogrammed.
  • Always cleanly reset the MCE after a power-up or a reconfiguration! If not, MCE communication with the PC or Sync Box may not work. On MAS prompt, type: mce_reset_clean


MCE Features and How-To Guides

MCE Firmware Bugs/ Features Under Development has been moved to the intmce:MCE bugs.

Firmware Development Tools

MCE Scripting

Old documents

  • Loading FPGA Firmware Using EthernetBlaster TXT
  • Loading PSUC Microcontroller Firmware Using Atmel FLIP [PDF]
  • Firmware Overview [PDF] (SC2-ELE-S500-023) (ATC) (Jun. 06, 2003)
  • Address Card:
    • top-level [DOC] (Oct. 06, 2005)
    • ac_dac_ctrl [DOC]
  • Bias Card:
    • top-level [DOC] (Oct. 06, 2005)
  • Readout Card:
    • top-level [DOC] (SC2-ELE-S582-201) (Oct. 05, 2005)
    • flux_loop [DOC] (SC2-ELE-S582-202) (Sep. 15, 2004)
    • adc_sample_coadd [DOC] (SC2-ELE-S582-204) (Feb. 15, 2004)
    • fsfb_calc [DOC] (SC2-ELE-S582-205) (Feb. 09, 2006)
    • Low-Pass Filtering [PDF] (SC2-ELE-S582-211) (Jul. 28, 2006)
    • fsfb_calculations_diagram (SC2-ELE-S582-011) [PDF]
    • fsfb_ctrl [DOC] (SC2-ELE-S582-206) (Feb. 15, 2005)
    • offset_sa_bias_ctrl (SC2-ELE-S582-207) [DOC] (Apr. 04, 2005)
    • wbs_fb_data (SC2-ELE-S582-209) [DOC] (Feb. 15, 2005)
    • wbs_frame_data [DOC] (SC2-ELE-S582-210) (Feb. 15, 2005)
    • fsfb_corr (flux_jumping) [DOC] (Oct. 07, 2005)
    • Servo-Loop Diagram (SC2-ELE-S582-012) [DOC]
  • Blocks common to RC, AC, CC, BC
    • dispatch [DOC] (SC2-ELE-S580-202) (Oct. 31, 2005)
      • lvds_rx [DOC] (Oct. 3, 2005)
      • lvds_tx[DOC] (Nov. 2004)
  • Power-Supply Unit Controller:
    • PSUC Firmware Description [PDF] (SC2-ELE-S585-xxx)
  • SyncBox
    • SyncBox CPLD Firmware Description [PDF] (SC2-ELE-S589-201)
    • SyncBox Microcontroller Software Description [PDF] (SC2-ELE-S589-202)

(Old MCE Firmware Documents index)