Re: [casper] (Red Pitaya 125-14) RuntimeError: no programming informs yet. Odd?

2020-02-11 Thread Adam Isaacson
Hi Lukas,

Alexander Raymond from CfA remembers we may have had the same issue in
Boston last year. Thanks, Alex! He suggests the following:

"Adding 127.0.0.1 localhost to /etc/hosts worked for us in getting past the
"*no programming informs yet. Odd?* “ error."

Let us know how you progress.

Kind regards,

Adam Isaacson
South African Radio Astronomy Observatory (SARAO)
Hardware Manager
Cell: (+27) 825639602
Tel:  (+27) 215067300
email: aisaac...@ska.ac.za



On Tue, Feb 11, 2020 at 10:06 AM Adam Isaacson  wrote:

> Hi Lukas,
>
> 1) Did you install casperfpga using the following exactly (ReadMe.md
> "installation" section): https://github.com/casper-astro/casperfpga?
>
> 2) What casperfpga version are you using? Type "casperfpga.__version__"
> after you import casperfpga.
>
> 3) You are sure tcpborphserver is running? if it is not running then
> casperfpga will not work. Refer to:
>  
> https://casper-toolflow.readthedocs.io/projects/tutorials/en/latest/tutorials/redpitaya/red_pitaya_setup.html
> 
> .
>
> Kind regards,
>
> Adam Isaacson
> South African Radio Astronomy Observatory (SARAO)
> Hardware Manager
> Cell: (+27) 825639602
> Tel:  (+27) 215067300
> email: aisaac...@ska.ac.za
>
>
>
> On Tue, Feb 11, 2020 at 9:48 AM Lukas Karch  wrote:
>
>> Thank you for the quick response. I tried specifiying the port number but
>> the same error appeared. I tried using the .fpg and python script you
>> suggested and a very similar error message appeared:
>> *lukas@lukas-HP-Pavilion-x360-Convertible-15-br1xx:~/Downloads$ python
>> tut_adc_dac.py 10.42.0.69 -p -b tut_adc_dac.fpg*
>> *connecting to the Red Pitaya...*
>> *done*
>> *programming the Red Pitaya...*
>> *2020-02-11 08:09:51.39 ERROR 10.42.0.69 transport_katcp.py:594 -
>> 10.42.0.69 : no programming informs yet. Odd?*
>> *ERROR:10.42.0.69:10.42.0.69: no programming informs yet. Odd?*
>> *Traceback (most recent call last):*
>> *File "tut_adc_dac.py", line 38, in *
>> *rp.upload_to_ram_and_program(opts.fpg)*
>> *File
>> "/usr/local/lib/python2.7/dist-packages/casperfpga-0.1.2-py2.7-linux-x86_64.egg/casperfpga/casperfpga.py",
>> line 314, in upload_to_ram_and_program*
>> *filename=filename, wait_complete=wait_complete)*
>> *File
>> "/usr/local/lib/python2.7/dist-packages/casperfpga-0.1.2-py2.7-linux-x86_64.egg/casperfpga/transport_katcp.py",
>> line 596, in upload_to_ram_and_program*
>> *'Odd?' % self.host)*
>> *RuntimeError: 10.42.0.69 : no programming informs
>> yet. Odd?*
>>
>> Regarding the setup of the Red Pitaya, i mostly followed the instructions
>> on this site:
>> https://casper-toolflow.readthedocs.io/projects/tutorials/en/latest/tutorials/redpitaya/red_pitaya_setup.html.
>> Only "git clone https://github.com/ska-sa/katcp.git"; did not work ( *fatal:
>> unable to access 'https://github.com/ska-sa/katcp.git/
>> ': Could not resolve host: github.com
>> *), so I downloaded the github on my pc and used "scp
>> -r" to copy it to my Red Pitaya.
>> Regarding the casperfpga version, I followed the installation
>> instructions on this site: https://github.com/casper-astro/casperfpga.
>> At first I installed casperfpga using "sudo pip install casperfpga". Later
>> I also tried "sudo python setup.py install" but it made no difference.
>>
>> Adam Isaacson  hat am 7. Februar 2020 um 16:26
>> geschrieben:
>>
>> Hi Lukas,
>>
>> This problem seems familiar to me, but I can't quite remember the
>> solution. These are possible suggestions to try:
>>
>> 1) Have you tried specifying the port number?  fpga =
>> casperfpga.CasperFpga('10.42.0.69', port=7147). I remember that was
>> necessary at some point.
>> 2) Try the actual ADC and DAC tutorial fpg and python script first and
>> see if that programs
>> https://github.com/casper-astro/tutorials_devel/tree/master/red_pitaya/tut_adc_dac.
>> The script and fpg does work and I have tested that. If it doesn't work
>> then it could be an issue with your casperfpga version or setup on the card
>> - something like that.
>>
>> Let's take it from there.
>>
>> Kind regards,
>>
>> Adam Isaacson
>> South African Radio Astronomy Observatory (SARAO)
>> Hardware Manager
>> Cell: (+27) 825639602
>> Tel:  (+27) 215067300
>> email: aisaac...@ska.ac.za
>>
>>
>>
>>
>>
>> On Fri, Feb 7, 2020 at 11:59 AM Lukas Karch < lu...@karch.info> wrote:
>>
>> Hi all,
>> I am an electrical engineering student, trying to use casper with a Red
>> Pitaya 125-14. I followed the instructions on:
>> https://casper-toolflow.readthedocs.io to install the necessary software
>> on Ubuntu 16.04 and the first Red Pitaya tutorial on
>> https://casper-tutorials.readthedocs.io/en/latest/tutorials/redpitaya/tut_intro.html#programming-the-fpga.
>> Currently I am trying to program the FPGA on my Red Pitaya board with a
>> .fpg file I have compiled. Unfortunately I keep 

