From c1d28e47d4c8061bacb05521eadd81938f005966 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 2 Sep 2021 15:52:52 +0200 Subject: [PATCH] wip --- .../slsDetectorServer/src/slsDetectorServer_funcs.c | 2 ++ slsDetectorSoftware/src/Module.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c index d64769914..27a5a247d 100644 --- a/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c +++ b/slsDetectorServers/slsDetectorServer/src/slsDetectorServer_funcs.c @@ -3744,9 +3744,11 @@ int program_fpga(int file_des) { printSocketReadError(); clientSocketCrash = 1; ret = FAIL; + LOG(logERROR, ("error, not receiverd\n")); } // client has not crashed yet, so write to flash and send ret else { + LOG(logINFOBLUE, ("receiverd\n")); offset += unitprogramsize; Server_SendResult(file_des, INT32, NULL, 0); diff --git a/slsDetectorSoftware/src/Module.cpp b/slsDetectorSoftware/src/Module.cpp index 9a1081e3d..94eedad01 100644 --- a/slsDetectorSoftware/src/Module.cpp +++ b/slsDetectorSoftware/src/Module.cpp @@ -3434,6 +3434,7 @@ void Module::programFPGAviaBlackfin(std::vector buffer) { << "\t filesize:" << filesize; client.Send(&buffer[currentPointer], unitprogramsize); + LOG(logINFOBLUE) << "sent!"; if (client.Receive() == FAIL) { std::cout << '\n'; std::ostringstream os;