Initially my USRP X310 came with FPGA Firmware version 13. The SIMULINK 2015b gave error related to incompatible firmware image while using the block SDRuReceiver.
I uploaded the latest image using uhd_image_loader which updated my fpga version to 20.0. Now when I run the SDRuReceiver block, it gives an error saying incompatible FW Version, expected version 3.0 but you have 4.0 version.
I check the host version installed on my PC using getSDRuDriverVersion() command in Matlab which returned "003.008.002-vendor", however the latest firmware I uploaded was 003.0010.104-vendor.
I again uploaded a new fpga image this time making sure its compatible with Matlab host version. When I did that, I got the error:
———- begin libuhd warning message output ———-
X300 unknown product code in EEPROM: 30818
———- end libuhd warning message output ———-
I used the 'findsdru' matlab command to find the cause and it is returning unknown_error. I am aware that for Rev.6 and earlier, the product code for X310 is:"30410" and for Rev. 7 and later, the product code for X310 is: "30818". Upgrading to new UHD will solve the problem as mentioned in http://comments.gmane.org/gmane.comp.hardware.usrp.e100/16175 but it than become incompatible with MATLAB.
Is there any way around to use X310 with latest UHD or with UHD 3.8.2 in MATLAB ?
Best Answer