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

2020-02-13 Thread Adam Isaacson
Hi Jack and Lukas,

Yes, good point, Jack! Sysgen is not supported. We use the system edition
license, which covers everything.

It is just the 30 day evaluation license and the system edition license
that enables sysgen, it seems.

Kind regards,

Adam



On Thu, 13 Feb 2020, 2:51 PM Jack Hickish,  wrote:

> Hi Lukas,
>
> I think while you might be able to compile vivado projects and make fpg
> files with the webpack license, I don't think you'll be able to compile
> anything from simulink, since I don't think the webpack license includes
> System Generator support.
>
> Cheers
> Jack
>
> On Thu, 13 Feb 2020 at 12:43, Adam Isaacson  wrote:
>
>> Hi Lukas,
>>
>> Excellent, please thank Alex Raymond and not me. @Alex, much appreciated!
>>
>> The Zynq device on the Red Pitaya is a small one and I believe that the
>> web pack license should compile it, but I have not tested it as I have a
>> license.
>>
>> Try it out and see to confirm.
>>
>> Kind regards,
>>
>> Adam
>>
>> On Thu, 13 Feb 2020, 10:45 AM Lukas Karch,  wrote:
>>
>>> Thank you for all the help. Adding "127.0.0.1 localhost" to the host
>>> file worked. Afterwards I was able to program the fpga both with the
>>> tutorial .fpg file and a .fpg file I compiled myself.
>>> Just one more question. Do you happen to know if it is possible to
>>> compile .fpg files for the Red Pitaya using only Vivado WebPack.
>>> At the moment I'm using a 30 day evaluation license and I am wondering
>>> if compiling .fpg files will still work after it runs out.
>>>
>>> Adam Isaacson  hat am 11. Februar 2020 um 16:33
>>> geschrieben:
>>>
>>> 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 < aisaac...@ska.ac.za>
>>> 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 < lu...@karch.info> 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 th

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

2020-02-13 Thread Jack Hickish
Hi Lukas,

I think while you might be able to compile vivado projects and make fpg
files with the webpack license, I don't think you'll be able to compile
anything from simulink, since I don't think the webpack license includes
System Generator support.

Cheers
Jack

On Thu, 13 Feb 2020 at 12:43, Adam Isaacson  wrote:

> Hi Lukas,
>
> Excellent, please thank Alex Raymond and not me. @Alex, much appreciated!
>
> The Zynq device on the Red Pitaya is a small one and I believe that the
> web pack license should compile it, but I have not tested it as I have a
> license.
>
> Try it out and see to confirm.
>
> Kind regards,
>
> Adam
>
> On Thu, 13 Feb 2020, 10:45 AM Lukas Karch,  wrote:
>
>> Thank you for all the help. Adding "127.0.0.1 localhost" to the host file
>> worked. Afterwards I was able to program the fpga both with the tutorial
>> .fpg file and a .fpg file I compiled myself.
>> Just one more question. Do you happen to know if it is possible to
>> compile .fpg files for the Red Pitaya using only Vivado WebPack.
>> At the moment I'm using a 30 day evaluation license and I am wondering if
>> compiling .fpg files will still work after it runs out.
>>
>> Adam Isaacson  hat am 11. Februar 2020 um 16:33
>> geschrieben:
>>
>> 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 < aisaac...@ska.ac.za>
>> 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 < lu...@karch.info> 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 < aisaac...@ska.ac.za> hat am 7. Februar 2020 um 16:26
>> geschrieben:
>>
>> Hi Lukas,
>>
>> This problem seems familiar to me, but I can't quite rem

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

2020-02-13 Thread Adam Isaacson
Hi Lukas,

Excellent, please thank Alex Raymond and not me. @Alex, much appreciated!

The Zynq device on the Red Pitaya is a small one and I believe that the web
pack license should compile it, but I have not tested it as I have a
license.

Try it out and see to confirm.

Kind regards,

Adam

On Thu, 13 Feb 2020, 10:45 AM Lukas Karch,  wrote:

