Mu2e / otsdaq_mu2e

Mu2e customizations for otsdaq
Other
1 stars 5 forks source link

C++ interface to the DTC PCIE driver : no backward compatibility ? #49

Closed pavel1murat closed 9 months ago

pavel1murat commented 9 months ago

I'm trying to use mu2e_pcie_utils tag=bd474a8f1c2d004a05db0a6e1bb37a4c1a672f2b (from Oct 30) with the PCIE driver v2_04_01

I'm not using block read operations. Complaints are OK, exceptions - are not: I need to use this particular combination of the C++ code and the kernel driver.

Would it be possible to restore backward compatibility?

-- thanks, Pasha

The DTC Firmware version string is: v4.1cfo-link: 4G, roc-links: 4G_Sep/02/2023 11:00   raw-data: 0x23090211
%MSG
%MSG-e mu2edev:  Early 18-Nov-2023 15:58:33 CST pre-events mu2edev.cpp:403
DTC1 - HW_NOT_READING_BUFS
%MSG
HW_NOT_READING_BUFS: File exists
%MSG-e DTC.cpp:  Early 18-Nov-2023 15:58:36 CST pre-events DTC.cpp:1250
DTC DTC1: WriteDataPacket: write_data returned -1, throwing DTC_IOErrorException!
%MSG
%MSG-e ExceptionHandler:  Early 18-Nov-2023 15:58:36 CST pre-events ExceptionHandler.cc:44
Exception caught in artdaqDriver
%MSG
%MSG-e ExceptionHandler:  Early 18-Nov-2023 15:58:36 CST pre-events ExceptionHandler.cc:76
std::exception caught: DTCIOErrorException: Unable to communicate with the DTC: Error Code: -1
%MSG
pavel1murat commented 9 months ago

I might've been too fast concluding, there are seem to be other effects to be understood before sensible diagnosis can be made.

close for now.