Re: [casper] ROACH 2 First Use

2014-06-10 Thread Roelof Burger
Just to complete the thread.

I got it the .bof file uploaded and programmed onto the FPGA.

>From UBUNTU machine in terminal session I used command: nc -w 2 -q 2
roachip 7147 < yourboffile.bof

While at the same time from a TELNET session I ran ?upload 7147.

Thanx for all the help


On 5 June 2014 11:53, Roelof Burger  wrote:

> Thank you again.
>
> I use the IP address.
>
> f.is_connected() returns false. But my roach is running and I have a
> telnet session going to the same IP addres?
>
> What will cause this? I can ping the roach board from this Ubuntu machine
>
>
>


-- 
Regards,

Roelof Burger

*Cherry Creek*

*Electronic EngineerEflex Technology Group*

-- 


*- Disclaimer *
**

*This email and any attachments to it are confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Cherry Creek Trading 61 C.C.*

*If you are not the intended recipient of this email, you must neither take 
any action based upon its contents, nor copy or show it to anyone.*

 *Please contact the sender if you believe you have received this email in 
error.*


Re: [casper] ROACH 2 First Use

2014-06-05 Thread Roelof Burger
Thank you again.

I use the IP address.

f.is_connected() returns false. But my roach is running and I have a telnet
session going to the same IP addres?

What will cause this? I can ping the roach board from this Ubuntu machine

-- 


*- Disclaimer *
**

*This email and any attachments to it are confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Cherry Creek Trading 61 C.C.*

*If you are not the intended recipient of this email, you must neither take 
any action based upon its contents, nor copy or show it to anyone.*

 *Please contact the sender if you believe you have received this email in 
error.*


Re: [casper] ROACH 2 First Use

2014-06-05 Thread Jason Manley
You use your ROACH's IP address or hostname. We map serial numbers to hostnames 
like that, but you might be doing something different. Just use your IP address 
in quotes (a python string), like '10.0.0.12' if you want to be sure.

The bitstream file needs to be in your path. If you're not using absolute paths 
(like '/home/myusername/myboffile.bof.gz', then I recommend in your current 
working directory. 

Check that the connection was successful by doing f.is_connected(). This should 
return "true". If it's "false", then corr couldn't find your ROACH board.

Jason Manley
CBF Manager
SKA-SA

Cell: +27 82 662 7726
Work: +27 21 506 7300

On 05 Jun 2014, at 10:20, Roelof Burger  wrote:

> Thanx for the info.
> 
> Took me some time to install corr and all the libraries.
> 
> Now i open a Python session in Ubuntu Terminal. 
> 
> import corr   : working
> f=corr.katcp_wrapper.FpgaClient('roach020701')  : This line gives an error. 
> It says the name roach020701 is not defined, but this is my roach serial 
> number?
> 
> What will cause this or am I doing something wrong.
> 
> Thank you
> Roelof Burger
> 
> 
> 
> - Disclaimer 
> 
> 
> This email and any attachments to it are confidential and are intended solely 
> for the use of the individual to whom it is addressed. Any views or opinions 
> expressed are solely those of the author and do not necessarily represent 
> those of Cherry Creek Trading 61 C.C.
> 
> If you are not the intended recipient of this email, you must neither take 
> any action based upon its contents, nor copy or show it to anyone.
> 
> 
> Please contact the sender if you believe you have received this email in 
> error.
> 




Re: [casper] ROACH 2 First Use

2014-06-03 Thread John Ford
> Good day from South Africa,
>
> I have started working with the ROACH 2 recently. I am very new and very
> unfamiliar. I have been working through the mailing lists but can't find
> this simple question.
>
> 1. How can I transfer my .bof file from LINUX or Windows to the ROACH. I
> can open a serial link in putty to the board, open a telnet session, but I
> cant seem to open a SSH session in Windows or LINUX.
>
> In Windows I use the IP address assigned to the board on port 7147 or
> root@roach and it doesnt work from putty SSH conection.
>
> In LINUX I enter command: ssh -p root@roach. I get error Could not
> resolve hostname roach@...

The -p isn't what you want there, I'm pretty sure.

> Or in LINUX  the command ssh root@ just times out after a
> while.

Is  on the same subnet as your PC?  It could be the routing to
the roach's network isn't in place.

Your hostname roach must not be in your DHCP/DNS tables,
which makes me wonder if the routing is fouled up.

Can you ping   from your PC?



>
> Am I doing something wrong or how can I easily transfer files to to ROACH
> 2.
>
> Thanx in advance
>
> Roelof Burger
>
> --
>
>
> *- Disclaimer *
> **
>
> *This email and any attachments to it are confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Cherry Creek Trading 61 C.C.*
>
> *If you are not the intended recipient of this email, you must neither
> take
> any action based upon its contents, nor copy or show it to anyone.*
>
>  *Please contact the sender if you believe you have received this email in
> error.*
>





[casper] ROACH 2 First Use

2014-06-03 Thread Roelof Burger
Good day from South Africa,

I have started working with the ROACH 2 recently. I am very new and very
unfamiliar. I have been working through the mailing lists but can't find
this simple question.

1. How can I transfer my .bof file from LINUX or Windows to the ROACH. I
can open a serial link in putty to the board, open a telnet session, but I
cant seem to open a SSH session in Windows or LINUX.

In Windows I use the IP address assigned to the board on port 7147 or
root@roach and it doesnt work from putty SSH conection.

In LINUX I enter command: ssh -p root@roach. I get error Could not
resolve hostname roach@...
Or in LINUX  the command ssh root@ just times out after a while.

Am I doing something wrong or how can I easily transfer files to to ROACH 2.

Thanx in advance

Roelof Burger

-- 


*- Disclaimer *
**

*This email and any attachments to it are confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Cherry Creek Trading 61 C.C.*

*If you are not the intended recipient of this email, you must neither take 
any action based upon its contents, nor copy or show it to anyone.*

 *Please contact the sender if you believe you have received this email in 
error.*