1.6. FAQ

Note

Not found what you are looking for? Please contact us or report a bug. Please include all the relevant information regarding the problem. For easier debugging on OS versions 2.00 and above, please also include the Downloaded system report in the bottom left corner of your Red Pitaya main webpage.

1.6.1. Connectivity

1.6.1.1. How to get started with Red Pitaya?

1.6.1.2. How to connect to Red Pitaya in a few simple steps?

1.6.1.3. Red Pitaya not booting anymore?

1.6.1.4. Red Pitaya is constantly rebooting?

  • A board reset during boot-up is indicated by the green and blue LEDs lighting up, followed by the orange and red LEDs pausing their blinking to remain ON for about 2 seconds, then the cycle repeats. Repeated board resets suggest an external clock signal is missing (not connected) on the external clock board variations.

1.6.1.5. How to connect the external clock to RP?

1.6.1.6. How can I make sure that my Red Pitaya has access to the internet?

  1. Connect to your Red Pitaya over SSH.

  2. Make sure that you can ping google.com website:

    root@rp-f03dee:~# ping -c 4 google.com
    PING google.com (216.58.212.142) 56(84) bytes of data.
    64 bytes from ams15s21-in-f142.1e100.net (216.58.212.142): icmp_seq=1 ttl=57 time=27.3 ms
    64 bytes from ams15s21-in-f142.1e100.net (216.58.212.142): icmp_seq=2 ttl=57 time=27.1 ms
    64 bytes from ams15s21-in-f142.1e100.net (216.58.212.142): icmp_seq=3 ttl=57 time=27.1 ms
    64 bytes from ams15s21-in-f142.1e100.net (216.58.212.142): icmp_seq=4 ttl=57 time=27.1 ms
    
    --- google.com ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3004ms
    rtt min/avg/max/mdev = 27.140/27.212/27.329/0.136 ms
    

1.6.1.7. How can I make sure that Red Pitaya is connected to the same network as my computer/tablet/smartphone?

The most common answer would be: just make sure that your Red Pitaya and your PC/tablet/smartphone are both connected to the same router or your smartphone hotspot.

In order to test it, you can use a PC that is connected to the same local network as your Red Pitaya and try the following:

  1. Open the terminal window.

    • Windows: Go to RUN, type in cmd and press enter.

    • Linux: Click on the application button, type in Terminal and press enter.

    • macOS: Hit cmd + space, type in Terminal and press enter.

  2. Enter the arp -a command to get a list of all devices in your local area network and try to find your Red Pitaya MAC address on the list.

    $ arp -a
    ? (192.168.178.117) at 00:08:aa:bb:cc:dd [ether] on eth0
    ? (192.168.178.118) at 00:26:32:f0:3d:ee [ether] on eth0
    ? (192.168.178.105) at e8:01:23:45:67:8a [ether] on eth0
    

    Note

    If you have a cable connection, then your MAC address is written on your Red Pitaya LAN connector.

    ../../_images/MAC.png

Note

If you have established a wireless connection, then you should check the MAC address of your wireless USB dongle. The MAC addresses are typically written on the USB dongles.

  1. Type your Red Pitaya IP into your WEB browser and connect to it.

    ../../_images/Browser_IP.png

If your Red Pitaya is not listed on the list of your local network devices on the local network, then it is necessary to check that your Red Pitaya is connected to your local network.

1.6.1.8. Is Red Pitaya connected to my local network?

  1. Connect your Red Pitaya to a PC over a Serial Console.

  2. Type “ip a” and hit enter to check the status of your ethernet connection on Red Pitaya.

    1. If you have connected to your Red Pitaya over a wireless connection, you should check the status of the wlan0 interface.

    2. If you have connected to your Red Pitaya over a cable connection, you should check the eth0 interface.

  3. Type Red Pitaya IP into your web browser to see if you can connect to it.

    ../../_images/Browser_IP.png

1.6.1.9. Problems connecting to RP?

../../_images/blinking-pitaya-eth.gif

