On 24/01/2025 00:33, kavin...@atindriya.co.in 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?
That just means that the debugger doesn't know where to find the source
code. If the program automatically terminated, you
likely passed an argument with a wild pointer that pointed at invalid
memory. That's just a programming in C/C++ question.
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?
See here:
https://files.ettus.com/manual/page_gpio_api.html#xgpio_fpanel_xample
There's a "get_gpio_banks()" function that can show you bank name(s).
With regards,
Kavinraj.
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com