Hi All,
I am new to Linux, and I must not be as smart as I thought I was.... I am trying to reprogram the FPGA. Looking at the wiki and forum, it looks like it should be easy: cat red_pitaya_top.bin > /dev/xdevcfg. Do I do it from my host computer or redpitaya? If I do it from my host computer I get: bash: /dev/xdevcfg: Permission denied. If I do it from red pitaya I get: cat: can't open 'red_pitaya_top.bin': No such file or directory. I assume I have to be in the directory that contains red_pitaya_top.bin to run the command....
Also, the wiki shows running the cat command then killall nginx, then restarting nginx. I assume I'm supposed to kill it before the cat command, then restart? Does the cat command actually do the reloading? What if I had renamed the .bin file xdevcfg and then just copied it to the RP?
Thanks!
John
Reprogramming FPGA
-
- Posts: 47
- Joined: Fri Apr 17, 2015 7:38 pm
- Location: Richmond, VA, USA
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Reprogramming FPGA
Hi John,
First you need to copy the bin file to your Red Pitaya, eg with WinSCP (or the OSX equivalent in case you are on a Mac).
Then you execute the cat command in a shell on your Red Pitaya.
First you need to copy the bin file to your Red Pitaya, eg with WinSCP (or the OSX equivalent in case you are on a Mac).
Then you execute the cat command in a shell on your Red Pitaya.
Yes (kill, cat, restart) and yes.I assume I'm supposed to kill it before the cat command, then restart? Does the cat command actually do the reloading?
You'd have gotten an error, because xdevcfg is the frontend for a device driver, which can not be overwritten.What if I had renamed the .bin file xdevcfg and then just copied it to the RP?
-
- Posts: 47
- Joined: Fri Apr 17, 2015 7:38 pm
- Location: Richmond, VA, USA
Re: Reprogramming FPGA
Thanks, Nils!
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 92 guests