> Thank you for all the help. Adding "127.0.0.1 localhost" to the host file
> worked. Afterwards I was able to program the fpga both with the tutorial
> .fpg file and a .fpg file I compiled myself.
> Just one more question. Do you happen to know if it is possible to compile
> .fpg files for the Red Pitaya using only Vivado WebPack.
> At the moment I'm using a 30 day evaluation license and I am wondering if
> compiling .fpg files will still work after it runs out.
>
> Adam Isaacson  hat am 11. Februar 2020 um 16:33
> geschrieben:
>
> 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 < aisaac...@ska.ac.za>
> 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 < lu...@karch.info> 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 < aisaac...@ska.ac.za> 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 i

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

2020-02-13 Thread Marc
A fpg file is text (katcp commands describing the register layout) followed
by the bitstream - use less to view it. If you can generate the bitstream,
chances are you should be able to build the fpg file too.

regards

marc


On Thu, Feb 13, 2020 at 8:45 AM Lukas Karch  wrote:

> Thank you for all the help. Adding "127.0.0.1 localhost" to the host file
> worked. Afterwards I was able to program the fpga both with the tutorial
> .fpg file and a .fpg file I compiled myself.
> Just one more question. Do you happen to know if it is possible to compile
> .fpg files for the Red Pitaya using only Vivado WebPack.
> At the moment I'm using a 30 day evaluation license and I am wondering if
> compiling .fpg files will still work after it runs out.
>
> Adam Isaacson  hat am 11. Februar 2020 um 16:33
> geschrieben:
>
> 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 < aisaac...@ska.ac.za>
> 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 < lu...@karch.info> 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 < aisaac...@ska.ac.za> 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 ver

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

2020-02-13 Thread Lukas Karch


 
 
  
   Thank you for all the help. Adding "127.0.0.1 localhost" to the host file worked. Afterwards I was able to program the fpga both with the tutorial .fpg file and a .fpg file I compiled myself. 
  
  
   Just one more question. Do you happen to know if it is possible to compile .fpg files for the Red Pitaya using only Vivado WebPack.
   
  
  
   At the moment I'm using a 30 day evaluation license and I am wondering if compiling .fpg files will still work after it runs out.
   
  
  
   Adam Isaacson  hat am 11. Februar 2020 um 16:33 geschrieben: 
   
   
   

 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 < 
 aisaac...@ska.ac.za> 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 
  
  
   
 

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

2020-02-12 Thread Adam Isaacson
Okay, have you also tried the recommended:

1) Adding 127.0.0.1 localhost to /etc/hosts, as suggested by Alex Raymond
in the previous email?

If that doesn't work then let's try do this without casperfpga for now. We
will use the underlying tcpborphserver:

1) ssh into your Red Pitaya: ssh root@rp-f0495e.local, password: root. The
"f0495e.local" is the host name of my red Pitaya, but your one will be on
your RJ45 Ethernet connector. Just make sure you use your host name and not
mine. You should be able to ping your board on the network using the
"f0XXXe.local" name and ssh into your board. You can also telnet into the
Red Pitaya on port = 7147.

2) It looks like your tcpborphserver is running, but you can make sure by
changing directory to the bin/tcpborphserver3 directory and running
"./tcpborphserver3". This should definitely start tcpborphserver if it
hasn't started.

3) Copy the fpg file across to the Red Pitaya. You should be able to
program the Red Pitaya by either typing a) "kcpfpg .fpg" or if
the fpg is executable then b) "./.fpg". You may need to be in the
same directory as the kcpfpg executable file. It should be in the
tcpborphserver directory. I am going on memory now. The programming is very
quick, so if it takes too long then you know you have an issue. There
should also be a flashing orange LED on one of the user LED outputs if
successful.

Let me know if you struggle with any of this. Each step should be
successful, so if this doesn't work then there is an issue with your setup.

Kind regards,

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



On Wed, Feb 12, 2020 at 10:00 AM Lukas Karch  wrote:

> 1) Yes I followed the instructions in the ReadMe.md installation section.
> 2) It says the casperfpga version is '0.0+unknown.202002120728'. I tried
> reinstalling casperfpga and afterwards it said: '0.0+unknown.202002120831'.
> 3) There is a process called tcpborphserver, so I assume the server is
> running:
> *USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND* *root 1571 0.0
> 0.3 1968 1452 ? Ss 13:59 0:00 /bin/tcpborphserver3*
>
> Adam Isaacson  hat am 11. Februar 2020 um 09:06
> geschrieben:
>
> 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 < lu...@karch.info> 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-ast

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

