Skip to content

Embedded system and network

The digitizer is a self-contained Linux computer (Zynq-7020, PetaLinux 2022.2, Linux 5.15). The operating system and the FPGA firmware are stored on the microSD card. Measurement functions are published on the network by the IIO daemon iiod on TCP port 30431.

Network identity

At every start the instrument names itself after the MAC address of its Ethernet port:

Example for MAC 00:1e:c0:ad:e4:c7
Hostname nucliflare-001ec0ade4c7
mDNS name nucliflare-001ec0ade4c7.local
IIO service _iio._tcp, port 30431, label iiod on nucliflare-001ec0ade4c7
libiio URI ip:nucliflare-001ec0ade4c7.local

The name does not depend on the microSD card or on the cable used. Discovery by name works on the local network segment when the computer supports mDNS (Windows 10/11, Linux with Avahi, macOS) and multicast is allowed. Across routers or VLANs use the IP address.

To set a different name, edit /etc/default/veramic-hostname on the instrument and reboot:

HOSTNAME_OVERRIDE="lab-detector-7"

Use 1 to 63 lowercase letters, digits or hyphens, starting and ending with a letter or digit, without .local. An empty value restores the automatic name.

Ethernet

The Ethernet port obtains its address by DHCP. Connect the cable before switching on. Your DHCP server or iio_info -s shows the address assigned; it usually stays the same across restarts.

USB network

The USB port (micro-USB next to the Ethernet socket) makes the instrument appear to the computer as a network adapter (RNDIS):

Instrument address 192.168.3.1
Addresses given to the computer 192.168.3.100 to 192.168.3.150 (DHCP)
libiio URI ip:192.168.3.1

The USB network is ready at start-up even without a cable; the cable can be connected and disconnected at any time. It provides a local connection to the instrument only, not Internet access. When several instruments are connected by USB to one computer, they share the same address; use Ethernet instead.

Service console

The micro-USB port marked serial is a serial console of the embedded Linux (USB to UART bridge Silicon Labs CP2102N). Open it with a terminal program (PuTTY, minicom, screen) at 115200 baud, 8N1:

screen /dev/ttyUSB0 115200     # Linux

On Windows, the port appears as COMx in the Device Manager; install the CP210x VCP driver if it does not.

Logging in

User Password Purpose
nucliflare nucliflare default user account, administration with sudo
ssh nucliflare@nucliflare-001ec0ade4c7.local
passwd                       # change the password after the first login

The SSH server (Dropbear) keeps a stable host key, so the key fingerprint stays the same after a system-image update.

Warning

Change the default password before connecting the instrument to a shared network.

System image and updates

The microSD card holds the complete system: boot files and FPGA bitstream on a FAT32 partition, and the Linux root file system on an ext4 partition.

Current image
File digitizer2ch_v.2.1.0.img.xz (compressed raw SD card image)
Checksum digitizer2ch_v.2.1.0.img.xz.sha256
Version 2.1.0, 9 November 2026
Card microSD, 8 GB or more (the image occupies 5.4 GB)

Warning

Writing an image replaces the whole card, including recordings and settings stored on the instrument. Copy them to the computer first.

Writing the card with Raspberry Pi Imager

Raspberry Pi Imager (Windows, macOS, Linux) writes the compressed image directly; it does not need to be unpacked.

  1. Switch the instrument off and remove the microSD card. Insert it into the computer's card reader.
  2. Start Raspberry Pi Imager.
  3. Device: choose No filtering (or skip this step).
  4. Operating system: scroll to the end of the list and choose Use custom, then select digitizer2ch_v.2.1.0.img.xz.
  5. Storage: select the microSD card. Check its size so that you do not overwrite another disk.
  6. Click Next. When asked whether to apply OS customisation settings, choose No — they apply only to Raspberry Pi OS.
  7. Confirm with Yes. Imager writes and verifies the card.
  8. Insert the card into the instrument and switch it on. Reconnect from nlab and check Help → About for the new firmware details.

Other methods

  • balenaEtcher: Flash from file → select the .img.xz file → select the card → Flash.
  • Linux command line: verify the checksum, identify the card with lsblk, unmount its partitions and write the whole device:

    sha256sum -c digitizer2ch_v.2.1.0.img.xz.sha256
    xzcat digitizer2ch_v.2.1.0.img.xz | sudo dd of=/dev/SD_CARD_DEVICE bs=4M status=progress conv=fsync
    

The instrument name, MAC address and HV calibration are stored on the boards, not on the card, so they are preserved.

On-board software

The system includes Python 3 with NumPy, SciPy and pandas, libiio and its command-line tools, ser2net for the RS-485 Modbus gateway (TCP ports 5001 and 5002), NTP time synchronization and build tools, so measurement scripts can also run directly on the instrument.