Difference between revisions of "MCE firmware"
From MCEWiki
 (→Firmware Development Tools)  | 
				|||
| (60 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | =   | + | {{Related|Firmware}}  | 
| − | + | == Releases ==  | |
| + | Bitstream for all FPGA firmware revisions can be downloaded from [http://e-mode.phas.ubc.ca/mce/firmware/ http://e-mode.phas.ubc.ca/mce/firmware/].    | ||
| − | + | Source code for FPGA firmware and else available here https://github.com/multi-channel-electronics/mce_firmware  | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Release notes for each firmware release can be found below:  | Release notes for each firmware release can be found below:  | ||
| − | * [[ Clock Card   | + | * [[ Clock Card firmware]]  | 
| − | * [[ Readout Card   | + | * [[ Readout Card firmware]]  | 
| − | + | * [[ Bias Card firmware]]  | |
| − | * [[ Bias Card   | + | * [[ Address Card firmware]]  | 
| − | * [[ Address Card   | + | * [[ PCI card firmware ]]  | 
| − | |||
| − | * [[   | ||
* [[ Sync Box Firmware ]]  | * [[ Sync Box Firmware ]]  | ||
| − | * [[   | + | See also:  | 
| + | * [[Recommended firmware versions]]  | ||
| − | =   | + | == Loading firmware onto cards ==  | 
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | There are two ways to load MCE firmware:   | |
| − | + | # [[ 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 ]]  | 
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | 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 ==  | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | *   | + | * Source on GitHub: https://github.com/multi-channel-electronics/mce_firmware  | 
| − | + | * [[ 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]]  | |
| − | |||
| − | + | == Firmware Development Tools ==  | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | = Firmware Development Tools =  | ||
* [[ Quartus II Installation ]]  | * [[ Quartus II Installation ]]  | ||
* [[ ModelSim SE Installation ]]  | * [[ ModelSim SE Installation ]]  | ||
| − | *   | + | ** [[ Setting up Altera libraries in ModelSim SE ]]  | 
| − | * [[  | ||
* [[ JAM Player ]]  | * [[ JAM Player ]]  | ||
| − | * [[   | + | * [[ Convert sof to jic for EPCS64 Serial Configuration Device ]]  | 
| + | |||
| + | == Development notes ==  | ||
| + | * [[intmce:MCE bugs]]  | ||
| + | * [[intmce:Firmware Features Under Development]]  | ||
| + | * [[intmce:Closed firmware features]]  | ||
| − | + | [[Category:Firmware]]  | |
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 08:52, 8 April 2025
Related topics:
		Contents
Releases
Bitstream for all FPGA firmware revisions can be downloaded from http://e-mode.phas.ubc.ca/mce/firmware/.
Source code for FPGA firmware and else available here https://github.com/multi-channel-electronics/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
 
See also:
Loading firmware onto cards
There are two ways to load MCE firmware:
- Remote firmware update over the MCE fibre interface
 - 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
- Source on GitHub: https://github.com/multi-channel-electronics/mce_firmware
 - 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 [DOC] (Nov. 9, 2006)
 - MCE commands
 
Firmware Development Tools
- Quartus II Installation
 - ModelSim SE Installation
 - JAM Player
 - Convert sof to jic for EPCS64 Serial Configuration Device