today i tried to recompile the gateware for the LimeSDR and had some issues after uploading the RBF file. The first thing i tried was to upload the current rfb from the master branch of the gateware repository, therefore not even recompiling the project: https://github.com/myriadrf/LimeSDR-USB_GW/blob/master/output_files/LimeSDR-USB_lms7_trx_HW_1.4.rbf
This was done using LimeSuite GUI (Version 17.10.0) doing the following steps:
- Connect to LimeSDR
- Modules -> Programming
- Select “Altera FPGA” under Device
- Select “Bitsream to Flash” under Programming mode
- Select rbf file using the open button
The programming worked fine and i got the message that the FPGA is reset and i would have to reconnet. After trying to reconnect the GUI freezes and after some seconds i get the following output:
[12:34:27] WARNING: Gateware version mismatch!
Expected gateware version 2, revision 11
But found version 0, revision 0
Follow the FW and FPGA upgrade instructions:
Or run update on the command line: LimeUtil --update
[12:34:52] INFO: Connected Control port: LimeSDR-USB FW:3 HW:4 Protocol:1 GW:0 GW_rev:0 Ref Clk: 30.72 MHz
After that I recompiled the gateware using Quartus 15.1.0 Build 185 under Winows 10 and generated the rbf file using “File->Convert Programming Files” and using the “rbf_file_setup.cof”. This produced the same issues as the precompiled rbf file from the github repo. A short diff showed that both files are exatly the same, which implies that recompiling the project should work. Therefore I had a look at the programming file from automatic updates which is located at: “…\AppData\Roaming\LimeSuite\images\17.10\LimeSDR-USB_HW_1.4_r2.11.rbf”. This file is not the same as the one provided in the github repo/recompiled one and is a few bytes smaller.
Therefore my question is what i am doing wrong and how i can generate a programming file that works. Maybe @Zack can assist? Thank you all in advance.