rebootcontroller after updating kernel

This commit is contained in:
maliakal_d committed 2021-11-09 16:19:53 +01:00
1 parent 1e134276ca
commit 14ee2087dc
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2166,7 +2166,7 @@ void Detector::updateKernel(const std::string &fname, Positions pos) {
LOG(logINFO) << "Updating Kernel...";
std::vector<char> buffer = readBinaryFile(fname, "Update Kernel");
pimpl->Parallel(&Module::updateKernel, pos, buffer);
//rebootController(pos);
rebootController(pos);
}
void Detector::rebootController(Positions pos) {
+1 -1
View File
@@ -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