[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:438] bladerf2_open: invalid FPGA size: 115

Discussions related to schematic capture, PCB layout, signal integrity, and RF development

Moderator: robert.ghilduta

Post Reply
Sharawy
Posts: 1
Joined: Thu Mar 24, 2022 2:51 am

[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:438] bladerf2_open: invalid FPGA size: 115

Post by Sharawy »

Hello

We have purchased a bladeRF kit (bladeRF 2.0 micro xA5) from Nuand and
then we got a problem while installing it on our ubuntu 20.04 system,
the error that we have is as follows , knowing that the actual size is
77 KLE

[ERROR @
host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:438]
bladerf2_open: invalid FPGA size: 115

Error: An unexpected error occurred

So we tried to use the recovery command to re-burn the latest firmware
(bladeRF_fw_v2.4.0.img) following the instructions stated in the
following link, but when we reach the 8th step which is "open" we got
the above error.

https://github.com/Nuand/bladeRF/wiki/U ... ry_command

Note: first we were using older (not the latest) versions of the
libbladeRf libraries and tried to install the kit so we got warnings
about using older versions of that library, but when we updated all the
libraries we got the mentioned error.

So please, we are asking for help to solve this problem
robert.ghilduta
Posts: 102
Joined: Thu Feb 28, 2013 11:14 pm

Re: [ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:438] bladerf2_open: invalid FPGA size: 115

Post by robert.ghilduta »

Ensure there is no RBF in the config, local directory, or the auto load directory, and go into bladeRF-cli -i and run "flash_init_cal A5 0x1c71".

If that doesn't work, you may want to set environmental variable BLADERF_FORCE_NO_FPGA_PRESENT to 1 by running "export BLADERF_FORCE_NO_FPGA_PRESENT=1" and rerunning the bladeRF-cli -i and flash_init_cal commands.
Post Reply