Red Pitaya status LED description:

  • Green LED - power good

  • Blue LED - FPGA image loaded and OS booted

  • Red LED - CPU heartbeat

  • Orange LED - SD card access

  1. First, check the LEDs:

    1. If the green LED is OFF or is blinking. It seems like something is wrong with the power supply, or maybe it’s the USB cable. Make sure that:

      1. you have plugged the USB cable into the correct USB connector on the Red Pitaya

      2. your power supply is capable of 5 V/2 A (or 12 V/1 A for SIGNALlab 250-12)

      3. try to replace the USB cable and also the USB power supply

    2. If the green LED is turned ON but the blue LED is turned OFF. In this case, there is an error while loading the Red Pitaya system from the SD card. Make sure that:

      • you have correctly inserted the Red Pitaya SD card and the Red Pitaya OS has been installed (Notice that Red Pitayas already comes with a pre-installed OS on SD cards. Anyhow, SD cards might get corrupted - in such case follow these instruction on how to Prepare SD card to properly re-install Red Pitaya OS to SD card)

      • try to use another SD card

      • try connecting via a serial console and check the boot sequence

      • if you have Pavel Demin’s Alpine Linux OS image installed, this may indicate normal behaviour. The status LEDs are normally turned OFF, check the Pavel Demin's Red Pitaya Notes for more information.

    3. If both the green and blue LEDs are ON, but the red and orange LEDs stop blinking a few seconds after the boot, only to remain ON for about 2 seconds, and then the cycle repeats. This indicates that the Red Pitaya is in a reboot cycle. Notice that the red and orange LEDs always start blinking approx 10 seconds after the green and blue LEDs are turned ON.

      • Check your Red Pitaya board model. If you are using an external clock version, check whether the external clock signal is properly connected to the E2 connector.

  2. If the status LEDs are working normally, the Red Pitaya is properly booted. If you are unable to connect to it, this is most likely a networking issue:

    • Make sure your Red Pitaya and computer are both connected to the same local network.

    • Consult the connection guide for advice.

    • Try using the recommended Google Chrome browser.

    • Disable any adblockers for the “rp-xxxxxx.local” website.

    • Try disabling the VPN, because it may be preventing the connection.

    • Type “arp -a” into the Comand Prompt or Terminal and look for Red Pitaya’s IP. Then try using the IP instead of “rp-xxxxxx.local” in the browser’s URL window.

    • If you are a Windows user, please look at the note below.

    Note

    Windows 7/8 users should install Bonjour Print Services, otherwise access to *.local addresses will not work.

    Windows 10 or higher already supports mDNS and DNS-SD, so there is no need to install additional software.


  1. Advanced troubleshooting:

    • If you are a Linux or macOS user and the Red Pitaya is directly connected to the computer (with the ethernet cable), check the ethernet connector settings if they are set to DHCP and Local Only. Alternatively, try connecting to the Red Pitaya through the router.

    • If you updated form 1.04 to 2.00 OS version, check GitHub issues #250 and #254.

    • Try connecting via the serial console. Check the boot log and see whether you can access the on-board Linux Terminal.

    • Check the Nightly Builds Changelog for any relevant updates.

  2. Extremely rare cases:

    • If the board is operating normally, but the blue LED is OFF, check if the LED is damaged. If the board is in warranty, we will replace it.

    • Check whether any of the SD card holder pins are bent upwards and do not have contact with the SD card pins. Take out the SD card and push them into the normal position.

1.6.1.10. How to find the Red Pitaya URL if it is not written on the sticker?

The Red Pitaya URL is rp-xxxxxx.local where xxxxxx must be replaced with the last 6 digits of the MAC address that is written on the sticker.

If the RP MAC address is 00:26:33:F1:13:D5, the last 6 digits are F113D5 and the URL is rp-f113d5.local.

../../_images/ethernet_MAC.png

1.6.1.11. Slow Wi-Fi connection?

If your wireless connection with Red Pitaya works very slowly and all the applications seem very unresponsive and not running smoothly, please check the following:

  • Check the Wi-Fi signal strength on your PC/tablet/smartphone.

  • Check the Wi-Fi signal strength of your Red Pitaya.

  1. Connect to your Red Pitaya via an SSH connection.

  2. Enter the cat /proc/net/wireless command to get information about link quality and signal strength.

    ../../_images/cat_wireless.png

    Link quality measures the number of packet errors that occur. The lower the number of packet errors, the higher this will be. Link quality goes from 0-100%.

    Level, or signal strength, is a simple measure of the amplitude of the signal that is received. The closer you are to the access point, the higher this will be.

Note

For full performance, a wired connection is preferred.

1.6.1.12. Wi-Fi dongle not detected?

Please note that not all are compatible. A list is in the documentation: Supported USB Wi-Fi adapters

1.6.2. OS

1.6.2.1. How to upgrade OS?

1.6.2.2. Is Red Pitaya not booting even after OS update?

  • Please use the Balena Etcher application to rewrite the OS manually. The latest Windows update has been reported to have broken the Win32 disc imager. Prepare SD card

  • Upgraded from an older Red Pitaya OS to the 2.00 Unified OS? Please try GitHub issue #250 and GitHub issue #254

1.6.2.3. Is Red Pitaya failing to update?

Please use the Balena Etcher application to rewrite the OS manually. The latest Windows update has been reported to have broken the Win32 disc imager. Prepare SD card

1.6.3. Applications & Web Interface

1.6.3.1. How can I start using RP measurement applications?

1.6.3.2. My device shows the wrong measurements. How can I calibrate it?

The Red Pitaya can be calibrated using the Calibration Tool

1.6.3.3. Problems with OS update application, and accessing the marketplace?

  1. Make sure your Red Pitaya has access to the internet.

  2. Force a refresh of the Red Pitaya application page. How?

1.6.3.4. Web interface not functioning properly, or experimenting with freezing?

Please ensure that your browser’s ad blockers are turned off for the “rp-xxxxxx.local” webpage and that your proxy settings are correct. For local connections to the Red Pitaya unit, proxy settings should not be required. A VPN may also be preventing the connection.

../../_images/AdBlock_disable.png

1.6.3.5. Undesired disconnections?