2020-02-12 Thread Lukas Karch


 
 
  
   
1) Yes I followed the instructions in the ReadMe.md installation section.
   2) It says the casperfpga version is '0.0+unknown.202002120728'. I tried reinstalling casperfpga and afterwards it said: '0.0+unknown.202002120831'.
   
   
3) There is a process called tcpborphserver, so I assume the server is running:
   
   USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND 
   root 1571 0.0 0.3 1968 1452 ? Ss 13:59 0:00 /bin/tcpborphserver3 
  
  
   Adam Isaacson  hat am 11. Februar 2020 um 09:06 geschrieben: 
   
   
   

 
  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 < 
 lu...@karch.info> 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 downloade

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] (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

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

2020-02-10 Thread Marc
On Tue, Feb 11, 2020 at 7:48 AM Lukas Karch  wrote:

>
>
> 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.
>


Can you confirm that a tcpborphserver process is running on the redpitaya ?
It should appear in the process listing (use ps)

regards

marc

-- 
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/CAGrhWaQovbte8y177F4%3DO1Y9D7eiKU7LkJAKqSb9A1khs5NRQQ%40mail.gmail.com.


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

2020-02-10 Thread Lukas Karch


 
 
  
   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 
  
  
   

 
 

   
  
 

   
  
 

   
  
 

   
  
 

   
  
 

 

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

2020-02-07 Thread Adam Isaacson
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  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.egg/casperfpga/casperfpga.pyc
> in upload_to_ram_and_program(self, filename, wait_complete, chunk_size,
> initialise_objects)
> 312 else:
> 313 rv = self.transport.upload_to_ram_and_program(
> --> 314 filename=filename, wait_complete=wait_complete)
> 315
> 316 if not wait_complete:
> /usr/local/lib/python2.7/dist-packages/casperfpga-0.1.2-py2.7-linux-x86_64.egg/casperfpga/transport_katcp.pyc
> in upload_to_ram_and_program(self, filename, port, timeout, wait_complete,
> skip_verification)
> 594 self.logger.error('%s: no programming informs yet. Odd?' % self.host)
> 595 raise RuntimeError('%s: no programming informs yet. '
> --> 596 'Odd?' % self.host)
> 597 if (inf.name == 'fpga') and (inf.arguments[0] == 'ready'):
> 598 done = True
> RuntimeError: 10.42.0.69: no programming informs yet. Odd?
> In [4]: fpga.is_connected()
> Out[4]: True
>
>
>
> Please let me know if you have any idea why this error is occuring or how
> to fix it.
>
>
> Thanks in advance,
>
> Lukas Karch
>
> --
> 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/641300895.223658.1581069591994%40email.ionos.de
> 
> .
>

-- 
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/CADTJ%3DnFpkP1v9hAC-3NbbAGef-3LnT_Yd6iUXRhRT9cAvgJK-Q%40mail.gmail.com.


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

2020-02-07 Thread Lukas Karch


 
 
  
   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.egg/casperfpga/casperfpga.pyc in upload_to_ram_and_program(self, filename, wait_complete, chunk_size, initialise_objects)
312 else:
313 rv = self.transport.upload_to_ram_and_program(
--> 314 filename=filename, wait_complete=wait_complete)
315 
316 if not wait_complete:
   
   
/usr/local/lib/python2.7/dist-packages/casperfpga-0.1.2-py2.7-linux-x86_64.egg/casperfpga/transport_katcp.pyc in upload_to_ram_and_program(self, filename, port, timeout, wait_complete, skip_verification)
594 self.logger.error('%s: no programming informs yet. Odd?' % self.host)
595 raise RuntimeError('%s: no programming informs yet. '
--> 596 'Odd?' % self.host)
597 if (inf.name == 'fpga') and (inf.arguments[0] == 'ready'):
598 done = True
   
   
RuntimeError: 10.42.0.69: no programming informs yet. Odd?
   
   
In [4]: fpga.is_connected()
Out[4]: True

   
   

   
   

   
   

   
   
Please let me know if you have any idea why this error is occuring or how to fix it.

   
   

   
   

   
   
Thanks in advance,

   
   

   
   
Lukas Karch

   
   
 




-- 
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/641300895.223658.1581069591994%40email.ionos.de.