Occurence
Description
After a "fresh" reset of the
BCU the initialization goes smooth. A second initialization hangs the
BCU, and a hard reset (red button on the
BCU) may be needed. This was first noticed when a big number of subapertures were used as in subaperture set 20131112_182400 that contains XX subaps.
A workaround that sometimes work is to reconfigure the
BCU with the "minimal" set: the
BCU re-start and the next re-configuration with 20131112_182400 is OK.
Here follows the log of the controller when a re-configuration with subapertures 20131112_182400 is attempted:
2013-11-14 18:59:24.797358 NOTICE LGSWCtrl sx-lgsw:13199.7f3f6563e700 nobody Nice/Property/CmdSequencer.cc:43 static void Nice::CmdSequencer::logToTaNSystem(int, const std::string&, int) [FSM: Configuring 'SlopeComputerDevice' with subapertures 20131112_182400]
Traceback (most recent call last):
File "/home/argos/nfs/apps/lib/python/site-packages/argos/util/decorator.py", line 94, in wrappedMethod
result= f(self, *args, **kwargs)
File "/home/argos/nfs/apps/lib/python/site-packages/argos/lgsw/state_machine.py", line 247, in _enter_SETTING_UP
sc.setSubapertures(subaperturesDefinitionTag)
File "/home/argos/nfs/apps/lib/python/site-packages/argos/lgsw/device/slope_computer_device.py", line 90, in setSubapertures
self.configure()
File "/home/argos/nfs/apps/lib/python/site-packages/argos/lgsw/device/slope_computer_device.py", line 28, in wrappedMethod
result= f(self, *args, **kwargs)
File "/home/argos/nfs/apps/lib/python/site-packages/argos/lgsw/device/slope_computer_device.py", line 69, in configure
self._bcuConfigurator.configure()
File "/home/argos/nfs/apps/lib/python/site-packages/argos/lgsw/device/bcu_sc_configurator.py", line 52, in configure
self.configureDsp16do()
File "/home/argos/nfs/apps/lib/python/site-packages/argos/lgsw/device/bcu_sc_configurator.py", line 1338, in configureDsp16do
bcu.getDSP16DODSPProgramPath())
File "/home/argos/nfs/apps/lib/python/site-packages/argos/lgsw/device/bcu_device.py", line 263, in uploadDspCode
self._bcu.uploadDspCode(firstDsp, lastDsp, programPathOnServer)
BcuServiceException: argos::BcuServiceException: BcuException: BCU replies that the following write command failed: [Opcode=0 first DSP=0 last DSP=1 address=0x80000 MGP payload length (DWORD)=364]. Reply: [opCode=202,dataLengthInDword=0,messageId=42,memoryAddress=0].
2013-11-14 18:59:26.989988 ERROR LGSWCtrl sx-lgsw:13199.7f3f6563e700 nobody Nice/Property/CmdSequencer.cc:37 static void Nice::CmdSequencer::logToTaNSystem(int, const std::string&, int) [FSM: Failed to perform actions in SETTING_UP to reach SET_UP: argos::BcuServiceException: BcuException: BCU replies that the following write command failed: [Opcode=0 first DSP=0 last DSP=1 address=0x80000 MGP payload length (DWORD)=364]. Reply: [opCode=202,dataLengthInDword=0,messageId=42,memoryAddress=0].]
2013-11-14 18:59:26.990083 NOTICE LGSWCtrl sx-lgsw:13199.7f3f6563e700 nobody Nice/Property/CmdSequencer.cc:43 static void Nice::CmdSequencer::logToTaNSystem(int, const std::string&, int) [FSM: Going from SETTING_UP to POWERED_UP]
2013-11-14 18:59:26.994520 ERROR LGSWCtrl sx-lgsw:13199.7f3f7f16a700 nobody Nice/Property/CmdSequencer.cc:37 static void Nice::CmdSequencer::logToTaNSystem(int, const std::string&, int) [operator log: Detected unreachable devices: ['SX_BCU']]
2013-11-14 18:59:26.994600 NOTICE LGSWCtrl sx-lgsw:13199.7f3f7f16a700 nobody Nice/Property/CmdSequencer.cc:43 static void Nice::CmdSequencer::logToTaNSystem(int, const std::string&, int) [FSM: Going from POWERED_UP to DEVICE_ERROR]
2013-11-14 18:59:27.098333 ERROR LGSWCtrl sx-lgsw:13199.7f3f7f16a700 nobody Nice/Property/CmdSequencer.cc:37 static void Nice::CmdSequencer::logToTaNSystem(int, const std::string&, int) [operator log: Detected unreachable devices: ['SX_BCU']]
2013-11-14 18:59:27.306356 NOTICE LGSWCtrl sx-lgsw:13199.7f3f7f16a700 nobody Nice/Property/CmdSequencer.cc:43 static void Nice::CmdSequencer::logToTaNSystem(int, const std::string&, int) [operator log: All devices are reachable]