Hi Enrico, The line numbers in the traceback don't seem to match UHD 4.6. Can you check if you maybe have different or multiple versions installed? And double check that the rfnoc_image_builder being called is indeed the version for UHD 4.6?
For example, if you installed from source, double check that the install paths match what you get when you type "which rfnoc_image_builder". You can also run "uhd_config_info --version" to see if the reported version matches UND 4.6. Thanks, Wade On Fri, Dec 1, 2023 at 9:21 AM <[email protected]> wrote: > Hi, > > I have UHD version 4.6 installed and am currently trying to follow the RFNOC > tutorial <https://kb.ettus.com/Getting_Started_with_RFNoC_in_UHD_4.0>. I > managed to install everything correctly and then tried to create a > bitstream as shown in the documentation. > > *$ cd <repo>/fpga/usrp3/top/x300/* > > *$ rfnoc_image_builder -y ./x310_rfnoc_image_core.yml -t X310_XG* > > First I get this message: > > *[ERR] FPGA path not found. Specify with --fpga-dir argument.* > > I then modified the command as follows: > > *$ rfnoc_image_builder -F <repo>/fpga -y ./x310_rfnoc_image_core.yml -t > X310_XG* > > At this point I get the following output: > > *[INF] Using FPGA directory <repo>/fpga* > > *[INF] Selected device x310* > > *[INF] Using io_signatures.yml from /usr/local/share/uhd/rfnoc/core.* > > *[INF] Using x310_bsp.yml from /usr/local/share/uhd/rfnoc/core.* > > *[INF] Adding block description from duc.yml > (/usr/local/share/uhd/rfnoc/blocks).* > > *[INF] Adding block description from keep_one_in_n.yml > (/usr/local/share/uhd/rfnoc/blocks).* > > *[INF] Adding block description from axi_ram_fifo.yml > (/usr/local/share/uhd/rfnoc/blocks).* > > *[INF] Adding block description from radio_1x64.yml > (/usr/local/share/uhd/rfnoc/blocks).* > > *Traceback (most recent call last):* > > * File "/usr/local/bin/rfnoc_image_builder", line 240, in <module>* > > * sys.exit(main())* > > * File "/usr/local/bin/rfnoc_image_builder", line 219, in main* > > * image_builder.build_image(* > > * File > "/usr/local/lib/python3/dist-packages/uhd/imgbuilder/image_builder.py", > line 922, in build_image* > > * blocks = read_block_descriptions(signatures_conf, *block_paths)* > > * File > "/usr/local/lib/python3/dist-packages/uhd/imgbuilder/image_builder.py", > line 609, in read_block_descriptions* > > * blocks[filename] = IOConfig(block, signatures)* > > * File > "/usr/local/lib/python3/dist-packages/uhd/imgbuilder/image_builder.py", > line 152, in __init__* > > * expand_io_port_desc(getattr(self, "io_ports"), signatures)* > > * File > "/usr/local/lib/python3/dist-packages/uhd/imgbuilder/image_builder.py", > line 115, in expand_io_port_desc* > > * for signature in signatures[io_port["type"]]["ports"]:* > > *KeyError: 'ctrl_port'* > > > Is anyone aware of any issues with RFNOC and UHD 4.6 (note that I get the > same result with UHD 4.5)? > > Thanks in advance for the help. > > > Enrico > _______________________________________________ > 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]
