Page 1 of 1

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

Posted: Thu Mar 24, 2022 3:12 am
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

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

Posted: Wed Apr 06, 2022 11:21 pm
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.

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

Posted: Mon Apr 20, 2026 12:15 am
by jonathanlong
Sharawy wrote: Thu Mar 24, 2022 3:12 am 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 geometry dash lite

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
If the device still won’t open, it could be stuck in an inconsistent state, and forcing a clean reflash of both firmware and FPGA with matching versions is usually the fix.
Also worth checking: are you 100% sure your board is xA5 and not xA4? That mismatch would explain the error directly