Commit a27a5a37 authored by Sarah Seif El Nasr's avatar Sarah Seif El Nasr
Browse files

DEBUG - tryinng to fix page..

parent 361c4507
...@@ -89,6 +89,7 @@ void RegisterTester::RegisterTest() ...@@ -89,6 +89,7 @@ void RegisterTester::RegisterTest()
} // board loop to save record of registers } // board loop to save record of registers
// so here .. I need to send a hard reset to the ROCs // so here .. I need to send a hard reset to the ROCs
LOG(INFO) << BOLDMAGENTA << "Sending hard reste to ROCs..." << RESET;
for(auto cBoard: *fDetectorContainer) for(auto cBoard: *fDetectorContainer)
{ {
auto cWithLpGBT = fReadoutChipInterface->lpGBTCheck(cBoard); auto cWithLpGBT = fReadoutChipInterface->lpGBTCheck(cBoard);
...@@ -117,6 +118,7 @@ void RegisterTester::RegisterTest() ...@@ -117,6 +118,7 @@ void RegisterTester::RegisterTest()
} // board loop to send hard reset } // board loop to send hard reset
// reset page map // reset page map
LOG(INFO) << BOLDMAGENTA << "Resetting page map ..." << RESET;
for(auto cBoard: *fDetectorContainer) for(auto cBoard: *fDetectorContainer)
{ {
for(auto cOpticalGroup: *cBoard) for(auto cOpticalGroup: *cBoard)
...@@ -133,6 +135,7 @@ void RegisterTester::RegisterTest() ...@@ -133,6 +135,7 @@ void RegisterTester::RegisterTest()
} }
// container to store default register values after a hard reset // container to store default register values after a hard reset
LOG(INFO) << BOLDMAGENTA << "Reading back default register values after a hard reset ..." << RESET;
DetectorDataContainer cDefRegListContainer; DetectorDataContainer cDefRegListContainer;
ContainerFactory::copyAndInitChip<Registers>(*fDetectorContainer, cDefRegListContainer); ContainerFactory::copyAndInitChip<Registers>(*fDetectorContainer, cDefRegListContainer);
for(auto cBoard: *fDetectorContainer) for(auto cBoard: *fDetectorContainer)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment