Difference between revisions of "MCE firmware"

From MCEWiki
(MCE Features and How-To Guides)
 
(74 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= Critical Notes =
+
{{Related|Firmware}}
* MCE firmware-load '''bug''': 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.
+
== Releases ==
 
+
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:
* 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.
+
* [[ Clock Card firmware]]
> mce_reset_clean
+
* [[ Readout Card firmware]]
 
+
* [[ Bias Card firmware]]
* 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.
+
* [[ Address Card firmware]]
> rs psc cycle_pow 1
+
* [[ PCI card firmware ]]
> mce_reset_clean
 
 
 
* [[Quartus 8.0 .pof Generation Bug]]
 
 
 
= MCE Firmware Releases =
 
Firmware Revisions:
 
* [[ Clock Card (CC) ]]
 
* [[ Readout Card (RC) | Readout Card (RC) Rev. A/B]] (Stratix I)
 
* [[ Readout Card (RC) Rev. C/D ]] (Stratix III)
 
* [[ Bias Card (BC) ]]
 
* [[ Address Card (AC) ]]
 
* [[ Power-Supply Unit Controller (PSUC) Rev. 1 ]]
 
* [[ Power-Supply Unit Controller (PSUC) Rev. 2 ]]
 
 
* [[ Sync Box Firmware ]]
 
* [[ Sync Box Firmware ]]
  
Firmware Downloads and .JAM Conversions
+
See also:
* [[ Compatible Versions (CC,RC,BC,AC) ]].  (Lists of versions of firmware to use together.)
+
* [[Recommended firmware versions]]
* [http://www.phas.ubc.ca/~mce/mcedocs/firmware/ MCE Firmware Downloads]
 
* [[MCE Programming File Conversions]].  (Converting between sof, pof, jic, and jam files.)
 
 
 
= MCE Features and How-To Guides =
 
* [[ MCE Commands ]]
 
* [[ Upgrading From 4.x.x To 5.x.x Firmware ]] -- using SCUBA-2 as an example
 
 
 
* Data Acquisition
 
** [[ High rate acquisition | Fast Data Acquisition ]] -- i.e. up to the frame rate
 
** [[ The STOP Command ]] (CC v4.0.b, v4.0.c, v5.0.1+)
 
** [[ How to Configure Which Readout Cards Report Data ]] (CC v4.0.a+)
 
** [[ How to Read a Column at the Frame Rate ]] (CC v5.0.0 & RC v5.0.0+)
 
** [[ Rectangle Mode Data ]] (CC v5.0.0 & RC v5.0.1+)
 
  
* Readout Card
+
== Loading firmware onto cards ==
** [[ Data mode | Data Modes ]]
 
** [[ Digital 4-pole Butterworth Low-pass filter | Filtered Data & the Digital 4-pole Butterworth Low-pass Filter]]
 
** [[ Raw-mode readout | Raw 50 MHz Data ]]
 
** [[ Flux jumping | Flux Jumping]]
 
** [[ FSFB Clamping Commands ]] -- to prevent unlocked pixels from ramping (RC v5.0.a+)
 
** [[ FSFB Servo Start Value ]]
 
  
* Address Card
+
There are two ways to load MCE firmware:
** [[ Fast SQ2 Feedback and TES Biasing with an Address Card ]]
+
# [[ Remote Firmware Update | Remote firmware update over the MCE fibre interface]]
 +
# Using Altera-supplied Hardware/Software and MCE Front-panel Connector
 +
#* [[ USB Blaster | step-by-step instructions ]]
  
* Clock Card
+
Things to bear in mind:
** [[ Remote Firmware Update ]] (CC v5.0.7+)
+
* 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.
** [[ Internal Commands ]]
+
* 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'''''
*** [[ Arbitrary Waveform Generator ]] -- for maximum length sequences and complex impedance measurements (CC v5.0.3+)
 
*** [[ Ramp Generator ]]
 
*** [[ Temperature monitoring ]]
 
  
= MCE Firmware Bugs/ Features Under Development =
+
== Implementation Details ==
* This section has been moved to the [http://e-mode.phas.ubc.ca/intmcewiki/index.php/MCE_bugs Internal MCE Wiki Bug List].
 
  
= Hardware Peripherals =
+
* [[ MCE Timing Diagram ]]
* [[ Using Ethernet Blaster | Ethernet Blaster ]]
+
* [[MCE fibre protocol]] - communication between the MCE and the controlling PC over the fibre-optic link
* [[ USB Blaster ]]
+
* [[MCE backplane protocol]] - communication between cards within the MCE
* [[ Sync Box ]]
+
* Monitoring MCE Status [[http://www.phas.ubc.ca/%7Emce/mcedocs/system/monitoring_mce_status.doc DOC]] (Nov. 9, 2006)
 +
* [[MCE commands]]
  
= Software Tools =
+
== Firmware Development Tools ==
 
* [[ Quartus II Installation ]]
 
* [[ Quartus II Installation ]]
* [[ ModelSim SE Installation ]] (from scratch)
+
* [[ ModelSim SE Installation ]]
* [[ CVS Firmware Repository ]]
+
** [[ Setting up Altera libraries in ModelSim SE ]]
 
* [[ JAM Player ]]
 
* [[ JAM Player ]]
* [[ JRunner ]]
+
* [[ Convert sof to jic for EPCS64 Serial Configuration Device ]]
  
* SVN links (We decided (sadly) NOT to migrate from CVS to SVN, if we ever do here is some information:)
+
== Development notes ==
: [http://svnbook.red-bean.com/en/1.4/ SVN Manual]
+
* [[intmce:MCE bugs]]
: [[ Firmware Accessing the svn repository | Accessing the SVN Repository ]]
+
* [[intmce:Firmware Features Under Development]]
: [[ Firmware svn commit guidelines | SVN Commit Guidelines ]]
+
* [[intmce:Closed firmware features]]
: SVN Basic Operations
 
:: [[ Firmware svn tagging | Tagging ]]
 
:: [[ Firmware svn merging | Merging ]]
 
:: [[ Firmware svn branching | Branching ]]
 
:: [[ Firmware svn undelete | Resurrecting Deleted Items ]]
 
  
= MCE Scripting =
+
[[Category:Firmware]]
* [[ MAS Cheat Sheet ]]
 
* [[ Using Python to Automate MAS ]]
 
* [[ MCE: Helper programs ]]
 

Latest revision as of 15: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