jungfrau server: temporary fix made to reset core when stopping state machine. problem: stopping in trigger mode and then switching to auto mode blocks data streaming from detector

This commit is contained in:
maliakal_d 2021-07-14 15:28:09 +02:00
parent 8308d2833d
commit 016d0d7fac
2 changed files with 10 additions and 0 deletions

View File

@ -54,6 +54,14 @@ This document describes the differences between 5.2.0 and 5.1.0 releases.
Jungfrau Server
----------------
1. Stopping in trigger mode and then switching to auto timing mode
blocks data streaming from detector. Workaround fix made in
detector server to reset core until firmware release.
3. Firmware Requirements 3. Firmware Requirements

View File

@ -1832,6 +1832,8 @@ int stopStateMachine() {
bus_w(CONTROL_REG, bus_r(CONTROL_REG) & ~CONTROL_STOP_ACQ_MSK); bus_w(CONTROL_REG, bus_r(CONTROL_REG) & ~CONTROL_STOP_ACQ_MSK);
LOG(logINFO, ("Status Register: %08x\n", bus_r(STATUS_REG))); LOG(logINFO, ("Status Register: %08x\n", bus_r(STATUS_REG)));
resetCore();
return OK; return OK;
} }