Difference between revisions of "MCE firmware"

From MCEWiki
(MCE Firmware Releases)
Line 10: Line 10:
 
  > mce_reset_clean
 
  > mce_reset_clean
  
* [[Quartus 8.0 .pof Generation Bug]]
+
= Releases =
 
+
All firmware can be downloaded [http://www.phas.ubc.ca/~mce/mcedocs/firmware/ here]
= MCE Firmware Releases =
+
Release notes for each firmware release can be found below:
 
* [[ Clock Card (CC) ]]
 
* [[ Clock Card (CC) ]]
 
* [[ Readout Card (RC) | Readout Card (RC) Rev. A/B]] (Stratix I)
 
* [[ Readout Card (RC) | Readout Card (RC) Rev. A/B]] (Stratix I)
Line 22: Line 22:
 
* [[ Sync Box Firmware ]]
 
* [[ Sync Box Firmware ]]
  
 +
* [[ Compatible Versions (CC,RC,BC,AC) ]].  (Lists of versions of firmware to use together.)
  
Firmware Downloads and .Jam-File Generation
+
= Firmware Upgrade Methods =
* [[ Compatible Versions (CC,RC,BC,AC) ]].  (Lists of versions of firmware to use together.)
+
* Using Altera supplied Hardware/Software
* [http://www.phas.ubc.ca/~mce/mcedocs/firmware/ MCE Firmware Downloads]
+
** [[ USB Blaster ]]
* [[ Generating .JAM Files For Remote Update ]]
+
** [[ Quartus II Installation ]]
 +
** [[ Using Ethernet Blaster | Ethernet Blaster ]]
 +
* Remote firmware update over the MCE fibre interface
 +
** Firmware Downloads and .Jam-File Generation
 +
** [[ Generating .JAM Files For Remote Update ]]
 
** [[ Sof2jam ]]  (bash script)
 
** [[ Sof2jam ]]  (bash script)
 
** [[ Generating .Jam-Files Manually ]]
 
** [[ Generating .Jam-Files Manually ]]
 +
 +
= CVS Repository =
 +
* Ask the "MCE team at UBC" for a username/password to be able to access the repository
 +
* Install a CVS client ( e.g. http://www.tortoisecvs.org/ )
 +
* CVS server info is:
 +
**server: e-mode.phas.ubc.ca
 +
**repository folder:/home/cvsroot/mce
 +
**module name: mce
 +
**protocol: pserver
  
 
= MCE Features and How-To Guides =
 
= MCE Features and How-To Guides =
Line 59: Line 73:
 
*** [[ Temperature monitoring ]]
 
*** [[ Temperature monitoring ]]
  
= MCE Firmware Bugs/ Features Under Development =
+
MCE Firmware Bugs/ Features Under Development has been moved to the [http://e-mode.phas.ubc.ca/intmcewiki/index.php/MCE_bugs Internal MCE Wiki Bug List].
* 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 =
 
* [[ Using Ethernet Blaster | Ethernet Blaster ]]
 
* [[ USB Blaster ]]
 
* [[ Sync Box ]]
 
  
= Software Tools =
+
= Development Tools =
 
* [[ Quartus II Installation ]]
 
* [[ Quartus II Installation ]]
 
* [[ ModelSim SE Installation ]] (from scratch)
 
* [[ ModelSim SE Installation ]] (from scratch)
Line 85: Line 93:
  
 
= MCE Scripting =
 
= MCE Scripting =
 +
* [[ http://e-mode.phas.ubc.ca/mcewiki/index.php/MAS MAS ]]
 
* [[ MAS Cheat Sheet ]]
 
* [[ MAS Cheat Sheet ]]
 
* [[ Using Python to Automate MAS ]]
 
* [[ Using Python to Automate MAS ]]
 
* [[ MCE: Helper programs ]]
 
* [[ MCE: Helper programs ]]

Revision as of 15:40, 14 September 2010

Critical Notes

  • 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.
  • 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.
> 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:
> rs psc cycle_pow 1
> mce_reset_clean

Releases

All firmware can be downloaded here Release notes for each firmware release can be found below:

Firmware Upgrade Methods

CVS Repository

  • Ask the "MCE team at UBC" for a username/password to be able to access the repository
  • Install a CVS client ( e.g. http://www.tortoisecvs.org/ )
  • CVS server info is:
    • server: e-mode.phas.ubc.ca
    • repository folder:/home/cvsroot/mce
    • module name: mce
    • protocol: pserver

MCE Features and How-To Guides

MCE Firmware Bugs/ Features Under Development has been moved to the Internal MCE Wiki Bug List.

Development Tools

  • SVN links (We decided (sadly) NOT to migrate from CVS to SVN, if we ever do here is some information:)
SVN Manual
Accessing the SVN Repository
SVN Commit Guidelines
SVN Basic Operations
Tagging
Merging
Branching
Resurrecting Deleted Items

MCE Scripting