Difference between revisions of "MCE firmware"

From MCEWiki
 
(173 intermediate revisions by 10 users not shown)
Line 1: Line 1:
= Critical Notes =
+
{{Related|Firmware}}
Quartus II 8.0 and 8.0 + sp1 are notorious for generating .pof files that seem to program the configuration device, but do not work after a power-cycle. When generating .pof files, do not used these versions of Quartus II. Instead, use Quartus II 7.2, or 6.1, or older.  A diff between .pof files generated with Quartus II 8.0 sp1 and Quartus II 7.2 yields the following:
+
== 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 ]]
  
Compare: (<)C:\Documents and Settings\PHYSICS\Desktop\rc_v0400000c_15aug2008_q72.pof (2097294 bytes)
+
See also:
    with: (>)C:\Documents and Settings\PHYSICS\Desktop\rc_v0400000c_15aug2008_q80.pof (2097309 bytes)
+
* [[Recommended firmware versions]]
1c1
 
< POF
 
---
 
> POF
 
6283c6283
 
<
 
---
 
>
 
  
Always cleanly reset the MCE after a power-up or a reconfiguration!  If you do not, MCE communication with the PC or Sync Box may not work. 
+
== Loading firmware onto cards ==
> mce_reset_clean
 
  
Note that after a reset, not all of the DAC outputs are reset to zero.  In addition, values written to RAM-based registers are not reset. To reset these registers, a full reconfiguration is required.
+
There are two ways to load MCE firmware:
> rs psc cycle_pow 1
+
# [[ Remote Firmware Update | Remote firmware update over the MCE fibre interface]]
> mce_reset_clean
+
# Using Altera-supplied Hardware/Software and MCE Front-panel Connector
 +
#* [[ USB Blaster | step-by-step instructions ]]
  
= MCE Firmware Releases =
+
Things to bear in mind:
You can download all the MCE firmware configuration files [http://www.phas.ubc.ca/~mce/mcedocs/firmware/ here].  Information on the firmware for each card can be found through the links below:
+
* 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.
* [[ Clock Card (CC) ]]
+
* 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'''''
* [[ Readout Card (RC) ]]
 
* [[ Bias Card (BC) ]]
 
* [[ Address Card (AC) ]]
 
* [[ Power-Supply Unit Controller (PSUC) ]]
 
  
= MCE Features and How-To Guides =
+
== Implementation Details ==
* [[ Data mode | Readout Card Data Modes ]]
 
* [[ Digital 4-pole Butterworth Low-pass filter ]]
 
* [[ Flux jumping ]]
 
* [[ Raw-mode readout ]]
 
* [[ High rate acquisition ]]
 
* [[ Fast SQ2 Feedback and TES Biasing with an Address Card ]]
 
* [[ The STOP Command ]]
 
  
= MCE Firmware Bugs/ Features Under Development =
+
* Source on GitHub: https://github.com/multi-channel-electronics/mce_firmware
* [[ MCE bugs ]]
+
* [[ MCE Timing Diagram ]]
* [[ Firmware Features Under Development ]]
+
* [[MCE fibre protocol]] - communication between the MCE and the controlling PC over the fibre-optic link
* [http://e-mode.phas.ubc.ca/mcebugzilla Bugzilla]
+
* [[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]]
  
= Hardware Peripherals =
+
== Firmware Development Tools ==
* [[ 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 Testing =
+
[[Category:Firmware]]
* [[ MCE RTL Testbenches ]]
 
* [[ MCE Test Scripts ]]
 
* [[ MAS Cheat Sheet ]]
 
* [[ Using Python to Automate MAS ]]
 
* [[ MCE: Helper programs ]]
 

Latest revision as of 14:29, 31 January 2025

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