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)
<ipython-input-3-8a85279ea375> in <module>()
----> 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.

Reply via email to