I think the intent of exit_fail() is to try to close the connection, ignore any
exceptions raised while trying to close the connection, and then re-raise the
original exception that happened before exit_fail was called, but I think the
implementation is flawed. Here’s the definition of
Some of the earlier scripts had bad error handling. If anything fails before
the host object was successfully created, then you get this error because it
tries to close the connection before exiting.
Jason
On 11 Oct 2016, at 16:09, David MacMahon wrote:
>
>> On Oct 11,
> On Oct 11, 2016, at 06:46, Heystek Grobler wrote:
>
> Connecting to server 192.168.33.7 on port 7147... FAILURE DETECTED
Editorial comments on error handling in tut3.py aside, I think the fact that
"FAILURE DETECTED" follows "Connecting to server…" on the same
I can't answer the question directly, there is a C utility which will
program fpg files into roach2s, called kcpfpg - it lives on github in
ska-ska/katcp_devel - run the toplevel makefile then cd into fpg and
there should be the utility
regards
marc
On Tue, Oct 11, 2016 at 12:56 PM, Heystek
Hi
I am now trying to do this manually line by line through ipython.
Do anyone perhaps know what is the equivalent for the roach2 of the
following function?
fpga.progdev()
a_0=struct.unpack('>1024l',fpga.read('even',1024*4,0))
a_1=struct.unpack('>1024l',fpga.read('odd',1024*4,0))
On Tue, Oct
Hello Heystek,
Having looked at the tut3 which is on the website, it is using the older
corr library, not casperfpga. It also looks as though it's intended for
ROACH and not ROACH2, I'm not sure whether that's an issue. I've never used
a ROACH2.
I was under the impression that it should have
Hello Heystek,
How cognisant are you with Python? Try opening an ipython session and
connecting to your ROACH manually, I think you have been able to do that in
the past.
This error message means that your network can't reach the ROACH for some
reason.
Regards,
James
On Tue, Oct 11, 2016 at
Hi Everyone
After trying all of your suggestions and install a few more packages is
works. I get the following error now when I run the tut3.py script for tut3.
heystek@heystek-HP-G62-Notebook-PC:~/simulink/heystek_tutorial_3/heystek_tut3$
./tut3.py 192.168.33.7 tut3.bofConnecting to server
I would suggest using "pip uninstall spead" instead -- I don't recall
ever using it myself, but it appears to be the pip-sanctioned way of
removing something.
On 10/07/2016 02:24 AM, James Smith wrote:
Hello Heystek,
Pip is seeing that you've already got a version of Spead installed,
which
Hello Heystek,
Pip is seeing that you've already got a version of Spead installed, which
might not have worked. You can delete the directory to 'uninstall' it
(Request for comment: is this a safe approach? It's what I've always done
with no problems.)
Before you try that though, perhaps just try
Hello Heystek,
I vaguely recall installing spead from pip as well, as Ryan has done here.
Give that a whirl.
Regards,
James
On Fri, Oct 7, 2016 at 11:06 AM, Ryan Monroe
wrote:
> rmonroe@rmonroe-ThinkPad-P50:~$ sudo pip install spead
> [sudo] password for rmonroe:
>
Hi James
I installed the PySpead package but I get the following error when I run
the tut3.py script:
ImportError: No mode named spead
Do you perhaps have any ideas on how to solve it?
Thank you!!
Heystek
On Fri, Oct 7, 2016 at 11:01 AM, James Smith wrote:
> Hello
Hello Heystek,
If you're still in the Python environment, then PySpead is the one you want.
Regards,
James
On Fri, Oct 7, 2016 at 10:59 AM, Heystek Grobler
wrote:
> Good Day
>
> After a while of troubleshooting I determined the connection with TCP/IP
> into the
Good Day
After a while of troubleshooting I determined the connection with TCP/IP
into the board was correct. I updated the file system and kernel of the
ROACH2 and now I can program it.
I only need to install a package called spead in order to use the .bof file
with tutorial 3 of CASPER.
Where
Hi Heystek,
If you want to telnet, which is another way of configuring your board, then
you need to state the port. Are you doing the following from the terminal:
1)Telnet to port 7147: "telnet 7147".
2)?progremote fpgfile.fpg
You say you can ping your board, so you should be able to connect
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
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
17 matches
Mail list logo