I've just tried the latest Red Pitaya SD card image and I'd say that it should solve all your problems.
Here is what I've done:
- downloaded red_pitaya_OS_v0.94-RC16_21-Oct-2015.img.zip from http://downloads.redpitaya.com/downloads/
- unzipped and copied the image to an SD card
- fixed the Wi-Fi problem with the following commands (to be run from the Red Pitaya command line):
Code: Select all
/opt/redpitaya/sbin/rw curl -L https://raw.githubusercontent.com/RedPitaya/RedPitaya/master/OS/debian/overlay/etc/hostapd/hostapd.conf -o /opt/redpitaya/hostapd.conf /opt/redpitaya/sbin/ro reboot
- checked that Red Pitaya can be accessed via Wi-Fi and its IP address is 192.168.128.1
- then I copied the blink C example from http://redpitaya.com/make-your-app/blink/ to blink.c
- replaced #include "redpitaya/rp.h" with #include "rp.h"
- compiled it from the Red Pitaya command line:
Code: Select all
gcc -I/opt/redpitaya/include -L/opt/redpitaya/lib -Wl,-rpath,/opt/redpitaya/lib -lrp -lm -o blink blink.c
- run it:
Code: Select all
./blink
- spent a few moments enjoying the blinking LED
- stopped ./blink by pressing Ctrl+C
- looked at the SCPI instructions at http://redpitaya.com/control/
- started the SCPI server:
Code: Select all
systemctl start redpitaya_scpi
- copied the blink Python example from http://redpitaya.com/make-your-app/blink/ to blink.py on a PC running Linux
- copied redpitaya_scpi.py to the same PC
- run it:
Code: Select all
python blink.py 192.168.128.1
- spent another few moments enjoying the blinking LED
- stopped blink.py by pressing Ctrl+C
Could you give it a try and let me know how it worked for you?
Cheers,
Pavel