Difference between revisions of "MCE firmware"

From MCEWiki
 
(237 intermediate revisions by 11 users not shown)
Line 1: Line 1:
== MCE Firmware ==
+
{{Related|Firmware}}
* [[ MCE Firmware Catalog ]]
+
== Releases ==
* [[ MCE Untested features ]]
+
All firmware can be downloaded from [http://e-mode.phas.ubc.ca/mce/firmware/ http://e-mode.phas.ubc.ca/mce/firmware/]. Release notes for each firmware release can be found below:
* [[ MCE bugs ]]
+
* [[ Clock Card firmware]]
 +
* [[ Readout Card firmware]]
 +
* [[ Bias Card firmware]]
 +
* [[ Address Card firmware]]
 +
* [[ PCI card firmware ]]
 +
* [[ Sync Box Firmware ]]
  
== MCE How-To Guide ==
+
See also:
* [[ Flux jumping ]]
+
* [[Recommended firmware versions]]
* [[ Raw-mode readout ]]
 
* [[ High rate acquisition ]]
 
* [[ Fast SQ2 Feedback and TES Biasing with an Address Card ]]
 
  
== Procedures for keeping DAS/MCE healthy during firmware upgrades, power cycles, etc. ==
+
== Loading firmware onto cards ==
It is good practice to do an MCE reset ("mce_reset" command or "mce_reset_clean" shell script) after any firmware upgrades or power cycles.
 
  
== Hardware Peripherals ==
+
There are two ways to load MCE firmware:
* [[ Using Ethernet Blaster ]]
+
# [[ Remote Firmware Update | Remote firmware update over the MCE fibre interface]]
* [[ USB Blaster ]]
+
# Using Altera-supplied Hardware/Software and MCE Front-panel Connector
* [[ Sync Box ]]
+
#* [[ USB Blaster | step-by-step instructions ]]
  
== Software Tools ==
+
Things to bear in mind:
All that you need to know about logging into our CVS repository can be found here:
+
* 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.
* [[ CVS Firmware Repository ]]
+
* 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'''''
* [[ Quartus II Installation ]]
+
 
* [[ ModelSim SE Installation ]] (from scratch)
+
== Implementation Details ==
  
 +
* [[ MCE Timing Diagram ]]
 +
* [[MCE fibre protocol]] - communication between the MCE and the controlling PC over the fibre-optic link
 +
* [[MCE backplane protocol]] - communication between cards within the MCE
 +
* Monitoring MCE Status [[http://www.phas.ubc.ca/%7Emce/mcedocs/system/monitoring_mce_status.doc DOC]] (Nov. 9, 2006)
 +
* [[MCE commands]]
  
We decided (sadly) NOT to migrate from CVS to SVN, if we ever do here are some guidelines:
+
== Firmware Development Tools ==
 +
* [[ Quartus II Installation ]]
 +
* [[ ModelSim SE Installation ]]
 +
** [[ Setting up Altera libraries in ModelSim SE ]]
 +
* [[ JAM Player ]]
 +
* [[ Convert sof to jic for EPCS64 Serial Configuration Device ]]
  
svn manual: http://svnbook.red-bean.com/en/1.4/
+
== Development notes ==
 +
* [[intmce:MCE bugs]]
 +
* [[intmce:Firmware Features Under Development]]
 +
* [[intmce:Closed firmware features]]
  
* [[ Firmware Accessing the svn repository | Accessing the svn repository ]]
+
[[Category:Firmware]]
* [[ Firmware svn commit guidelines | svn commit guidelines ]]
 
* svn basic operations
 
** [[ Firmware svn tagging | tagging ]]
 
** [[ Firmware svn merging | merging ]]
 
** [[ Firmware svn branching | branching ]]
 
** [[ Firmware svn undelete | resurrecting deleted items ]]
 

Latest revision as of 14:22, 22 March 2018

Related topics:

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:

See also:

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

Implementation Details

Firmware Development Tools

Development notes