It has been a while, but I am not sure if/how the remote upload was
implemented in the roach1 and what its syntax was - it might have been
different. Telnet to port 7147 on the roach and type ?help - if there
is no progremote, see if you can find something similar ...

On Sat, Apr 22, 2017 at 11:26 AM, Heystek Grobler
<heystekgrob...@gmail.com> wrote:
> Good day
>
> I have an interesting problem. I'm used to working on a ROACH2 and now I
> must do a project on a ROACH1 board.
>
> When Running the casperfpga package I received this error:
>
> In [1]: import casperfpga
>
> In [2]: fpga=casperfpga.katcp_fpga.KatcpFpga('192.168.33.3')
> In [3]:
> fpga.upload_to_ram_and_program('heystek_tut3_2017_Apr_19_1133.bof')---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call last)
> <ipython-input-3-bec45faa4f38> in <module>()
> ----> 1 fpga.upload_to_ram_and_program('heystek_tut3_2017_Apr_19_1133.bof')
>
> /usr/local/lib/python2.7/dist-packages/casperfpga/katcp_fpga.pyc in
> upload_to_ram_and_program(self, filename, port, timeout, wait_complete)
>     442         if request_result != '':
>     443             raise RuntimeError('progremote request(%s) on host %s
> failed' %
> --> 444                                (request_result, self.host))
>     445
>     446         # start the upload thread and join
>
> RuntimeError: progremote request(Request to client 192.168.33.3 failed.) on
> host 192.168.33.3 failed
>
> I then tried running the corr package and I got this error:
>
> In [7]: fpga=corr.katcp_wrapper.FpgaClient('192.168.33.3',7147)
> ---------------------------------------------------------------------------
> TypeError                                 Traceback (most recent call last)
> <ipython-input-7-455a6a194fea> in <module>()
> ----> 1 fpga=corr.katcp_wrapper.FpgaClient('192.168.33.3',7147)
>
> /usr/local/lib/python2.7/dist-packages/corr/katcp_wrapper.pyc in
> __init__(self, host, port, tb_limit, timeout, logger)
>      86         self.host = host
>      87         self._timeout = timeout
> ---> 88         self.start(daemon = True)
>      89
>      90         # async stuff
>
> TypeError: start() got an unexpected keyword argument 'daemon'
>
> With my ROACH2 I had to update the kernel and file system with this
> instructions to solve the problem:
> https://www.mail-archive.com/casper@lists.berkeley.edu/msg06452.html
>
> but this does not work on the ROACH1 so I reverted back to this kernel and
> file system
> https://casper.berkeley.edu/wiki/Setting_Up_BORPH_on_ROACH
>
> What am I doing wrong?
>
> Thanks for the help
>
> Heystek
>
> --
> 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 post to this group, send email to casper@lists.berkeley.edu.

-- 
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 post to this group, send email to casper@lists.berkeley.edu.

Reply via email to