On 24/01/2025 01:14, [email protected] wrote:
Hi,
  In uhd_rx_streamer_issue_stream_cmd(rx_streamer,&stream_cmd); function segmentation fault is coming. So, how to resolve this error?


The UHD source includes some examples in C:

rx_samples_c.c
tx_samples_c.c


These examples appear to work just fine.












On 2025-01-24 01:04, Marcus D. Leech wrote:
On 24/01/2025 00:33, [email protected] wrote:
Hi,
   Recently, I have bought USRP B205mini board. I am working on it. I have downloaded the UHD driver from the ubuntu package(sudo apt-get install libuhd-dev uhd-host).

   When the board is connected to the PC it is detected when I give the uhd_find_devices it shows the serial,name,product and type.

   So, I have written the code for receiving the data. When I am build the code it doesn't show any error. When I run the program some API functions are working fine. when it reach the uhd_rx_streamer_issue_stream_cmd(rx_streamer,&stream_cmd); and uhd_rx_streamer_recv(rx_streamer, buffs_ptr, SAMPLES_PER_BURST, &rx_metadata, burst_duration, false, &items_received);  it automatically terminates the program.

   When I debug line by line, after reaching the above function it shows like No source available for "uhd_rx_streamer_issue_stream_cmd() at 0x7ffff7227cfe" .  What may be the issue?

   Also I want to configure the GPIO pins in the board. For that I need GPIO bank name, Can you give me the GPIO bank name of this board?


With regards,
Kavinraj.
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
There's also a "gpio" utility in the examples, which includes a "--list-banks" option.

_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to