Hello,


I am running a script on ROACH-2 boards that writes and reads a particular 
register (ex: acc_len). After 31 or more write/read commands I consistently get 
the following errors:



Exception in thread Thread-254:

Traceback (most recent call last):

  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner

    self.run()

  File "/usr/lib/python2.7/threading.py", line 754, in run

    self.__target(*self.__args, **self.__kwargs)

  File "grab.py", line 38, in progFpga

    fpga.write_int('acc_len',65536)

  File "/usr/local/lib/python2.7/dist-packages/corr/katcp_wrapper.py", line 
412, in write_int

    self.write(device_name, data, offset*4)

  File "/usr/local/lib/python2.7/dist-packages/corr/katcp_wrapper.py", line 
362, in write

    % (device_name, offset, unpacked_wrdata, unpacked_rddata))

RuntimeError: Verification of write to acc_len at offset 0 failed. Wrote 
0x00010000... but got back 0x00000000...





Exception in thread Thread-264:

Traceback (most recent call last):

  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner

    self.run()

  File "/usr/lib/python2.7/threading.py", line 754, in run

    self.__target(*self.__args, **self.__kwargs)

  File "grab.py", line 87, in newSpec

    specCountOld = fpga.read_uint('acc_cnt');

  File "/usr/local/lib/python2.7/dist-packages/corr/katcp_wrapper.py", line 
424, in read_uint

    data = self.read(device_name, 4, offset*4)

  File "/usr/local/lib/python2.7/dist-packages/corr/katcp_wrapper.py", line 
270, in read

    str(size))

  File "/usr/local/lib/python2.7/dist-packages/corr/katcp_wrapper.py", line 61, 
in _request

    reply, informs = self.blocking_request(request,keepalive=True)

  File 
"/usr/local/lib/python2.7/dist-packages/katcp-0.3.4-py2.7.egg/katcp/client.py", 
line 623, in blocking_request

    (msg.name, timeout))

RuntimeError: Request read timed out after 10.0 seconds.





The issue is resolved by restarting the script and creating new katcp client 
connections with the ROACH-2 boards.



tcpborphserver information:

#version memcpy-88-g38ad77a-dirty

#build-state 2013-04-11T11:50:43



Any help or suggestions would be very much appreciated!



Thanks,



Kristen Virkler

NASA JPL

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/1114F26F-B84E-4C0E-9110-53D5D379F5C6%40jpl.nasa.gov.

Reply via email to