From 14ee2087dc30fbca3c00e8819f5c98d89735576a Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Tue, 9 Nov 2021 16:19:53 +0100 Subject: [PATCH] rebootcontroller after updating kernel --- slsDetectorSoftware/src/Detector.cpp | 2 +- slsDetectorSoftware/src/Module.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/src/Detector.cpp b/slsDetectorSoftware/src/Detector.cpp index 9023d21c8..b02b0a398 100644 --- a/slsDetectorSoftware/src/Detector.cpp +++ b/slsDetectorSoftware/src/Detector.cpp @@ -2166,7 +2166,7 @@ void Detector::updateKernel(const std::string &fname, Positions pos) { LOG(logINFO) << "Updating Kernel..."; std::vector buffer = readBinaryFile(fname, "Update Kernel"); pimpl->Parallel(&Module::updateKernel, pos, buffer); - //rebootController(pos); + rebootController(pos); } void Detector::rebootController(Positions pos) { diff --git a/slsDetectorSoftware/src/Module.h b/slsDetectorSoftware/src/Module.h index 06c3700b0..a84319f3e 100644 --- a/slsDetectorSoftware/src/Module.h +++ b/slsDetectorSoftware/src/Module.h @@ -760,7 +760,7 @@ class Module : public virtual slsDetectorDefs { static const int NIOS_ERASE_FLASH_TIME_FPGA = 10; static const int NIOS_WRITE_TO_FLASH_TIME_FPGA = 45; static const int NIOS_ERASE_FLASH_TIME_KERNEL = 9; - static const int NIOS_WRITE_TO_FLASH_TIME_KERNEL = 39; + static const int NIOS_WRITE_TO_FLASH_TIME_KERNEL = 40; }; } // namespace sls \ No newline at end of file