usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

RFNOC Block Not found

J
jmaloyan@umass.edu
Wed, May 3, 2023 6:05 PM

Hello,


I currently have a custom RFNOC module. When I try to initialize my block however, I am unable to find it. I get an error that seems to match up with the block id I set on my module, but it still seems that it cannot be found. This is the error that is shown…

[WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID 0xde30, 0xffff

To test if my block was working properly, I used a NOC_ID used for the prepackaged modules and it worked fine, but I would however like to use a seperate NOC_ID for my own modules. I set the NOC ID in my yml file and block_control.cpp file to 0xde30 as per the RFNOC 4.0 Introduction guide.

Thanks

Joe

Hello, \ I currently have a custom RFNOC module. When I try to initialize my block however, I am unable to find it. I get an error that seems to match up with the block id I set on my module, but it still seems that it cannot be found. This is the error that is shown… `[WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID 0xde30, 0xffff` To test if my block was working properly, I used a NOC_ID used for the prepackaged modules and it worked fine, but I would however like to use a seperate NOC_ID for my own modules. I set the NOC ID in my yml file and block_control.cpp file to 0xde30 as per the RFNOC 4.0 Introduction guide. Thanks Joe
BP
Brian Padalino
Wed, May 3, 2023 7:17 PM

On Wed, May 3, 2023 at 2:07 PM jmaloyan@umass.edu wrote:

Hello,

I currently have a custom RFNOC module. When I try to initialize my block
however, I am unable to find it. I get an error that seems to match up with
the block id I set on my module, but it still seems that it cannot be
found. This is the error that is shown…

[WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID 0xde30,
0xffff

To test if my block was working properly, I used a NOC_ID used for the
prepackaged modules and it worked fine, but I would however like to use a
seperate NOC_ID for my own modules. I set the NOC ID in my yml file and
block_control.cpp file to 0xde30 as per the RFNOC 4.0 Introduction guide.

What is the output of uhd_usrp_probe?  Do you see your block listed there?

Brian

On Wed, May 3, 2023 at 2:07 PM <jmaloyan@umass.edu> wrote: > Hello, > > > I currently have a custom RFNOC module. When I try to initialize my block > however, I am unable to find it. I get an error that seems to match up with > the block id I set on my module, but it still seems that it cannot be > found. This is the error that is shown… > > [WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID 0xde30, > 0xffff > > To test if my block was working properly, I used a NOC_ID used for the > prepackaged modules and it worked fine, but I would however like to use a > seperate NOC_ID for my own modules. I set the NOC ID in my yml file and > block_control.cpp file to 0xde30 as per the RFNOC 4.0 Introduction guide. > What is the output of uhd_usrp_probe? Do you see your block listed there? Brian
J
jmaloyan@umass.edu
Wed, May 3, 2023 8:02 PM

This is the output of uhd_usrp_probe

/

|      Device: N300-Series Device

|    _____________________________________________________

|    /

|  |      Mboard: ni-n3xx-3255102

|  |  dboard_0_pid: 338

|  |  dboard_0_serial: 3252A17

|  |  dboard_1_pid: 338

|  |  dboard_1_serial: 3252A18

|  |  eeprom_version: 3

|  |  fs_version: 20230131233809

|  |  mender_artifact: v4.4.0.0_n3xx

|  |  mpm_sw_version: 4.4.0.0-g5fac246b

|  |  pid: 16962

|  |  product: n320

|  |  rev: 10

|  |  rpc_connection: remote

|  |  serial: 3255102

|  |  type: n3xx

|  |  MPM Version: 4.4

|  |  FPGA Version: 8.1

|  |  FPGA git hash: 5fac246.dirty

|  |  RFNoC capable: Yes

|  |

|  |  Time sources:  internal, external, gpsdo, sfp0

|  |  Clock sources: external, internal, gpsdo

|  |  Sensors: ref_locked, gps_locked, temp, fan, gps_gpgga, gps_sky, gps_time, gps_tpv

|    _____________________________________________________

|    /

|  |      RFNoC blocks on this device:

|  |

|  |  * 0/Block#0

|  |  * 0/Block#1

|  |  * 0/Radio#0

|  |  * 0/Radio#1

|  |  * 0/Replay#0

|    ________________

This is the output of uhd_usrp_probe / | Device: N300-Series Device | _____________________________________________________ | / | | Mboard: ni-n3xx-3255102 | | dboard_0_pid: 338 | | dboard_0_serial: 3252A17 | | dboard_1_pid: 338 | | dboard_1_serial: 3252A18 | | eeprom_version: 3 | | fs_version: 20230131233809 | | mender_artifact: v4.4.0.0_n3xx | | mpm_sw_version: 4.4.0.0-g5fac246b | | pid: 16962 | | product: n320 | | rev: 10 | | rpc_connection: remote | | serial: 3255102 | | type: n3xx | | MPM Version: 4.4 | | FPGA Version: 8.1 | | FPGA git hash: 5fac246.dirty | | RFNoC capable: Yes | | | | Time sources: internal, external, gpsdo, sfp0 | | Clock sources: external, internal, gpsdo | | Sensors: ref_locked, gps_locked, temp, fan, gps_gpgga, gps_sky, gps_time, gps_tpv | _____________________________________________________ | / | | RFNoC blocks on this device: | | | | \* 0/Block#0 | | \* 0/Block#1 | | \* 0/Radio#0 | | \* 0/Radio#1 | | \* 0/Replay#0 | ________________
BP
Brian Padalino
Wed, May 3, 2023 8:21 PM

Try doing:

uhd_usrp_probe --interactive-ref-iface 0/Block#0

And inside there, try:

peek32 0

What does it print out?  Does it match your NOC_ID in your controller?

Brian

On Wed, May 3, 2023 at 4:03 PM jmaloyan@umass.edu wrote:

This is the output of uhd_usrp_probe

/

| Device: N300-Series Device

| _____________________________________________________

| /

| | Mboard: ni-n3xx-3255102

| | dboard_0_pid: 338

| | dboard_0_serial: 3252A17

| | dboard_1_pid: 338

| | dboard_1_serial: 3252A18

| | eeprom_version: 3

| | fs_version: 20230131233809

| | mender_artifact: v4.4.0.0_n3xx

| | mpm_sw_version: 4.4.0.0-g5fac246b

| | pid: 16962

| | product: n320

| | rev: 10

| | rpc_connection: remote

| | serial: 3255102

| | type: n3xx

| | MPM Version: 4.4

| | FPGA Version: 8.1

| | FPGA git hash: 5fac246.dirty

| | RFNoC capable: Yes

| |

| | Time sources: internal, external, gpsdo, sfp0

| | Clock sources: external, internal, gpsdo

| | Sensors: ref_locked, gps_locked, temp, fan, gps_gpgga, gps_sky,
gps_time, gps_tpv

| _____________________________________________________

| /

| | RFNoC blocks on this device:

| |

| | * 0/Block#0

| | * 0/Block#1

| | * 0/Radio#0

| | * 0/Radio#1

| | * 0/Replay#0

| ________________


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

Try doing: uhd_usrp_probe --interactive-ref-iface 0/Block#0 And inside there, try: peek32 0 What does it print out? Does it match your NOC_ID in your controller? Brian On Wed, May 3, 2023 at 4:03 PM <jmaloyan@umass.edu> wrote: > This is the output of uhd_usrp_probe > > > / > > | Device: N300-Series Device > > | _____________________________________________________ > > | / > > | | Mboard: ni-n3xx-3255102 > > | | dboard_0_pid: 338 > > | | dboard_0_serial: 3252A17 > > | | dboard_1_pid: 338 > > | | dboard_1_serial: 3252A18 > > | | eeprom_version: 3 > > | | fs_version: 20230131233809 > > | | mender_artifact: v4.4.0.0_n3xx > > | | mpm_sw_version: 4.4.0.0-g5fac246b > > | | pid: 16962 > > | | product: n320 > > | | rev: 10 > > | | rpc_connection: remote > > | | serial: 3255102 > > | | type: n3xx > > | | MPM Version: 4.4 > > | | FPGA Version: 8.1 > > | | FPGA git hash: 5fac246.dirty > > | | RFNoC capable: Yes > > | | > > | | Time sources: internal, external, gpsdo, sfp0 > > | | Clock sources: external, internal, gpsdo > > | | Sensors: ref_locked, gps_locked, temp, fan, gps_gpgga, gps_sky, > gps_time, gps_tpv > > | _____________________________________________________ > > | / > > | | RFNoC blocks on this device: > > | | > > | | * 0/Block#0 > > | | * 0/Block#1 > > | | * 0/Radio#0 > > | | * 0/Radio#1 > > | | * 0/Replay#0 > > | ________________ > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >
BP
Brian Padalino
Wed, May 3, 2023 8:22 PM

Mistype:

uhd_usrp_probe --interactive-reg-iface 0/Block#0

... also assuming 0/Block#0 and 0/Block#1 are the same and your own custom
blocks.

Unsure if this assumption is correct.

Brian

On Wed, May 3, 2023 at 4:21 PM Brian Padalino bpadalino@gmail.com wrote:

Try doing:

uhd_usrp_probe --interactive-ref-iface 0/Block#0

And inside there, try:

peek32 0

What does it print out?  Does it match your NOC_ID in your controller?

Brian

On Wed, May 3, 2023 at 4:03 PM jmaloyan@umass.edu wrote:

This is the output of uhd_usrp_probe

/

| Device: N300-Series Device

| _____________________________________________________

| /

| | Mboard: ni-n3xx-3255102

| | dboard_0_pid: 338

| | dboard_0_serial: 3252A17

| | dboard_1_pid: 338

| | dboard_1_serial: 3252A18

| | eeprom_version: 3

| | fs_version: 20230131233809

| | mender_artifact: v4.4.0.0_n3xx

| | mpm_sw_version: 4.4.0.0-g5fac246b

| | pid: 16962

| | product: n320

| | rev: 10

| | rpc_connection: remote

| | serial: 3255102

| | type: n3xx

| | MPM Version: 4.4

| | FPGA Version: 8.1

| | FPGA git hash: 5fac246.dirty

| | RFNoC capable: Yes

| |

| | Time sources: internal, external, gpsdo, sfp0

| | Clock sources: external, internal, gpsdo

| | Sensors: ref_locked, gps_locked, temp, fan, gps_gpgga, gps_sky,
gps_time, gps_tpv

| _____________________________________________________

| /

| | RFNoC blocks on this device:

| |

| | * 0/Block#0

| | * 0/Block#1

| | * 0/Radio#0

| | * 0/Radio#1

| | * 0/Replay#0

| ________________


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

Mistype: uhd_usrp_probe --interactive-reg-iface 0/Block#0 ... also assuming 0/Block#0 and 0/Block#1 are the same and your own custom blocks. Unsure if this assumption is correct. Brian On Wed, May 3, 2023 at 4:21 PM Brian Padalino <bpadalino@gmail.com> wrote: > Try doing: > > uhd_usrp_probe --interactive-ref-iface 0/Block#0 > > And inside there, try: > > peek32 0 > > What does it print out? Does it match your NOC_ID in your controller? > > Brian > > On Wed, May 3, 2023 at 4:03 PM <jmaloyan@umass.edu> wrote: > >> This is the output of uhd_usrp_probe >> >> >> / >> >> | Device: N300-Series Device >> >> | _____________________________________________________ >> >> | / >> >> | | Mboard: ni-n3xx-3255102 >> >> | | dboard_0_pid: 338 >> >> | | dboard_0_serial: 3252A17 >> >> | | dboard_1_pid: 338 >> >> | | dboard_1_serial: 3252A18 >> >> | | eeprom_version: 3 >> >> | | fs_version: 20230131233809 >> >> | | mender_artifact: v4.4.0.0_n3xx >> >> | | mpm_sw_version: 4.4.0.0-g5fac246b >> >> | | pid: 16962 >> >> | | product: n320 >> >> | | rev: 10 >> >> | | rpc_connection: remote >> >> | | serial: 3255102 >> >> | | type: n3xx >> >> | | MPM Version: 4.4 >> >> | | FPGA Version: 8.1 >> >> | | FPGA git hash: 5fac246.dirty >> >> | | RFNoC capable: Yes >> >> | | >> >> | | Time sources: internal, external, gpsdo, sfp0 >> >> | | Clock sources: external, internal, gpsdo >> >> | | Sensors: ref_locked, gps_locked, temp, fan, gps_gpgga, gps_sky, >> gps_time, gps_tpv >> >> | _____________________________________________________ >> >> | / >> >> | | RFNoC blocks on this device: >> >> | | >> >> | | * 0/Block#0 >> >> | | * 0/Block#1 >> >> | | * 0/Radio#0 >> >> | | * 0/Radio#1 >> >> | | * 0/Replay#0 >> >> | ________________ >> _______________________________________________ >> USRP-users mailing list -- usrp-users@lists.ettus.com >> To unsubscribe send an email to usrp-users-leave@lists.ettus.com >> >
RK
Rob Kossler
Thu, May 4, 2023 6:08 PM

Hi Joe,
It sounds like you wrote a block controller.  If not then this will need to
be done.  If so, then it is likely UHD is just not loading your block
controller (assuming it is compiled OOT).  If you set UHD_MODULE_PATH env
var to point to your dynamic library, then UHD will find it (but you will
want only this file in that folder because it will try to load every file
as a library).  Or, you can link to your library when you link your custom
app. Let me know if this doesn't make sense.
Rob

On Wed, May 3, 2023 at 4:23 PM Brian Padalino bpadalino@gmail.com wrote:

Mistype:

uhd_usrp_probe --interactive-reg-iface 0/Block#0

... also assuming 0/Block#0 and 0/Block#1 are the same and your own custom
blocks.

Unsure if this assumption is correct.

Brian

On Wed, May 3, 2023 at 4:21 PM Brian Padalino bpadalino@gmail.com wrote:

Try doing:

uhd_usrp_probe --interactive-ref-iface 0/Block#0

And inside there, try:

peek32 0

What does it print out?  Does it match your NOC_ID in your controller?

Brian

On Wed, May 3, 2023 at 4:03 PM jmaloyan@umass.edu wrote:

This is the output of uhd_usrp_probe

/

| Device: N300-Series Device

| _____________________________________________________

| /

| | Mboard: ni-n3xx-3255102

| | dboard_0_pid: 338

| | dboard_0_serial: 3252A17

| | dboard_1_pid: 338

| | dboard_1_serial: 3252A18

| | eeprom_version: 3

| | fs_version: 20230131233809

| | mender_artifact: v4.4.0.0_n3xx

| | mpm_sw_version: 4.4.0.0-g5fac246b

| | pid: 16962

| | product: n320

| | rev: 10

| | rpc_connection: remote

| | serial: 3255102

| | type: n3xx

| | MPM Version: 4.4

| | FPGA Version: 8.1

| | FPGA git hash: 5fac246.dirty

| | RFNoC capable: Yes

| |

| | Time sources: internal, external, gpsdo, sfp0

| | Clock sources: external, internal, gpsdo

| | Sensors: ref_locked, gps_locked, temp, fan, gps_gpgga, gps_sky,
gps_time, gps_tpv

| _____________________________________________________

| /

| | RFNoC blocks on this device:

| |

| | * 0/Block#0

| | * 0/Block#1

| | * 0/Radio#0

| | * 0/Radio#1

| | * 0/Replay#0

| ________________


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

Hi Joe, It sounds like you wrote a block controller. If not then this will need to be done. If so, then it is likely UHD is just not loading your block controller (assuming it is compiled OOT). If you set UHD_MODULE_PATH env var to point to your dynamic library, then UHD will find it (but you will want only this file in that folder because it will try to load every file as a library). Or, you can link to your library when you link your custom app. Let me know if this doesn't make sense. Rob On Wed, May 3, 2023 at 4:23 PM Brian Padalino <bpadalino@gmail.com> wrote: > Mistype: > > uhd_usrp_probe --interactive-reg-iface 0/Block#0 > > ... also assuming 0/Block#0 and 0/Block#1 are the same and your own custom > blocks. > > Unsure if this assumption is correct. > > Brian > > On Wed, May 3, 2023 at 4:21 PM Brian Padalino <bpadalino@gmail.com> wrote: > >> Try doing: >> >> uhd_usrp_probe --interactive-ref-iface 0/Block#0 >> >> And inside there, try: >> >> peek32 0 >> >> What does it print out? Does it match your NOC_ID in your controller? >> >> Brian >> >> On Wed, May 3, 2023 at 4:03 PM <jmaloyan@umass.edu> wrote: >> >>> This is the output of uhd_usrp_probe >>> >>> >>> / >>> >>> | Device: N300-Series Device >>> >>> | _____________________________________________________ >>> >>> | / >>> >>> | | Mboard: ni-n3xx-3255102 >>> >>> | | dboard_0_pid: 338 >>> >>> | | dboard_0_serial: 3252A17 >>> >>> | | dboard_1_pid: 338 >>> >>> | | dboard_1_serial: 3252A18 >>> >>> | | eeprom_version: 3 >>> >>> | | fs_version: 20230131233809 >>> >>> | | mender_artifact: v4.4.0.0_n3xx >>> >>> | | mpm_sw_version: 4.4.0.0-g5fac246b >>> >>> | | pid: 16962 >>> >>> | | product: n320 >>> >>> | | rev: 10 >>> >>> | | rpc_connection: remote >>> >>> | | serial: 3255102 >>> >>> | | type: n3xx >>> >>> | | MPM Version: 4.4 >>> >>> | | FPGA Version: 8.1 >>> >>> | | FPGA git hash: 5fac246.dirty >>> >>> | | RFNoC capable: Yes >>> >>> | | >>> >>> | | Time sources: internal, external, gpsdo, sfp0 >>> >>> | | Clock sources: external, internal, gpsdo >>> >>> | | Sensors: ref_locked, gps_locked, temp, fan, gps_gpgga, gps_sky, >>> gps_time, gps_tpv >>> >>> | _____________________________________________________ >>> >>> | / >>> >>> | | RFNoC blocks on this device: >>> >>> | | >>> >>> | | * 0/Block#0 >>> >>> | | * 0/Block#1 >>> >>> | | * 0/Radio#0 >>> >>> | | * 0/Radio#1 >>> >>> | | * 0/Replay#0 >>> >>> | ________________ >>> _______________________________________________ >>> USRP-users mailing list -- usrp-users@lists.ettus.com >>> To unsubscribe send an email to usrp-users-leave@lists.ettus.com >>> >> _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >