On 09/12/2012 10:17 PM, Colin Stagner wrote:
> Greetings all,
> 
> I am trying to update some legacy (gnuradio 3.2 with libusrp)
> python code to run on the latest git release (master, Mon Sep 10
> 08:42:14 2012 -0700). I am using a custom FPGA image for the USRP1.
> The FPGA image implements additional functionality that is
> controlled via the FPGA user registers, such as usrp.FR_USER_0.
> Previously, I could access these registers in Python with the
> 
> u._write_fpga_reg(address, value)
> 
> function, where u is an instantiated libusrp sink, but I can't find
> an equivalent function for USRP-UHD. The closest I can find is 
> usrp.set_user_register(address, value), but this generates an
> exception:
> 
> RuntimeError: LookupError: Path not found in tree:
> /mboards/0/user/regs
> 

This sounds like a pretty strait forward thing to add. Can you
checkout this branch: usrp1_set_user_reg and try to call
set_user_register again?

-josh

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to