From 585ecf2a84d7394e7aea0cd7c6aab9aecec9ef05 Mon Sep 17 00:00:00 2001 From: Marc Majoral Date: Tue, 16 Apr 2019 09:50:12 +0200 Subject: [PATCH] removed the activation of the flag that causes the tracking HW accelerators to trigger an interrupt upon reset. --- src/algorithms/tracking/libs/fpga_multicorrelator.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/algorithms/tracking/libs/fpga_multicorrelator.cc b/src/algorithms/tracking/libs/fpga_multicorrelator.cc index 92e9fb00d..e1c9dc4b3 100644 --- a/src/algorithms/tracking/libs/fpga_multicorrelator.cc +++ b/src/algorithms/tracking/libs/fpga_multicorrelator.cc @@ -58,8 +58,8 @@ #define LOCAL_CODE_FPGA_CLEAR_ADDRESS_COUNTER 0x10000000 #define LOCAL_CODE_FPGA_ENABLE_WRITE_MEMORY 0x0C000000 #define TEST_REGISTER_TRACK_WRITEVAL 0x55AA -#define ENABLE_TRK_INT_ON_RESET 1 /* flag that causes the tracking HW accelerator to trigger an interrupt when it is reset. It is used \ - to avoid a potential deadlock caused by the SW waiting for an interrupt from the FPGA when the HW is reset */ +//#define ENABLE_TRK_INT_ON_RESET 1 /* flag that causes the tracking HW accelerator to trigger an interrupt when it is reset. It is used \ +// to avoid a potential deadlock caused by the SW waiting for an interrupt from the FPGA when the HW is reset */ #ifndef TEMP_FAILURE_RETRY #define TEMP_FAILURE_RETRY(exp) \ ({ \ @@ -284,7 +284,7 @@ void Fpga_Multicorrelator_8sc::set_channel(uint32_t channel) LOG(INFO) << "Test register sanity check success !"; } - d_map_base[INT_ON_RST_REG_ADDR] = ENABLE_TRK_INT_ON_RESET; // enable interrupts on reset to prevent deadlock + //d_map_base[INT_ON_RST_REG_ADDR] = ENABLE_TRK_INT_ON_RESET; // enable interrupts on reset to prevent deadlock // enable interrupts int32_t reenable = 1;