Wang, upload_to_ram_and_program() is the casperfpga function for programming the FPGA without having to copy it over to the board first. Perhaps take a look at the casperfpga.py file that should live in your python libraries folder; there are alternatives to this function but I'm not sure what they are, off the top of my head. I'm afraid it's been many years since I've used corr and don't have any advice to offer. However, looking again at your screenshots I don't understand the directory into which you're trying to scp the fpg file? Instead of having scp [file.fpg] root@[IP]:[file.fpg] I think it should instead be scp [file.fpg] root@[IP]:/dir/[file.fpg] where [dir] might be /root/ or /usr/ or something. I'm not surprised it's complaining if you're trying to copy it straight into /
Best, Michael ________________________________ From: [email protected] <[email protected]> on behalf of 王钊 <[email protected]> Sent: 01 August 2022 16:57 To: [email protected] <[email protected]> Subject: Re: [casper] Copy .fpg file to ROACH2 server Hi Michael, I can't use the casperfpga function.Now I am using Corr. I don't quite understand what you mean by upload_to_ram_and_program(). Best, Wang Michael D'Cruze <[email protected]<mailto:[email protected]>> 于 2022年8月1日周一 下午11:39写道: Hello Wang, Can't you just use the casperfpga function for this? I think it's upload_to_ram_and_program(), or something like that. Best, Michael ________________________________ From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of Wang <[email protected]<mailto:[email protected]>> Sent: 01 August 2022 16:35 To: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> Subject: [casper] Copy .fpg file to ROACH2 server Hi CASPER, I'm having some problems copying files to server: 'read-only files system'. I suspect there is a problem with my ROACH‘s startup configuration file. After netboot, prompted 'read-only' when the user logs in. Have you ever been in this situation? picture1:copy file to server picture2:netboot login [scp1.png] [netboot_3.png] I would appreciate it very much if you would help me with it. BW! Wang -- You received this message because you are subscribed to the Google Groups "[email protected]<mailto:[email protected]>" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/e1f67c22-d567-4945-8f36-1702e27ccb47n%40lists.berkeley.edu<https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/e1f67c22-d567-4945-8f36-1702e27ccb47n%40lists.berkeley.edu?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "[email protected]<mailto:[email protected]>" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/LO4P265MB6154B8B9C331E946601625F78A9A9%40LO4P265MB6154.GBRP265.PROD.OUTLOOK.COM<https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/LO4P265MB6154B8B9C331E946601625F78A9A9%40LO4P265MB6154.GBRP265.PROD.OUTLOOK.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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAEq%3DE3FVTrQsyHp0Ke5oCjy3oRmNMkc-Ys02xdy5vQ_74TC8OQ%40mail.gmail.com<https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAEq%3DE3FVTrQsyHp0Ke5oCjy3oRmNMkc-Ys02xdy5vQ_74TC8OQ%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/LO4P265MB61544EBD67DD5F63014D1F838A9A9%40LO4P265MB6154.GBRP265.PROD.OUTLOOK.COM.

