Hello Everyone,

I'm trying to read and write the fpga registers using just libusrp (sorry Eric!).

(1) My write returns "true", but the read returns 0, regardless of which fpga register I read/write to (I've tried a few). For example:

<snip>
if (utx->_write_fpga_reg(FR_ADC_OFFSET_0,0x7777))
<snip>
int readregvalue2 = (utx->_read_fpga_reg(FR_ADC_OFFSET_0));

I must be doing something wrong here.


(2) I believe that the user-defined FPGA registers don't exist in the verilog code. Do I need to add them manually? I was going to do that in usrp_std.v. I'm happy to submit a patch if I get things working where you can IFDEF the extra registers out if you need the space.

-Roshan


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to