Image

The DT5550 and DT5550W, from Sci-Compiler 2021.3.1 have now Linux (ubuntu 18.04 ore greater) Linux support.

In order to compile a firmware working on Linux, you must compile the firmware using the new FPGA USB3 core, that introduce innovative elements those grants the compatibility with Linux OS and increase the stability of the link in both Linux and Windows.

The new core is not supported in the SciDigitizer and DT5550w readout software indeed you can use just with your custom application. The standard software SciDigitizer and DT5550W readout software can only run in Windows at the moment.

In order to compiler with the new core, open the Sci-Compiler project options and click on board configuration

Image

and select under Board Configuration the Linux Compatible core.

Image

Once you have compiler the firmware have a look to the library folder in your project folder.

Enter in library/C/lib.

Here you will find a Makefile and a Readme.md

First of all you need to download the library niusb from github and compile for your system.

  1. Download the niusb library from github: https://github.com/NuclearInstruments/DT5550Wgcc

  2. Make the library niusb library

make clean && make
sudo make install

At this point you can compile the library generated by Sci-Compiler by just type make in library/C/lib.

Pay attention that for some component Sci-Compiler (for example for the Custom Packet) requires that you edit the code of the library in order to be able to use the code.

The result of the make will be a compiled file in the sub-folder gcc.