Hi Mitch,

Following the instructions as mentioned in the link
https://github.com/casper-astro/tutorials_devel/issues/78, I was trying to
install the casper image for the ZCU208. After following it and updating
the image as per the zcu208update. I am still not able to get the status
return value. As shown below in the issue.
=============================================

In [1]: import casperfpga

In [2]: fpga = casperfpga.CasperFpga('192.168.1.120')

In [3]: fpga.upload_to_ram_and_program('zcu208_tut_rfdc.fpg')
Out[3]: True

In [4]: zcu = fpga.adcs['rfdc']

In [5]: zcu.init()
Out[5]: True

In [6]: zcu.status()

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[6], line 1
----> 1 zcu.status()

File ~/newenv/lib/python3.8/site-packages/casperfpga/rfdc.py:480, in
RFDC.status(self)
    478 d = {}
    479 for s in stat:
--> 480   k, v = s.split(' ')
    481   d[k] = int(v)
    482 status[tile] = d

ValueError: not enough values to unpack (expected 2, got 1)

================================================

On checking the bin folder of the casper installed, where the updated
"tcpborphserver" is linked. I did not find the following executed files
 "prg_8a34001",  "prg_clk104_rfpll", " reset_rfpll", etc.  as the bin was
completely empty.

Can you suggest what would be the cause of the above error and missing
files in the bin.

Regards
Tilak

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAPGD9MnEBWkqbsoPeLVjteYLezNMxkPNfwhY%3DSHq482UmiOZ8g%40mail.gmail.com.

Reply via email to