Re: [casper] casperfpga attribute error

2017-07-07 Thread Anshu Singh
Hi James and Marc, I was not copying the fpg file in current directory. It is working now. Thanks On Fri, Jul 7, 2017 at 2:28 PM, James Smith wrote: > Hello Anshu, > > Looping back into the mailing list so this is a reference for anyone else > who encounters this. > > In

Re: [casper] casperfpga attribute error

2017-07-07 Thread Marc Welz
Another way of programming the roach is to go (echo "?progdev filename" ; cat) | nc -q 1 roach-ip-or-name 7147 The protocol to speak to the roach is simple text, so you might not need a supporting library to drive it, provided you are willing to open a tcp socket and write/read text from it.

Re: [casper] casperfpga attribute error

2017-07-07 Thread James Smith
Hello Anshu, Looping back into the mailing list so this is a reference for anyone else who encounters this. In order to use the casperfpga package with a ROACH 1 you need the following: - bof file on the ROACH's filesystem, in the /boffiles directory. Either this must be on an SD card if

Re: [casper] casperfpga attribute error

2017-07-07 Thread James Smith
Hello Anshu, What version of katcp do you have installed? I have seen this issue when the katcp library isn't up-to-date. I think you can get this either from pip or directly from github. Regards, James On Fri, Jul 7, 2017 at 7:39 AM, Anshu Singh wrote: > Hello, > >

[casper] casperfpga attribute error

2017-07-06 Thread Anshu Singh
Hello, While trying to link the CASPER ROACH1 board to PC, I am getting this error: *AttributeError: 'KatcpFpga' object has no attribute 'callback_request'* The steps followed are as such: In [1]: import casperfpga In [2]: fpga=casperfpga.katcp_fpga.KatcpFpga('100.100.100.1',7147,10)