It would be very helpful to have a procedure (with all links) on how to run rp_remote_acquire with current OS.

Thanks,
Laurent
Code: Select all
cd /opt/redpitaya/tmp
rw
chmod 755 rp_remote_acquire
Code: Select all
./rp_remote_acquire
Code: Select all
gcc -c -g -std=gnu99 -Wall -Werror -DVERSION= -DREVISION= main.c -o main.o
gcc -c -g -std=gnu99 -Wall -Werror -DVERSION= -DREVISION= options.c -o options.o
gcc -c -g -std=gnu99 -Wall -Werror -DVERSION= -DREVISION= scope.c -o scope.o
gcc -c -g -std=gnu99 -Wall -Werror -DVERSION= -DREVISION= transfer.c -o transfer.o
transfer.c: In function ‘transfer_mmappipe’:
transfer.c:435:3: error: implicit declaration of function ‘vmsplice’ [-Werror=implicit-function-declaration]
slen = vmsplice(pipe_fd[1], &iov, 1, 0/*SPLICE_F_GIFT*/);
^
transfer.c:443:3: error: implicit declaration of function ‘splice’ [-Werror=implicit-function-declaration]
slen = splice(pipe_fd[0], NULL, sock_fd, NULL, len,
^
transfer.c:444:17: error: ‘SPLICE_F_MOVE’ undeclared (first use in this function)
SPLICE_F_MOVE | SPLICE_F_MORE);
^
transfer.c:444:17: note: each undeclared identifier is reported only once for each function it appears in
transfer.c:444:33: error: ‘SPLICE_F_MORE’ undeclared (first use in this function)
SPLICE_F_MOVE | SPLICE_F_MORE);
^
cc1: all warnings being treated as errors
Makefile:20: recipe for target 'transfer.o' failed
make: *** [transfer.o] Error 1
That's because you are using a source that hasn't been maintained for some time.Also, if I run the source code in redpitaya and type make all I get the following error for transfer.c file
Putting it into the fpga folder doesn't accomplish anything, you need to do "cat ddrdump.bit >/dev/xdevcfg" in the shell to load it.loaded [...] the ddrdump in the fpga folder
When you start it with "-m 1", it tries to open a connection to a host that you specify with the -a and -p parameters. If it can't reach this host, it will tell you so and try again.while for -m 1 I get the following message ''main: problem opening connection. connect failed, Connection refused''
Code: Select all
./rp_remote_acquire -m 3 -c 1 -d 4 -f /mnt/hdd/out.dat
Code: Select all
/mnt/hdd# ls -l
total 64
drwxr-xr-x 6 root root 32768 Nov 4 15:57 alt
-rwxr-xr-x 1 root root 0 Nov 6 15:40 out.dat
drwxr-xr-x 2 root root 32768 Nov 4 15:56 $RECYCLE.BIN
Users browsing this forum: No registered users and 0 guests