Hi Claudio, cc. maillist

Have you modified the tut3 software or firmware? You seem to have a problem
reading the "even" bram. Does this exist in your model? Are you reading the
correct number of bytes from it -- the error message suggests you tried to
read 4096 bytes -- is this right?

Can you talk to the board interactively (eg, in an ipython shell)? Does it
appear to program ok?

Cheers
Jack

On Fri, 21 Oct 2016 at 11:33 Claudio Rivera <claudio14riv...@gmail.com>
wrote:

> Dear casperites,
> I'm Claudio Rivera, and with two classmates, we are trying to make run
> tut3.py... We are working with the ROACH 1, and the ADC 2x1000-8, so we
> sintonize at 1 GHz. When we testing with tut3.py (spectrometer) it sticks,
> and then it show the window python
> --------------------------------------------------------
>
> Exception in Tkinter callback
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
>     return self.func(*args)
>   File "/usr/local/lib/python2.6/lib-tk/Tkinter.py", line 495, in callit
>     func(*args)
>   File "./tut3_2048.py", line 53, in plot_spectrum
>     acc_n, interleave_a = get_data()
>   File "./tut3_2048.py", line 38, in get_data
>     a_0=struct.unpack('>1024l',fpga.read('even',1024*4,0))
>   File "/usr/local/lib/python2.6/site-packages/corr/katcp_wrapper.py",
> line 269, in read
>     str(size))
>   File "/usr/local/lib/python2.6/site-packages/corr/katcp_wrapper.py",
> line 60, in _request
>     reply, informs = self.blocking_request(request,keepalive=True)
>   File
> "/usr/local/lib/python2.6/site-packages/katcp-0.3.4-py2.6.egg/katcp/client.py",
> line 623, in blocking_request
>     (msg.name, timeout))
> RuntimeError: Request read timed out after 10 seconds.
> Plot started.
>
> --------------------------------------------------------
> also we checked the syncronization of ADC with a signal generation, but
> the error was the same.
> any idea??
>
> We would be really grateful for their support.
> Thanks for your time
> Best regards
>
> Claudio
>
>

Reply via email to