Hi Zhang, Sorry for the late reply, your mail somehow went to my spam folder.
Installing from https://github.com/casper-astro/casperfpga should work via: pip install -r requirements.txt python setup.py install For corr, our set up in berkeley uses using katcp 0.5.5 ( https://pypi.org/project/katcp/#history) and corr 0.7.3 (*https://pypi.org/project/corr/#history <https://pypi.org/project/corr/#history>*). I'm pretty sure the latest version of katcp doesn't work with corr (corr development stopped about 5 years ago). If I had to guess I would say that your problem with fpg files is because your version of tcpborphserver running on the ROACH doesn't support them. The latest version of tcpborphserver here should work with fpg files -- https://github.com/casper-astro/katcp_devel (commit ee9c43f <https://github.com/casper-astro/casperfpga/commit/ee9c43f2c066002c018741df9604aa751f413e69>) -- it also requires /dev/shm/gateware to be writable, unless you change TBS_RAMFILE_PATH in https://github.com/casper-astro/katcp_devel/blob/master/tcpborphserver3/tcpborphserver3.h Hopefully that helps a bit, but let me know if you need further assistance. Cheers Jack On Fri, 4 Jan 2019 at 20:44, zhang laiyu <zhan...@ihep.ac.cn> wrote: > Hi > > My computer can download .fpg file to ROACH2 using casperfpga by python > before. When I want to import corr module to python,I meet some problems,so > I updated some library also including katcp.When I finally can import corr > to python,I found that I can not download .fpg file to ROACH2. I > uninstalled the katcp and try to recover to the previous env.But it didn't > work. > Soloboot and netboot are OK,and can download .bof files to ROACH by > ?progdev .bof. > > This is what I test and the reply: > > ./roach2_tut_tge.py 192.168.40.77 > 192.168.40.77 > WARNING:casperfpga.transport_katcp:192.168.40.77: no ._stream instance > found. > Connecting to server 192.168.40.77... ok > ------------------------ > Programming FPGA... > ('progremote request(Request to client 192.168.40.77 failed.) on host > 192.168.40.77 failed',) > progremote request(Request to client 192.168.40.77 failed.) on host > 192.168.40.77 failed > > I used python2.7.12,katcp0.2.7 and casperfpga3.2( > https://github.com/ska-sa/casperfpga.git) > > I had tried to install casperfpga several times with different versions > but it still did not work. What katcp version and casperfpga version should > I install? > > <http://www.ihep.ac.cn/> > > > > > > > > > > > > > > > > > > > > > * <zhan...@ihep.ac.cn>* > > > <http://isdc.unige.ch/~produit> > > -- > 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.