Hello Gonzalo, Your Casperfpga version seems to be a bit too recent - I stand under correction here but later versions might have broken backwards compatibility with ROACH2.
Try checking out v0.4.3 or one of the other slightly older releases in your casperfpga repo and reinstalling: cd /path/to/casperfpga git checkout v0.4.3 sudo python setup.py install Give that a whirl and let us know how you get on. Regards, James On Thu, Jul 18, 2019 at 12:04 AM Gonzalo Burgos <[email protected]> wrote: > Hi everyone. > I installed all toolflow for roach2 > > -matlab2012b - > -ISE, xilinx 14.7 > https://github.com/casper-astro/mlib_devel/wiki/How-to-install-Xilinx-ISE > and import the ip cores from 11 de xilinx version > -Python libraries > https://docs.google.com/document/d/1mqDIwhHo3981_Rq9Ma6Dl8UnQUzPah6DKQ55fsaeI4c/edit > > -Simulink libraries > > but when i try to upload .fpg file on roach, python shows me this error. > > > In [3]: fpga.upload_to_ram_and_program('roach2_tut_intro.fpg') > --------------------------------------------------------------------------- > TypeError Traceback (most recent call last) > <ipython-input-3-60d12d4aaa3e> in <module>() > ----> 1 fpga.upload_to_ram_and_program('roach2_tut_intro.fpg') > > /usr/local/lib/python2.7/dist-packages/casperfpga-3.2.dev629+master.19c93d9-py2.7-linux-x86_64.egg/casperfpga/casperfpga.pyc > in upload_to_ram_and_program(self, filename, wait_complete, legacy_reg_map, > chunk_size) > 268 filename = self.bitstream > 269 rv = self.transport.upload_to_ram_and_program( > --> 270 filename=filename, wait_complete=wait_complete, > chunk_size=chunk_size) > 271 if not wait_complete: > 272 return True > > TypeError: upload_to_ram_and_program() got an unexpected keyword argument > 'chunk_size > > Thanks and cheers! > -- > > -- > 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 on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CALGU03RzpOhO7D5gauqaKNxm_0hUrcnwwc4kfpYdApHmGwGKCA%40mail.gmail.com > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CALGU03RzpOhO7D5gauqaKNxm_0hUrcnwwc4kfpYdApHmGwGKCA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG67D37T0b-sshLsMW%2BdLN7Vx7RcLJOLuqKU2ucRugdvbvHs_w%40mail.gmail.com.

