R5560SE-B MCA Firmware
Default multichannel analyser (MCA) FPGA firmware for the DAQ boards of variant B (Zynq 7035) of the R5560SE rack digitizer. It turns each DAQ board into a 32-channel pulse-height analyser with digital pulse processing, counters and per-channel oscilloscopes. The firmware is published as a .niu firmware package (bitstream, register map and metadata) that you install on one or all DAQ boards from the web dashboard. It is the same firmware that ships with the production image and the update packet of the R5560SE-B DAQ board: use this package to install, restore or change a specific firmware release.
Compatibility
| Product | Board | Variant | Device | Operating system |
|---|---|---|---|---|
| R5560SE | DAQ board (slot 0..3) | B | Zynq 7035 (xc7z035ffg676-2) | PetaLinux 2019.2 DAQ image (r5560se-b-daq-image) |
The package declares platform GUID C75E5DBB-6827-46A2-88BB-DBF38A36AAD7 and model B in its content.xml. The board checks both values when you upload the file and refuses a package made for another product or variant.
Not for: R5560SE-A (use r5560se-a-mca-firmware), the R5560SE base controller board and the MAX10 analog front-end FPGAs (they have their own firmware), R5560 and DT5560 (different platform GUID).
What's in this package
| Artifact | File | OS / architecture | Visibility |
|---|---|---|---|
r5560se-b-mca-firmware-niu | r5560se-b-mca-<version>.niu | linux-zynq / armhf | public |
r5560se-b-mca-firmware-bit | r5560se-b-mca-<version>.bit | linux-zynq / armhf | internal |
r5560se-b-mca-firmware-bin | r5560se-b-mca-<version>.bin | linux-zynq / armhf | internal |
r5560se-b-mca-firmware-xsa | r5560se-b-mca-<version>.xsa | linux-zynq / armhf | internal |
<version> is the release version, for example 2026.10.11.00. The .niu file is the one to download and install. The .bit (bitstream), .bin (raw bitstream) and .xsa (Vivado hardware platform with the bitstream) files are development outputs of the same build and are not needed to use the instrument.
The .niu file is a zip archive with three files:
| File | Content |
|---|---|
mcafwnew.fpga | the FPGA bitstream in the format loaded by the board at run time |
RegisterFile.json | the register map of this bitstream: names, addresses and types of every register and component |
content.xml | supported platform (GUID C75E5DBB-6827-46A2-88BB-DBF38A36AAD7, model B), firmware version, names of the bitstream and register map files |
Register map
RegisterFile.json (device R5560SE, project mcafwnew) describes a 32-channel design:
| Group | Registers / components |
|---|---|
Per-channel settings (<NAME>_0 .. <NAME>_31) | POL, OFS, GAIN, THR, K, M, TRAP_K, TRAP_M, DECONV, BL_LEN, BL_INIB, SAMPLE, RUN |
| Global settings | EXTTRGSEL, EXT_DELAY, EXT_WIDTH, GATE_SEL, GATE_DELAY, GATE_WIDTH, ENABLE_TS_RESET_EXT, MSRUN, LATCHCOUNT, SCOPE_SEL |
| Multichannel registers (32 channels) | ICC, OCC (counters), TR_GAIN (trapezoidal trigger gain) |
| Oscilloscopes | Oscilloscope_0 .. Oscilloscope_31, one per channel, 1024 samples, 1 analog and 4 digital inputs each |
| Custom packet | CP_0, 16384-word buffer |
The register map is what the software uses to address the firmware: the SDK (libr5560) receives the RegisterFile.json of the active firmware from the board through nibridge, and Resource Explorer uses it to show and edit the registers. You can also download it from the Device Status page (Download register file).
How to install
The firmware is installed from the Firmware page of the x5560 web dashboard. Uploading and installing a firmware is allowed to any logged-in user; rebooting and deleting firmware files require the administrator account (root).
On a single DAQ board
- Download the
.niufile of the release you want from this page. - Open the dashboard of the DAQ board: from the Rack page of the base dashboard, or directly at
http://<daq-ip>/orhttps://<daq-ip>/. Log in. - Open Firmware. In Upload firmware to this board, choose the
.niufile or drop it on the page. Optionally tick Install immediately after the upload. Click Upload. - The board validates the package (model and product GUID). A package for another product or variant is refused with "The package is not valid for this board".
- In Manage firmware, click Install on the uploaded file and confirm.
- The page shows "Reboot this board to load the new firmware." Reboot the DAQ: Reboot on the DAQ dashboard, Reboot daqN on the base dashboard, or a power cycle.
From the base, on one or all DAQ boards
- Open the dashboard of the base controller board at
http://<base-ip>/orhttps://<base-ip>/and log in (on a rack the login is valid on all boards). - Open Firmware and choose the Target: one DAQ board, or All DAQs.
- Upload the
.niufile. With All DAQs the base sends the file to every installed DAQ board, using the fastest route of each board (Ethernet, otherwise the slower internal serial link). - Click Install (for one DAQ) or Install on all DAQs. With all DAQs, the table Installation result per DAQ shows the outcome for each slot.
- Reboot the DAQ boards (Reboot daqN on the base dashboard, or a power cycle of the rack).
Notes on the firmware files stored on the board:
- Firmware files are kept in
/mnt/sdcard/user_firmware. The stored name is reduced to the charactersA-Z a-z 0-9 _ . -, at most 29 characters, ending in.NIU; uploading a file with an existing name asks before overwriting it. - The production image stores this firmware as
mcasc.niu; the update packet installs it asMCA.niu. - The firmware marked
defaultcannot be deleted. Files can be deleted only by the administrator. - Tools that upload firmware without logging in can use the update token that the administrator copies from the Security page.
Check the active firmware
- Device Status shows FPGA firmware, Firmware version and Firmware build of the firmware running now.
- Firmware shows Active firmware with its version, and the
activebadge on the file in use; the version column of each file is the release version written in itscontent.xml. - If Device Status shows DEFAULT FIRMWARE LOADED, the last installed firmware was not compatible with the device and the default firmware was loaded instead.
- On the base, Firmware with target All DAQs lists the firmware files of every DAQ board.
Requirements
- An R5560SE DAQ board of variant B running an operating system image with the x5560 web dashboard (
r5560se-b-daq-image, or updated withr5560se-b-daq-update-packet). - A PC on the same network as the instrument, with a current web browser. The instrument itself does not need Internet access.
- An account on the dashboard. Both accounts (
user,root) ship with the factory default password, and the dashboard forces a password change at the first login.
Versioning and releases
- Releases are tagged with a date-based version
YYYY.MM.DD.NN, for example2026.10.11.00. - The version is part of the file name (
r5560se-b-mca-<version>.niu) and is written in thecontent.xmlof the package, so it appears in the version column of the Firmware page. - The changelog (
CHANGELOG.md) is shown on this portal with each release. - Release channel on this portal: stable.
Related packages
| Package | Relation |
|---|---|
r5560se-b-daq-image | production image of the R5560SE-B DAQ board; includes this firmware |
r5560se-b-daq-update-packet | update packet of the R5560SE-B DAQ board; includes this firmware and installs it as MCA.niu |
r5560se-a-mca-firmware | the same firmware for R5560SE variant A |
x5560-dashboard-backend, x5560-dashboard-frontend | the web dashboard with the Firmware page |
nibridge | the board service that gives the SDK access to the firmware registers and its register map |
libr5560 | the SDK library that reads RegisterFile.json to address the firmware |
Known limitations and notes
- A new firmware is loaded only after a reboot of the board.
- The package is accepted only by boards with the same platform GUID and model; it cannot be installed on another product or variant.
- The
FPGAfield insideRegisterFile.jsonreadsxc7z030fbg676-2although the bitstream is built forxc7z035ffg676-2: the field is informational only and does not affect register addresses.
Source and support
- Development repository: https://gitlab.lanni/nuclear-instruments/prodotti/x5560/fw-sw/r5560se/r5560se-b-mca-firmware
- For support contact Nuclear Instruments / CAEN support.
R5560SE-B MCA Firmware
Multichannel analyser FPGA firmware for the R5560SE-B DAQ board (Zynq 7035), built with Vivado 2020.2. Published as a .niu package (bitstream, register map, metadata) loadable from the dashboard.
License:
Trending Products
Sci-Compiler
FPGA firmware generation tool for scientific instrumentation and data acquisition.
DAQ121
High-performance, fully integrated digitizer developed by Nuclear Instruments for advanced SiPM-based muon detection systems.
DT5571
High-performance waveform digitizer featuring 14-bit resolution and a 200 MS/s sampling rate on a single analog input.
