Reports until 09:45, Friday 24 May 2024
Controls FPGA
Jeffrey Wack - posted 09:45, Friday 24 May 2024 - last comment - 11:58, Friday 31 May 2024(11611)
Connecting to Red Pitaya with PYNQ image

First, I downloaded the image found here (DSP sandbox PYNQ-Red Pitaya) and wrote it to a micro SD card. After that I connected the Red Pitaya to:

1. Power (micro USB)

2. Serial connection to computer (micro USB)

3. Ethernet connection to router

Then, I went to "http://pynq:9090" I was met with a jupyter notebook password screen. The password is "xilinx".

In the jupyter menu you can open a terminal to access the red pitayas Linux system. I followed the instructions here (PYNQ getting started) to change the host name to "pynqpitaya"

I ran the command "ifconfig". There are multiple IP addresses. Why?

The address that allows one to ssh or scp onto this red pitaya is 192.168.50.14, which corresponds to "eth0" rather than "eth0:1"

After using scp to get the analog echo bitfile and notebook from Chris' logpost onto the board, I ran the notebook. The first cell runs successfully, and a blue light comes on the red pitaya. However the cell with the write statement never executes. When I measure the DAC outputs on an oscilloscope, they measure about +1V and -1V. No response is seen to an input pulse on ADC 1.

 

Comments related to this report
Jeffrey Wack - 11:58, Friday 31 May 2024 (11619)

Today I tried this procedure again with a new SD card, and the result was the same. There is still no echo from the Red Pitaya. Here are three possible explanations:

1) The Red Pitaya I have is broken. I don't like this explaination because I am able to log into the Jupyter notebook and run the first cell without any issue.

2) There is something wrong with my procedure for writing the PYNQ image to an SD card which I have repeated each time. Like the last idea, this seems implausible due to the fact that the booting the system and accessing the jupyter notebooks works fine.

3) there is some difference, either between the bit file and the board, or between the bit file and the PYNQ image, which is causing things to work differently than on Chris' system. My board is a Red Pitaya STEMlab 125-14 LN. The PYNQ image is Pynq-Redpitaya-125-14-3.0.1.img