Hi James I will try it. Through the terminal I can ping the board, but I cant open a Telnet connection.
When I open a ttyUSB connection to the Roach en monitor it, and try to upload the fga file, the Roach gives the same error "progremote" Thats why I'm confused Thanks for your help! I really appreciate it Heystek On Friday, 30 September 2016, James Smith <jsm...@ska.ac.za> wrote: > Hello Heystek, > > Before you program the ROACH2, I'd suggest trying fpga.is_connected() and > fpga.est_clk_frequency() to check whether you can actually communicate > with the ROACH2. It might be a network cable that's been unplugged by > accident - that's where I've seen those errors before. The > fpga=casperfpga.katcp_fpga.KatcpFpga('roachname or ip_address') doesn't > actually throw an error if it can't connect to the ROACH2. This information > would at least help you narrow down the possibilities as to what's wrong > (i.e. whether it's the kernel on the ROACH2). > > Disclaimer: I work only on ROACH, but I'm fairly certain the procedure > would be the same. > > Regards, > James > > > On Fri, Sep 30, 2016 at 1:36 PM, Heystek Grobler <heystekgrob...@gmail.com > <javascript:_e(%7B%7D,'cvml','heystekgrob...@gmail.com');>> wrote: > >> Good day everyone >> >> I am having difficulties programming the ROACH 2 board. I am following >> the instructions of CASPER tutorial one. >> >> I Have compiled the fpg file and is using the following steps from the >> tutorial. >> >> 1. I entered ipython into the terminal >> 2. import casperfpga >> 3. fpga=casperfpga.katcp_fpga.KatcpFpga('roachname or ip_address') with >> the ip address of my roach >> 4. fpga.upload_to_ram_and_program('your_fpgfile.fpg') with the location >> of the .fpga file >> >> but at point 4 I get the following error: >> >> RuntimeError Traceback (most recent call >> last) >> <ipython-input-6-bdb3ff92f6c0> in <module>() >> ----> 1 fpga.upload_to_ram_and_program('/home/heystek/simulink/ai_t1 >> /bit_files/ai_t1_2016_Sep_14_2052.fpg') >> >> /usr/local/lib/python2.7/dist-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 192.168.33.4 failed.) >> on host 192.168.33.4 failed >> >> Am I doing something wrong? >> >> I looked at the mail archives and it sugested that I update the kernel of >> the roach. Is this perhaps the problem? Or am I doing something wrong? >> >> Have a wonderful day. >> >> Heystek >> > >