mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
jungfrau server has same resetfpga, programfpga and debug mode as developer branch, eiger server has effects from debug flag, but not compiled
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
Path: slsDetectorsPackage/slsDetectorSoftware/jungfrauDetectorServer
|
||||
URL: origin git@git.psi.ch:sls_detectors_software/sls_detector_software.git
|
||||
Repository Root: origin git@git.psi.ch:sls_detectors_software/sls_detector_software.git
|
||||
Repsitory UUID: 3c1eb747d1930d6d38030a5a607f72d3b58a7a21
|
||||
Revision: 90
|
||||
Branch: 3.0
|
||||
URL: origin git@github.com:slsdetectorgroup/slsDetectorPackage.git
|
||||
Repository Root: origin git@github.com:slsdetectorgroup/slsDetectorPackage.git
|
||||
Repsitory UUID: 669033597145b4eae2e94f620a4dd50a2fa50231
|
||||
Revision: 95
|
||||
Branch: jungfrauchanges
|
||||
Last Changed Author: Dhanya_Maliakal
|
||||
Last Changed Rev: 1549
|
||||
Last Changed Date: 2017-10-25 16:48:35.000000002 +0200 ./RegisterDefs.h
|
||||
Last Changed Rev: 3331
|
||||
Last Changed Date: 2017-12-20 16:57:32.000000002 +0100 ./RegisterDefs.h
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define GITURL "git@git.psi.ch:sls_detectors_software/sls_detector_software.git"
|
||||
#define GITREPUUID "3c1eb747d1930d6d38030a5a607f72d3b58a7a21"
|
||||
#define GITURL "git@github.com:slsdetectorgroup/slsDetectorPackage.git"
|
||||
#define GITREPUUID "669033597145b4eae2e94f620a4dd50a2fa50231"
|
||||
#define GITAUTH "Dhanya_Maliakal"
|
||||
#define GITREV 0x1549
|
||||
#define GITDATE 0x20171025
|
||||
#define GITBRANCH "blabla"
|
||||
#define GITREV 0x3331
|
||||
#define GITDATE 0x20171220
|
||||
#define GITBRANCH "jungfrauchanges"
|
||||
|
@ -25,11 +25,17 @@ int32_t clkPhase[2] = {0, 0};
|
||||
|
||||
/* basic tests */
|
||||
|
||||
void checkFirmwareCompatibility() {
|
||||
void checkFirmwareCompatibility(int flag) {
|
||||
|
||||
defineGPIOpins();
|
||||
resetFPGA();
|
||||
if ((mapCSP0() == FAIL) || (checkType() == FAIL) || (testFpga() == FAIL) || (testBus() == FAIL)) {
|
||||
if (mapCSP0() == FAIL) {
|
||||
cprintf(BG_RED, "Dangerous to continue. Goodbye!\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
// does check only if flag is 0 (by default), set by command line
|
||||
if ((!flag) && ((checkType() == FAIL) || (testFpga() == FAIL) || (testBus() == FAIL))) {
|
||||
cprintf(BG_RED, "Dangerous to continue. Goodbye!\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
@ -254,7 +260,7 @@ u_int32_t getDetectorIP(){
|
||||
/* initialization */
|
||||
|
||||
void initControlServer(){
|
||||
|
||||
clkPhase[0] = 0; clkPhase[1] = 0;
|
||||
setupDetector();
|
||||
printf("\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user