Dear Adam,

I followed the steps which you have given in the bellow link to install 
casperfpga package.
https://www.mail-archive.com/casper@lists.berkeley.edu/msg06436.html
https://docs.google.com/document/d/1mqDIwhHo3981_Rq9Ma6Dl8UnQUzPah6DKQ55fsaeI4c/edit
By following the steps via git . Hope it downloads the latest version of katcp 
and casperfpga.
I am using ROACH1 and I am trying to program the device and I am getting the 
following errors.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

import time,struct,sys,logging,casperfpga
from struct import *
fpga = casperfpga.katcp_fpga.KatcpFpga('100.100.100.1',7147,10)
bitstream='spectrum_test14_2019_May_09_1616.bof'
fpga.system_info['program_filename'] = bitstream
fpga.program()
time.sleep(3)

'module' object has no attribute 'katcp_fpga'
I tried the other ways
roach = casperfpga.CasperFpga('100.100.100.1')
roach.upload_to_ram_and_program('spectrum_test14_2019_May_09_1616.fpg')

---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-10-e89a752b4c79> in <module>()
----> 1 roach.upload_to_ram_and_program('spectrum_test14_2019_May_09_1616.fpg')

/usr/local/lib/python2.7/dist-packages/casperfpga-3.2.dev644+devel.3377047-py2.7-linux-x86_64.egg/casperfpga/casperfpga.pyc
 in upload_to_ram_and_program(self, filename, wait_complete, legacy_reg_map, 
chunk_size, initialise_objects)
278 filename = self.bitstream
279 rv = self.transport.upload_to_ram_and_program(
--> 280 filename=filename, wait_complete=wait_complete, chunk_size=chunk_size)
281 if not wait_complete:
282 return True

TypeError: upload_to_ram_and_program() got an unexpected keyword argument 
'chunk_size'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Indrajit Barve
indra...@iiap.res.in (mailto:indra...@iiap.res.in)
080-22541492 (tel:080-22541492)

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.

Reply via email to