Difference between revisions of "MCE firmware"

From MCEWiki
(MCE Firmware Releases)
 
(124 intermediate revisions by 7 users not shown)
Line 1: Line 1:
= Critical Notes =
+
{{Related|Firmware}}
* [[Quartus 8.0 .pof Generation Bug]]
+
== 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:
 +
* [[ Clock Card firmware]]
 +
* [[ Readout Card firmware]]
 +
* [[ Bias Card firmware]]
 +
* [[ Address Card firmware]]
 +
* [[ PCI card firmware ]]
 +
* [[ Sync Box Firmware ]]
  
* 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. 
+
See also:
> mce_reset_clean
+
* [[Recommended firmware versions]]
  
* 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.
+
== Loading firmware onto cards ==
> rs psc cycle_pow 1
 
> mce_reset_clean
 
  
= MCE Firmware Releases =
+
There are two ways to load MCE firmware:
* [http://www.phas.ubc.ca/~mce/mcedocs/firmware/ MCE Firmware File Downloads]
+
# [[ 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 ]]
  
Setting the permissions on firmware files uploaded to the folder above:
+
Things to bear in mind:
  > ssh phas.ubc.ca
+
* 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.
  > cd ~mce/public_html/mcedocs/firmware
+
* Always cleanly reset the MCE after a power-up or a reconfiguration! If not, MCE communication with the PC or Sync Box may not workOn MAS prompt, type: '''''mce_reset_clean'''''
> chmod o+r rc_*.pof
 
  
* [http://e-mode.phas.ubc.ca/intmcewiki/index.php/Programming_EPCS64 MCE Firmware File Conversions]. [sof,pof,jic,jam].
+
== Implementation Details ==
  
Recommended versions of firmware, and lists of compatible firmware files across cards:
+
* [[ MCE Timing Diagram ]]
* [[ Compatible Versions (CC,RC,BC,AC) ]]
+
* [[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]]
  
Revision information on the firmware for each card:
+
== Firmware Development Tools ==
* [[ Clock Card (CC) ]]
 
* [[ Readout Card (RC) | Readout Card (RC) Rev. A/B]]
 
* [[ Readout Card (RC) Rev. C/D ]]
 
* [[ Bias Card (BC) ]]
 
* [[ Address Card (AC) ]]
 
* [[ Power-Supply Unit Controller (PSUC) Rev. 1 ]]
 
* [[ Power-Supply Unit Controller (PSUC) Rev. 2 ]]
 
 
 
= MCE Features and How-To Guides =
 
* [[ MCE Commands ]]
 
 
 
* Data Acquisition
 
** [[ High rate acquisition | Fast Data Acquisition ]] (i.e. at the Frame Rate)
 
** [[ The STOP Command ]]
 
** [[ How to Configure Which Readout Cards Report Data ]]
 
** [[ How to Read a Column at the Frame Rate ]]
 
** [[ Rectangle Mode Data ]]
 
 
 
* Readout Card
 
** [[ 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 ]] (i.e. To Prevent Unlocked Pixels from Ramping)
 
 
 
* Address Card
 
** [[ Fast SQ2 Feedback and TES Biasing with an Address Card ]]
 
 
 
* Clock Card
 
** [[ Remote Firmware Update ]]
 
** [[ Internal Commands ]]
 
*** [[ Arbitrary Waveform Generator ]] (i.e. Maximum Length Sequences for Complex Impedance Measurements)
 
*** [[ Ramp Generator ]]
 
*** [[ Temperature Sensing ]]
 
 
 
= MCE Firmware Bugs/ Features Under Development =
 
* This section has been moved to the Internal MCE Wiki.
 
 
 
= Hardware Peripherals =
 
* [[ Using Ethernet Blaster ]]
 
* [[ USB Blaster ]]
 
* [[ Sync Box ]]
 
 
 
= Software Tools =
 
All that you need to know about logging into our CVS repository can be found here:
 
* [[ CVS Firmware Repository ]]
 
 
* [[ Quartus II Installation ]]
 
* [[ Quartus II Installation ]]
* [[ ModelSim SE Installation ]] (from scratch)
+
* [[ ModelSim SE Installation ]]
 +
** [[ Setting up Altera libraries in ModelSim SE ]]
 +
* [[ JAM Player ]]
 +
* [[ Convert sof to jic for EPCS64 Serial Configuration Device ]]
  
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