srsran / zynq_timestamping

Open source Zynq timestamping implementation from Software Radio Systems (SRS)
https://srsran.github.io/zynq_timestamping/index.html
GNU Affero General Public License v3.0
55 stars 15 forks source link

AntSDR Error refilling buf -9 #24

Closed alphafox02 closed 1 year ago

alphafox02 commented 1 year ago

Setup: 22.04 Ubuntu (DragonOS) running on a Valve Steam Deck. Libiio and other analog requirements were from repo, libiio23, however I also tried 24. Firmware on the AntSDR was the latest available as of yesterday on the AntSDR GitHub page, BIN was replaced with timestamping pre-built file. The AntSDR was within about a foot of a b205mini in a contained space, everything was run on the Steam Deck itself.

Expectation: AntSDR connects as a UE to the b205mini.

Result: AntSDR had what seems to be no issue starting up with the exception of Failed to create the rf_port with A_BALENCED and A. However, after finding the cell it would go between line after line of . or something along the lines of the following

Setting manual TX/RX offset to 82 samples ERROR: READ ALL: -9 ERROR: READ INTEGER: -9

and then eventually spamming all red with the following /home/dragon/zynq_timestamping/sw/lib/src/phy/rf/rf_iio_imp.c:796: Error refilling buf -9

After which I would ctrl-c and start it all over. I could do this maybe 3-4 times or so before the AntSDR became unresponsive and I would have to reboot it and try again. No connection has been made between the AntSDR and b205mini (yet). I plan to move on to running everything on my laptop next.

alphafox02 commented 1 year ago

After moving the same exact setup detailed above over to a much more powerful laptop I am no longer seeing the issue I mentioned. I am however seeing the Random Transmission Termination and up to 5/5 failed connection attempts which is most likely something on my end I need to take care of.

Closing this out as moving to more powerful hardware, or so it seems, resolved the issue.