Hi Jason,
Thanks for the quick reply. See my inline responses...
Jason Manley wrote:
[snip]
In [8]: fpga.progdev('tut2b.bof')
Out[8]: 'ok'
**************************************************************
Can you try'n do a "fpga.listdev()" after programming? I'm wondering if the FPGA is perhaps actually not being programmed at all (which could be for a number of reasons, usually permissions related). If so, you'd get an error when trying to list the devices on the board.
fpga.listdev() gave me reasonable replies (the list of defined
registers and other sys devices) for both tut1 and tut2 (programming
from the ipython command line).
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)
This really should have worked. Check to see if your logger object was instantiated correctly.
Sorry to be a little ignorant here, but how do I check that?
[snip]
Also, the "-s" option talked about in the tutorial seems to be a non-existent option. I probably have some compatibility issues??
Suspect versioning problems between the text and the actual model files and python scripts. AFAICT, the "-s" option is now always present.
Could you point me in the direction of the latest files?
Would anyone have any advice on where to go from here??
You might want to try'n execute the lines in the script one-at-a-time on a python prompt to see what errors popup at what stage.
I tried that before I wrote my initial email. Nothing barfed (or at
least complained) until I tried to instantiate the FpgaClient.
Many thanks!
Rich
Jason
|