Re: [casper] Solar Spectrometer Channeliser

2020-02-11 Thread Colm Bracken
Hi All,

Thanks everyone for all the excellent advice!
I think we are going to try the 14-bit Red Pitatya for this, and just work
to the highest frequencies that we can achieve with the ADCs in the Nyquist
limit (namely 62 MHz).
I might eventually have a go at interleaving the two ADC channels to double
the sampling.

I'll update CASPER with any interesting results from this in the future.

Best wishes,
Colm

On Tue, 11 Feb 2020 at 06:05, Mugundhan vijayaraghavan <
v.vaishnav151...@gmail.com> wrote:

> Hello Tavi,
>
> There are implementations of red pitaya as a SDR by Pavel Demin, but the
> max. bandwidth (that he has implemented) is about 2.5 MHz and also is
> limited in tuning range.
>
> Yes, using SDRs is another option. LimeSDR is a possible candidate which
> gives tunability and max. instantaneous bandwidth of ~ 60 MHz. It also has
> an Intel (Altera) FPGA, which people have tried to program to do some DSP
> as well.
>
> So this is a good suggestion.
>
> Sincerely,
>
> Mugundhan
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAD560xnA8fo4sDZnzP%2BuvmO%2BbPahiau-xCOhEt%3DRdUV6tfsgiw%40mail.gmail.com
> 
> .
>


-- 

*Dr Colm Bracken*
Lecturer
Maynooth University Experimental Physics


Maynooth University, Maynooth, Co. Kildare, Ireland.

T: +353 1 708 3641
E: colm.brac...@mu.ie W: www.maynoothuniversity.ie

Follow my work on https://nuim.academia.edu/ColmBracken



And


Research Associate

Astronomy & Astrophysics Section
School of Cosmic Physics
Dublin Institute for Advanced Studies
31 Fitzwilliam Place
Dublin 2, D02 XF86



T: +353 1 440 6656 ext 352
E: cbrac...@cp.dias.ie W: www.dias.ie/2017/06/22/dr-colm-bracken

Follow my work on https://nuim.academia.edu/ColmBracken

-- 
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 view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAEx9wh89pJaU5Eg%2BY4_sr07nvSSt1g4HU8_9ug6fiExZZz%3Dp8Q%40mail.gmail.com.


Re: [casper] (Red Pitaya 125-14) RuntimeError: no programming informs yet. Odd?

2020-02-11 Thread Adam Isaacson
Hi Lukas,

1) Did you install casperfpga using the following exactly (ReadMe.md
"installation" section): https://github.com/casper-astro/casperfpga?

2) What casperfpga version are you using? Type "casperfpga.__version__"
after you import casperfpga.

3) You are sure tcpborphserver is running? if it is not running then
casperfpga will not work. Refer to:
 
https://casper-toolflow.readthedocs.io/projects/tutorials/en/latest/tutorials/redpitaya/red_pitaya_setup.html

.

Kind regards,

Adam Isaacson
South African Radio Astronomy Observatory (SARAO)
Hardware Manager
Cell: (+27) 825639602
Tel:  (+27) 215067300
email: aisaac...@ska.ac.za



On Tue, Feb 11, 2020 at 9:48 AM Lukas Karch  wrote:

