Occurence

When notes
20130820  

Description

We got an error with opcode 202 on BcuNumber3 when writing into DSP memory during frame grabbing.

This could be related to the fact that the bus is busy in transferring the frame.

The occurence is high: one every few (2-3) attempts we got the error.

Disabling the ADCClocing before the write operation seems fixing the problem:
lgsw.wfscamera.deactivateADCClocking(); 
lgsw.controllerClient.setDarkFrameTag('zeros');
lgsw.wfscamera.activateADCClocking()

The BcuNumber2 does NOT show a similar behaviour and it has a different firmware versions (11.67 and 8.44)

On basdard log:
2013-08-20 12:00:35.591943 NOTICE:LGSWCtrl [Got update for dark frame: zeros]
2013-08-20 12:00:36.075902 ERROR:LGSWCtrl [argos::BcuServiceException: Nice::Exception:BCU replies that the following write command failed: [Opcode=0 first DSP=1 last DSP=1 address=0xd2aa8 MGP payload length (DWORD)=364]. Reply: [opCode=202,dataLengthInDword=0,messageId=30,memoryAddress=0]. <class 'ArgosBasdaServiceBcu.BcuServiceException'>]

In [72]: lgsw.bcuSCConfigurator.readSoftwareVersion()
Out[72]: 
{'BCU.FPGA_FIRMWARE': '0x1168',
 'BCU.IP_ADDRESS': '192.168.32.140',
 'BCU.MAC_ADDRESS': '00:20:af:f4:cc:44',
 'BCU.NIOS_FIRMWARE': '0x5070046',
 'BCU.SERIAL_NUMBER': 69,
 'DSP16DO.FPGA_FIRMWARE': '0x845',
 'DSP16DO.NIOS_FIRMWARE': '0x5060040',
 'DSP16DO.SERIAL_NUMBER': 1112,
 'HVC0.FPGA_FIRMWARE': '0x201',
 'HVC0.NIOS_FIRMWARE': '0x4020020',
 'HVC0.SERIAL_NUMBER': 119,
 'HVC1.FPGA_FIRMWARE': '0x201',
 'HVC1.NIOS_FIRMWARE': '0x4020020',
 'HVC1.SERIAL_NUMBER': 6,
 'REMOTE_MAC_ADDRESS': '90:b1:1c:3d:a2:e6',
 'REMOTE_UDP_PORT': 10001,
 'REMOTE_IP_ADDRESS': '192.168.32.142'}
Topic revision: r1 - 20 Aug 2013, LorenzoBusoni
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding AOWiki? Send feedback