|
Hi
All,
I'm having some issues with tutorial 2 and would appreciate a little
advice!
I can execute the following sequence of python commands successfully:
**********************************************************
In [2]: import corr
In [4]: fpga = corr.katcp_wrapper.FpgaClient('cockroach1',7147)
In [7]: fpga.listbof()
Out[7]:
['jhg_t1_2012_Mar_12_1407.bof',
'jhg_t1_2012_Mar_13_0930.bof',
'jhg_t1_2012_Mar_13_1146.bof',
'r_spec_2048_r105_2010_Jul_26_1205.bof',
'rjl_tut1c_2012_Mar_13_1517.bof',
'tut1_2012_Mar_12_1046.bof',
'tut1_2012_Mar_12_1144.bof',
'tut1_rjl_2012_Apr_03_1046.bof',
'tut2b.bof']
In [8]: fpga.progdev('tut2b.bof')
Out[8]: 'ok'
**************************************************************
However, when I try to run the provided python script I run into
problems:
****************************************************************
lyra_rlacasse<701>
./tut2b.py cockroach1
Connecting to server cockroach1...
FAILURE DETECTED. Log entries:
None
*****************************************************************
If I change the one line in the script from
fpga =
corr.katcp_wrapper.FpgaClient(roach, logger=logger)
to
fpga =
corr.katcp_wrapper.FpgaClient(roach, 7147)
I get a
bit
further:
*************************************************
lyra_rlacasse<704>
tut2b_rich.py cockroach1
Connecting to server cockroach1...
Sleeping...
ok
------------------------
Programming FPGA... ok
---------------------------
Port 0 linkup: No handlers could be found for logger "katcp"
FAILURE DETECTED. Log entries:
None
***********************************************
Also, the "-s" option talked about in the tutorial seems to be a
non-existent option. I probably have
some compatibility issues??
Would anyone have any advice on where to go from here??
Thanks,
Rich
|
- [casper] tutorial 2 problems Rich Lacasse
-