If possible, we recommend testing the setup on a different computer and a different network, as well as, checking the state of the Ethernet cables and power supply, proxy settings, and re-writing the OS.

1.6.3.6. An application is not working?

We suggest upgrading to the latest OS and trying again. Otherwise, please report the bug.

Note

It is important to note that applications developed by the Red Pitaya community are not distributed or tested by the Red Pitaya team and that our team accepts no responsibility. If you’d like to share feedback, report bugs, or need help on contributed projects, apps, or software, we highly recommend contacting the project authors.

Note

The 2.00 Unified OS update has seen registry changes in the FPGA, so, likely, older applications will not work after the OS update (Xilinx also changed how the FPGA is loaded into the FPGA).

1.6.4. Software

For establishing an SSH connection, creating a custom FPGA image, custom ecosystem, and/or custom web applications, please refer to Developers guide Software.

1.6.4.1. How can I acquire data with Red Pitaya?

There are multiple approaches to acquiring data with Red Pitaya. Here is a quick description of each possiblity:
  • Oscilloscope application – The data is acquired at full speed, but all the limitations of a standard oscilloscope apply (currently, the data can only be extracted upon user request via the application. Remote data collection is currently impossible). More info here.

  • SCPI data acquisition (Python, MATLAB, LabVIEW) – Triggered data acquisition. The data is acquired in 16384 sample-long buffers. The code is executed on a computer, and string commands are sent to the Red Pitaya via socket communication. Data is acquired on the Red Pitaya and then sent back as a string that can be converted to a floating-point format. Trigger can be set to either IN1, IN2, or External (also IN3 and IN4 for STEMlab 125-14 4-Input). Trigger level can be specified. The acquisition must be restarted before a new “data buffer” can be acquired. There is a dead time between capturing two consecutive buffers where data is not saved. More details here.

  • API commands (C, Python) – Functions exactly the same as SCPI data acquisition, but it is faster since everything is running on the Red Pitaya board itself (the code is executed on the board). More info here.

  • Streaming application – Continuous data acquisition. The data is streamed from one or both inputs directly to a file on a computer. The data can be acquired indefinitely, but there are speed limitations.

The total data flow at the inputs (IN1 and IN2) must not exceed 20 MB/s when streaming directly to a computer or 10 MB/s when streaming to the SD card. More details on the limitations are available here.
  • Deep Memory (AXI mode) (only OS 2.00-23 – latest Beta) – Long sequence triggered data acquisition. The data can be acquired at different speeds (up to 125 MHz), and it is saved directly into the DDR RAM. The buffer length can be specified by the user but must not exceed 256 MB for both channels. After the acquisition is complete, Red Pitaya needs some time to transfer the whole file to the computer (the RAM must be emptied) before the acquisition can be reset. Functions exactly the same as API commands. More details are available here.

  • Custom Acquisition (FPGA) – Red Pitaya is open-source so any mode above can be customized by the user to tune it to their specific application.

1.6.4.2. How can I generate data with Red Pitaya?

Here are all possible generation options on the Red Pitaya (please be aware of AC coupling limitations on SDRlab 122-16):
  • Oscilloscope application - basic waveform generation. More info here.

  • SCPI commands (Python, MATLAB, LabVIEW), remote control from computer - can generate basic waveforms as well as custom/arbitrary waveforms (defined in a 16384 sample-long buffer which represents one period of the signal - the frequency is calculated for the whole buffer). More details here.

  • API commands (C, Python), on-board program - same functionality as standard SCPI commands, but generally faster and includes the benefit of possible direct communication with the FPGA. More info here.

  • Custom/user-defined (FPGA reprogramming) - Red Pitaya is open-source, so anyone has the option of reprogramming the FPGA image to customise the functionality.

1.6.4.3. How to control Red Pitaya remotely using LabVIEW, MATLAB, and Python?

1.6.4.4. Where can I find the ecosystem, software, and FPGA images?

Note

Impossible. Perhaps the archives are incomplete.

If you need a specific old version of the ecosystem or the OS that is missing from the archives, we suggest you ask the community on the Red Pitaya Forum. There is a chance someone has it lying around on the disk.

1.6.4.5. How to start with FPGA development?

1.6.5. Hardware

For hardware schematics, step models, and specifications, please refer to Developers guide Hardware.

1.6.5.1. Where can I find Red Pitaya schematics, 3D models (.step), and important componetns?

Please take a look at Developers guide Hardware => board model => Schematics, Mechanical Specifications and 3D Models. See the general link above, or board-specific links below.

1.6.5.2. Is there a hardware difference between the STEMlab125-14 and the ISO17025 versions?

No, the hardware is identical. The only difference is that the latter would have been sent to a certification lab and the appropriate measurements would have been made.

1.6.5.3. What are the main differences between different Red Pitaya boards?

Take a look at the board comparison table.

1.6.6. How to report a bug?

Please send us an e-mail at support@redpitaya.com with the following information:

  • The model of Red Pitaya used,

  • Version of Red Pitaya OS,

  • Information about the bug,

  • Clear instructions about how to reproduce it.