> Thank you for the quick response. I tried specifiying the port number but
> the same error appeared. I tried using the .fpg and python script you
> suggested and a very similar error message appeared:
> *lukas@lukas-HP-Pavilion-x360-Convertible-15-br1xx:~/Downloads$ python
> tut_adc_dac.py 10.42.0.69 -p -b tut_adc_dac.fpg*
> *connecting to the Red Pitaya...*
> *done*
> *programming the Red Pitaya...*
> *2020-02-11 08:09:51.39 ERROR 10.42.0.69 transport_katcp.py:594 -
> 10.42.0.69 : no programming informs yet. Odd?*
> *ERROR:10.42.0.69:10.42.0.69: no programming informs yet. Odd?*
> *Traceback (most recent call last):*
> *File "tut_adc_dac.py", line 38, in *
> *rp.upload_to_ram_and_program(opts.fpg)*
> *File
> "/usr/local/lib/python2.7/dist-packages/casperfpga-0.1.2-py2.7-linux-x86_64.egg/casperfpga/casperfpga.py",
> line 314, in upload_to_ram_and_program*
> *filename=filename, wait_complete=wait_complete)*
> *File
> "/usr/local/lib/python2.7/dist-packages/casperfpga-0.1.2-py2.7-linux-x86_64.egg/casperfpga/transport_katcp.py",
> line 596, in upload_to_ram_and_program*
> *'Odd?' % self.host)*
> *RuntimeError: 10.42.0.69 : no programming informs yet.
> Odd?*
>
> Regarding the setup of the Red Pitaya, i mostly followed the instructions
> on this site:
> https://casper-toolflow.readthedocs.io/projects/tutorials/en/latest/tutorials/redpitaya/red_pitaya_setup.html.
> Only "git clone https://github.com/ska-sa/katcp.git"; did not work ( *fatal:
> unable to access 'https://github.com/ska-sa/katcp.git/
> ': Could not resolve host: github.com
> *), so I downloaded the github on my pc and used "scp
> -r" to copy it to my Red Pitaya.
> Regarding the casperfpga version, I followed the installation instructions
> on this site: https://github.com/casper-astro/casperfpga. At first I
> installed casperfpga using "sudo pip install casperfpga". Later I also
> tried "sudo python setup.py install" but it made no difference.
>
> Adam Isaacson  hat am 7. Februar 2020 um 16:26
> geschrieben:
>
> Hi Lukas,
>
> This problem seems familiar to me, but I can't quite remember the
> solution. These are possible suggestions to try:
>
> 1) Have you tried specifying the port number?  fpga =
> casperfpga.CasperFpga('10.42.0.69', port=7147). I remember that was
> necessary at some point.
> 2) Try the actual ADC and DAC tutorial fpg and python script first and see
> if that programs
> https://github.com/casper-astro/tutorials_devel/tree/master/red_pitaya/tut_adc_dac.
> The script and fpg does work and I have tested that. If it doesn't work
> then it could be an issue with your casperfpga version or setup on the card
> - something like that.
>
> Let's take it from there.
>
> Kind regards,
>
> Adam Isaacson
> South African Radio Astronomy Observatory (SARAO)
> Hardware Manager
> Cell: (+27) 825639602
> Tel:  (+27) 215067300
> email: aisaac...@ska.ac.za
>
>
>
>
>
> On Fri, Feb 7, 2020 at 11:59 AM Lukas Karch < lu...@karch.info> wrote:
>
> Hi all,
> I am an electrical engineering student, trying to use casper with a Red
> Pitaya 125-14. I followed the instructions on:
> https://casper-toolflow.readthedocs.io to install the necessary software
> on Ubuntu 16.04 and the first Red Pitaya tutorial on
> https://casper-tutorials.readthedocs.io/en/latest/tutorials/redpitaya/tut_intro.html#programming-the-fpga.
> Currently I am trying to program the FPGA on my Red Pitaya board with a
> .fpg file I have compiled. Unfortunately I keep getting the following
> runtime error:
>
> In [1]: import casperfpga
> In [2]: fpga = casperfpga.CasperFpga('10.42.0.69')
> In [3]: fpga.upload_to_ram_and_program('lk_2020-02-05_1003.fpg')
> 2020-02-07 10:13:04.17 ERROR 10.42.0.69 transport_katcp.py:594 -
> 10.42.0.69: no programming informs yet. Odd?
> ERROR:10.42.0.69:10.42.0.69: no programming informs yet. Odd?
> ---
>
> RuntimeError Traceback (most recent call last)
>  in ()
> > 1 fpga.upload_to_ram_and_program('lk_2020-02-05_1003.fpg')
> /usr/local/lib/python2.7/dist-packages/casperfpga-0.1.2-py2.7-linux-x86_64.e