Dear CASPER experts,
I'm sorry for this spam. I'm an exchange undergraduate student working in
Yale university now. I had a problem while using Python to connect my PC to
the ROACH2 board.
I've gotten .fpg files already using Simulink and Xilinx ISE. Now my
purpose is to load the file to the board and program it.
I connected my RHEL_6 PC to ROACH-2, it loaded Busybox from flash, it also
gets access to the Internet (my PC 192.168.1.2, board:192.168.1.3), and I
can use telnet to log in the board successfully.
But when I used Python, it gave me error. Look:
/**************************************************************************************************************************************************/
Python 2.7.10 (default, Jul 18 2016, 09:53:11)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import casperfpga
>>> fpga=casperfpga.katcp_fpga.KatcpFpga('192.168.1.3')
>>> fpga.upload_to_ram_and_program('/nfs_share/tut1_2016_Jul_14_1129.fpg')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/casperfpga/katcp_fpga.py",
line 358, in upload_to_ram_and_program
raise RuntimeError('progremote request(%s) on host %s failed' %
(request_result, self.host))
RuntimeError: progremote request(Request to client 192.168.1.3 failed.) on
host 192.168.1.3 failed
/***************************************************************************************************************************************************/
Maybe the reason is I havn't set up python client on the board correctly.
How can I set it up?
Help me please, thank you very much!
Sincerely,
Shanquan Tian
Exchange undergraduate student, Yale