Dear Casperites,

I'm facing the same error that Shanquan was facing when following the
"Introduction
to Simulink
<https://casper.berkeley.edu/wiki/Introduction_to_Simulink_ROACH2#Connecting_to_the_board>"
(first tutorial) for the Roach2. Please see below:


RuntimeError                              Traceback (most recent call last)
<ipython-input-4-51f328acfe29> in <module>()
----> 1
fpga.upload_to_ram_and_program('/u/home/josaitis/mlib_devel/fpg_files_casper_tutorial/atj_t1_2016_Jul_20_1519.fpg')

/usr/local/anaconda/lib/python2.7/site-packages/casperfpga/katcp_fpga.pyc
in upload_to_ram_and_program(self, filename, port, timeout, wait_complete)
    442         if request_result != '':
    443             raise RuntimeError('progremote request(%s) on host %s
failed' %
--> 444                                (request_result, self.host))
    445
    446         # start the upload thread and join

RuntimeError: progremote request(Request to client roach020D19 failed.) on
host roach020D19 failed


Something to also note, when this error occurs in iPython (as instructed to
use in the tutorial), the following printout statement occurs in my minicom
connection to the Roach2 board:

call: no dispatch function for ?progremote

Does anybody have recommendation on how to help Shanquan and my issue?

Best,
Alec




Alec Josaitis
Candidate for B.S., Honors Physics
University of Michigan Men's Glee Club, Alumni Relations Manager

On Mon, Jul 18, 2016 at 3:10 PM, Shanquan Tian <sqsqt...@gmail.com> wrote:

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

Reply via email to