Hello again.... and well, apparently between uploading and downloading versions I have lost the control between permissions and versions, now I don't know where it is good, so I will start a clean installation from scratch, in the minimum error that I stopped I will let you know to be To the. Thank you!.. and I only tell you, I will start with 16.04 LTS. Matlab 2013b. xilinx 14.7 ISE. following the following manual: https://casper-toolflow.readthedocs.io/en/latest/src/How-to-install-Matlab.html It's okay? regards
El jue., 22 ago. 2019 a las 16:00, Jonathon Kocz (<jxk...@gmail.com>) escribió: > If you can't update tcpborphserver, I recommend going with the other > suggestion of: > > katcp=0.5.5 > corr=0.7.3 > > you'll also possibly need older versions of some other packages (there was > a while I had to downgrade construct to 2.5.5). > > you can then access the fpga via: > > import corr > fpga = corr.katcp_wrapper.FpgaClient('ipaddress') > > -- Jonathon > > > On Thu, 22 Aug 2019 at 13:55, Jack Hickish <jackhick...@gmail.com> wrote: > >> The latest Casperfpga from GitHub should be fine. The problem is likely >> at the server end (which is why your tcpborphserver is complaining that >> Casperfpga is using commands it doesn't understand). >> If you can update that using the info in the mailarchive links you should >> be able to get going. >> >> On Thu, 22 Aug 2019, 1:49 pm luis javier Ulloa, < >> ulloa.200921...@gmail.com> wrote: >> >>> Hi ... Thanks for the help ... >>> Ho no, any recommendations? ... I had a hard time getting a roach2 that >>> worked (I had to throw the previous card in the trash), which casperfpga >>> version will be good for me? >>> regards >>> >>> El jue., 22 ago. 2019 a las 15:43, Jack Hickish (<jackhick...@gmail.com>) >>> escribió: >>> >>>> Howdy, >>>> >>>> This is a compatibility error between the version of casperfpga and >>>> tcpborphserver (which is the process running on the roach2 which >>>> listens for commands). >>>> casperfpga has never been particularly well supported on roach2 with >>>> the stock software supplied by digicom. >>>> >>>> If you checkout the message at >>>> https://www.mail-archive.com/casper@lists.berkeley.edu/msg07428.html >>>> that should give you some options. You can either use the ancient >>>> "corr" library, or try and update your tcpborphserver install. There >>>> is also a link here -- >>>> https://www.mail-archive.com/casper@lists.berkeley.edu/msg07451.html >>>> -- to a complete roach2 filesystem (the one we use in Berkeley) which >>>> should support ROACH2 with the latest casperfpga. >>>> >>>> Sorry this doesn't work out the box, but glad you're getting closer to >>>> success... >>>> >>>> Cheers >>>> Jack >>>> >>>> (also, FWIW, the "correct" way of instantiating a casperfpga object is: >>>> ``` >>>> fpga = casperfpga.CasperFpga('192.168.6.19') >>>> ``` >>>> >>>> or, if you know it is a roach board speaking katcp you can do: >>>> >>>> ``` >>>> fpga = casperfpga.CasperFpga('192.168.6.19', >>>> transport=casperfpga.KatcpTransport) >>>> ``` >>>> >>>> On Thu, 22 Aug 2019 at 13:30, luis javier Ulloa >>>> <ulloa.200921...@gmail.com> wrote: >>>> > >>>> > Hello everyone, I am in a similar problem, everything seems to be >>>> going very well, the steps I follow are the following: >>>> > cd / path / to / casperfpga >>>> > git payment v0.4.3 >>>> > sudo python setup.py install >>>> > >>>> > deleting the files previously as mentioned in the mail ... >>>> > >>>> > on the home route, where Casperfpga is located inside the terminal: >>>> > >> ipyton >>>> > >> fpga = casperfpga.katcp_fpga.KatcpFpga ('IP roach2') >>>> > >> fpga.upload_to_ram_and_program ('.fpg file directory') >>>> > After that he returns the following: >>>> > >>>> > >>>> --------------------------------------------------------------------------- >>>> > RuntimeError Traceback (most recent call >>>> last) >>>> > <ipython-input-14-91437dcacf18> in <module>() >>>> > ----> 1 fpga.upload_to_ram_and_program('roach2_tut_intro.fpg') >>>> > >>>> > /usr/local/lib/python2.7/dist-packages/casperfpga/katcp_fpga.pyc in >>>> upload_to_ram_and_program(self, filename, port, timeout, wait_complete) >>>> > 442 if request_result != '': >>>> > 443 raise RuntimeError('progremote request(%s) on >>>> host %s failed' % >>>> > --> 444 (request_result, self.host)) >>>> > 445 >>>> > 446 # start the upload thread and join >>>> > >>>> > RuntimeError: progremote request(Request to client 192.168.6.19 >>>> failed.) on host 192.168.6.19 failed >>>> > >>>> > In [15]: fpga.upload_to_ram_and_program('roach2_tut_intro.fpg') >>>> > >>>> --------------------------------------------------------------------------- >>>> > RuntimeError Traceback (most recent call >>>> last) >>>> > <ipython-input-15-91437dcacf18> in <module>() >>>> > ----> 1 fpga.upload_to_ram_and_program('roach2_tut_intro.fpg') >>>> > >>>> > /usr/local/lib/python2.7/dist-packages/casperfpga/katcp_fpga.pyc in >>>> upload_to_ram_and_program(self, filename, port, timeout, wait_complete) >>>> > 442 if request_result != '': >>>> > 443 raise RuntimeError('progremote request(%s) on >>>> host %s failed' % >>>> > --> 444 (request_result, self.host)) >>>> > 445 >>>> > 446 # start the upload thread and join >>>> > >>>> > RuntimeError: progremote request(Request to client 192.168.6.19 >>>> failed.) on host 192.168.6.19 failed >>>> > >>>> > >>>> > >>>> > at the same time that by means of a minicom I verify that from the >>>> roach there is ping towards my pc, at the moment that in ipython it throws >>>> the previous message, in the roach it throws me: call: no dispatch function >>>> for? progremote. >>>> > I enclose a screenshot with the above. >>>> > regards. >>>> > >>>> > >>>> > >>>> > El mar., 30 jul. 2019 a las 3:11, James Smith (<jsm...@ska.ac.za>) >>>> escribió: >>>> >> >>>> >> Also, I'm not sure whether I'm using a deprecated approach, but I do >>>> the following: >>>> >> >>>> >> fpga = casperfpga.katcp_fpga.KatcpFpga(<string with roach2 ip or >>>> hostname>,<katcp port>) >>>> >> >>>> >> >>>> >> >>>> >> On Mon, Jul 29, 2019 at 11:01 PM Jack Hickish <jackhick...@gmail.com> >>>> wrote: >>>> >>> >>>> >>> Hi Gonzalo, >>>> >>> >>>> >>> You're not running your ipython shell within the casperfpga >>>> directory, >>>> >>> are you? I know that can cause weird problems with the import. >>>> >>> >>>> >>> Cheers >>>> >>> Jack >>>> >>> >>>> >>> On Mon, 29 Jul 2019 at 12:03, Gonzalo Burgos <gonza2...@gmail.com> >>>> wrote: >>>> >>> > >>>> >>> > Hello, >>>> >>> > I tried to use your suggestions but now I can't connect to the >>>> roach. This a new error come up after the reinstall of the casperfpga >>>> v0.4.3 and I test the same with the v0.4.2 and v0.4.1 getting the same >>>> error. >>>> >>> > >>>> >>> > what I can do? >>>> >>> > >>>> >>> > In [2]: fpga = casperfpga.CasperFpga('roach020e18') >>>> >>> > >>>> --------------------------------------------------------------------------- >>>> >>> > AttributeError Traceback (most recent >>>> call last) >>>> >>> > <ipython-input-2-11892628231f> in <module>() >>>> >>> > ----> 1 fpga = casperfpga.CasperFpga('roach020e18') >>>> >>> > >>>> >>> > AttributeError: 'module' object has no attribute 'CasperFpga' >>>> >>> > >>>> >>> > regards >>>> >>> > >>>> >>> > El jue., 18 jul. 2019 a las 4:35, Amish Patel (<apa...@ska.ac.za>) >>>> escribió: >>>> >>> >> >>>> >>> >> Hi Gonzalo, >>>> >>> >> >>>> >>> >> Also worth mentioning for completeness, please do remove any >>>> existing installation(s) of casperfpga on your machine/server via the >>>> command below. >>>> >>> >> - sudo rm -r >>>> /usr/local/lib/python2.7/dist-packages/casperfpga-<version-hash>.egg >>>> >>> >> - You should also check if there are any other items laying >>>> around in the /dist-packages/ folder from this casperfpga install >>>> >>> >> >>>> >>> >> Do let me/us know how it goes. >>>> >>> >> >>>> >>> >> Regards >>>> >>> >> >>>> >>> >> Amish Patel >>>> >>> >> SARAO >>>> >>> >> >>>> >>> >> >>>> >>> >> On Thu, 18 Jul 2019 at 08:52, James Smith <jsm...@ska.ac.za> >>>> wrote: >>>> >>> >>> >>>> >>> >>> 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 < >>>> gonza2...@gmail.com> 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 "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 view this discussion on the web visit >>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CALGU03RzpOhO7D5gauqaKNxm_0hUrcnwwc4kfpYdApHmGwGKCA%40mail.gmail.com >>>> . >>>> >>> >>> >>>> >>> >>> -- >>>> >>> >>> 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 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 >>>> . >>>> >>> >> >>>> >>> >> -- >>>> >>> >> 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 view this discussion on the web visit >>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CANfrX%3D_G45-N-efgeLPpbPruDZJDXv1xMfnN1sqvVuFT0%3DCVJw%40mail.gmail.com >>>> . >>>> >>> > >>>> >>> > >>>> >>> > >>>> >>> > -- >>>> >>> > Gonzalo Burgos F. >>>> >>> > CePIA, Astronomy Department >>>> >>> > Universidad de Concepción, Chile >>>> >>> > Cell: +56 9 6122 9380 >>>> >>> > >>>> >>> > -- >>>> >>> > 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 view this discussion on the web visit >>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CALGU03TmryTQnvqArYqtNe50C872HDGyUt%2BpE55Aa8w7QAqHpw%40mail.gmail.com >>>> . >>>> >>> >>>> >>> -- >>>> >>> 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 view this discussion on the web visit >>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSkosv7BSQjX26NAXfBjALjKqSt6OHJR%2BYLs1YvkmN%2BSPQ%40mail.gmail.com >>>> . >>>> >> >>>> >> -- >>>> >> 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 view this discussion on the web visit >>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG67D34k7abwMC3z04H_Tr5PUYe9efvxMNFv7xw%3Dmtr4cUHuRg%40mail.gmail.com >>>> . >>>> > >>>> > -- >>>> > 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 view this discussion on the web visit >>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CALo%3DeSKYb2L728S3R6ATKsBJoS5nP48P-3anbCUheCLDSfU67g%40mail.gmail.com >>>> . >>>> >>>> -- >>>> 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 view this discussion on the web visit >>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSkJ5fpNPez2bzwivB0uMJZcU221ZM2sb8P170huQZRaMQ%40mail.gmail.com >>>> . >>>> >>> -- >>> 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 view this discussion on the web visit >>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CALo%3DeSKLPraGsKHH%2BDDX9PT-8hFCA0AtOjPsv7A4dQdopO2DJw%40mail.gmail.com >>> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CALo%3DeSKLPraGsKHH%2BDDX9PT-8hFCA0AtOjPsv7A4dQdopO2DJw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSmXXdGAqyH0Z3dRPf1_eR1UdwihxaMQJV_wPY1C3P7AwQ%40mail.gmail.com >> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSmXXdGAqyH0Z3dRPf1_eR1UdwihxaMQJV_wPY1C3P7AwQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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 view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAPU71P_CgSgNriZF3w2upTsx-WcYEXpXpJHkP_wPw3q_KQRwdg%40mail.gmail.com > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAPU71P_CgSgNriZF3w2upTsx-WcYEXpXpJHkP_wPw3q_KQRwdg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CALo%3DeSLTSFSkHRSHLJwTy6Oz2uAbSw6MpJDdtZ%3DB--8BPHek_g%40mail.gmail.com.