Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-02 Thread Adam Isaacson
Hi Sean et al, I have recently submitted a pull request to casper-astro/casperfpga master branch that fixes the casperfpga progska install error - thanks to Tyrone van Balla who fixed this. This should be merged shortly once reviewed and accepted. As everyone says, it is not needed for the Red

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Wesley New
Hi Sean. progska is a c utility that we use to speed up the programming of the skarab boards and is not needed for the RP. On Mon, 01 Jun 2020, 7:23 PM Sean Mckee, wrote: > Hi Jack, > > I did try installing casperfpga on the red pitaya, but it appears that one > of the libraries (progska, if

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Jack Hickish
Hi Sean, Sounds like you have everything under control, but FWIW that progska code isn't needed except for the SKARAB. If it really is just that binary then if you can coerce python to get past the install error, it won't impact your ability to run on the pitaya. Cheers Jack On Mon, 1 Jun 2020

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Sean Mckee
Hi Jack, I did try installing casperfpga on the red pitaya, but it appears that one of the libraries (progska, if I recall correctly) requires 64-bit. It was giving me ELFCLASS64 error. Not sure if there's a work around, but I'm pretty comfortable writing C code to run on the red pitaya to

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Vereese Van Tonder
On Mon, Jun 1, 2020 at 12:05 PM Marc wrote: > On Sun, May 31, 2020 at 6:54 PM Wesley New wrote: > > > > You should have tcpborphserver installed on the PS. You can telnet into > tcpborphserver and issue register read and writes that way. ie you could > telnet into tcpborphserver on localhost

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Marc
On Sun, May 31, 2020 at 6:54 PM Wesley New wrote: > You should have tcpborphserver installed on the PS. You can telnet into > tcpborphserver and issue register read and writes that way. ie you could > telnet into tcpborphserver on localhost form the RP using a python script and > run your

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-06-01 Thread Jack Hickish
Hi Sean, Just to explicitly add to wes's advice - in addition to the telnet interface on localhost, you can "just" install full blown casperfpga to your red pitaya, and connect via localhost using the scripts you already have. Unless your performance requirements are such that python is out of

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-05-31 Thread Sean Mckee
Hi Wesley, Thank you, that's what I was looking for! On Sunday, May 31, 2020 at 12:54:31 PM UTC-6, wesley wrote: > > Hi Sean, > > These are all good questions and Ill try to point you in the right > direction. > > So if you followed this tutorial to setup your red pitaya: >

Re: [casper] Red Pitaya access registers of snap blocks from PS

2020-05-31 Thread Wesley New
Hi Sean, These are all good questions and Ill try to point you in the right direction. So if you followed this tutorial to setup your red pitaya: