Hello Kristen,

You're using rather out-of-date software there...

Could you try using casperfpga instead of corr, and upgrade your katcp to
at least version 0.6.2? (Do it in a virtual environment if you don't want
to clobber your install).

I use this particular casperfpga commit on ROACH2, but I think more recent
ones might work:
https://github.com/ska-sa/casperfpga/tree/v3.1

See if that assists?

Regards,
James


On Fri, Jan 10, 2020 at 11:38 PM 'Virkler, Kristen M (US 335J)' via
casper@lists.berkeley.edu <casper@lists.berkeley.edu> wrote:

> 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 "
> casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to casper+unsubscr...@lists.berkeley.edu.
> 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
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/1114F26F-B84E-4C0E-9110-53D5D379F5C6%40jpl.nasa.gov?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG67D35bk1q-_9cgfFQVxSN-t3w3fj4K-Afh00PFpJwS5YBf2g%40mail.gmail.com.
  • [casper] ROAC... 'Virkler, Kristen M (US 335J)' via casper@lists.berkeley.edu
    • Re: [cas... James Smith

Reply via email to