Red Pitaya Crashes with 'cat' command
Posted: Mon Nov 28, 2022 4:49 pm
I am basically trying to update the red_pitaya_top.bin design file which the RP uses during boot up. The following are the commands that I use to perform the update operation:
Connect RP over PuTTY SSH:
redpitaya> rw
redpitaya> killall nginx
redpitaya> sleep 0.5
(Copy the new red_pitaya_top.bin to /opt using WinSCP)
redpitaya> cd /opt
redpitaya> ls
redpitaya> cat red_pitaya_top.bin > /dev/xdevcfg
(System Crashes and no response from RP until I restart it. After restart, if it is the new file that is recently copied, RP crashes and doesn't recover until the original red_pitaya_top.bin is restored)
When the above operation is not performed, the RP runs just fine with original red_pitaya_top.bin file.
I tried the above without copying the new file (keeping existing/working
red_pitaya_top.bin) and just running the above commands, the RP still crashes at the same step.
Can anyone please tell me what am I doing wrong?
Thank you!
Connect RP over PuTTY SSH:
redpitaya> rw
redpitaya> killall nginx
redpitaya> sleep 0.5
(Copy the new red_pitaya_top.bin to /opt using WinSCP)
redpitaya> cd /opt
redpitaya> ls
redpitaya> cat red_pitaya_top.bin > /dev/xdevcfg
(System Crashes and no response from RP until I restart it. After restart, if it is the new file that is recently copied, RP crashes and doesn't recover until the original red_pitaya_top.bin is restored)
When the above operation is not performed, the RP runs just fine with original red_pitaya_top.bin file.
I tried the above without copying the new file (keeping existing/working
red_pitaya_top.bin) and just running the above commands, the RP still crashes at the same step.
Can anyone please tell me what am I doing wrong?
Thank you!