[USRP-users] Custom block not working properly

2022-05-10 Thread Maxime . Dupont

Hi,

I followed the tutorial "Getting started with RFNoc4" for making the 
demo block as suggested in the tutorial. I am working with uhd version 
4.2 and a x310


I can build a FPGA image with the OOT block just fine and I get the 
expected uhd_usrp_probe output:


   | _
   |/
   |   |   RFNoC blocks on this device:
   ...
   |   |   * 0/Block#0
   ...
   | _
   |/
   |   |   Static connections on this device:
   ...
   |   |   * 0/SEP#4:0==>0/Block#0:0
   |   |   * 0/Block#0:0==>0/SEP#4:0
   ...

I succeed in creating my own RFNoc demo block using modtool but actually 
working with it with the cpp file in the app/ directory fails.


Even after modifying most of the CMakefiles files inthe example 
directory (replacing "gain" by "demo") I reach the point where I get the 
following error:


Error: LookupError: This device does not have a block of type 
rfnoc::demo::demo_block_control with ID: 0/Demo#0


So my questions are how can I make my process detect my demo block? What 
should I change in my uhd lib and include if there is a need to? And is 
there maybe a full tutorial delving into the process of making and 
driving a custom block using c++?


Thanks in advance
Maxime
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] problem using rfnoc blocks under gnuradio-companion

2022-05-24 Thread Maxime . Dupont

Hi,

Whenever I want to use rfnoc blocks under gnuradio-companion I get the 
following error :


'top_block_sptr' object has no attribute 'rfnoc_graph'

C++ applications all work fine as long as they don't involve custom 
blocks (else no custom block controller is found. I don't know if it is 
linked)


I installed uhd 4.2, gnuradio3.8.5 and gr-ettusĀ  from source

I don't understand why I get this error?

Regards,
Maxime
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] no loopback with rfnoc radio blocks

2022-06-08 Thread Maxime . Dupont

Hi,

I designed the following flowgraph just to make sure I could receive, 
process and transmit but even a simple receive and transmit doesn't 
work. I get no graph error and the gui pops up as it would normally do. 
However, the x310 I use doesn't do the job and seems inactive (no rx tx 
led on). Daughterboards are basicRX and basicTX both plugged in the A 
slots right now but switching and crossing channels doesn't change anything.


What am I missing?

Cheers,
Maxime
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com