I’ve installed the bladerf_win_installer and when I start the CLI I get this error message:
Failed to open device ((null)): Misaligned flash access
Does any know how I can fix this problem?
Thanks
Sukkin
M1AFD
[Solved] Misaligned flash access problem
-
- Posts: 455
- Joined: Thu Jun 06, 2013 8:15 pm
Re: Misaligned flash access problem
Hi there,
I think you're seeing two issues here:
On the second item, one common issue people run into is that their firmware that's too old for the libbladeRF that the installer provided. Upgrading your firmware might be worth a shot. (We know it's rather crappy that the library isn't smart enough detect and report, "Hey, your firmware is too old!" -- that's an important TO DO item, now that some functionality for identifying FW/FPGA versions exists.)
In addition to trying the firmware update, mind posting back the output for running the bladeRF-cli with verbose output?
- Jon
I think you're seeing two issues here:
- A libusb error code has been misinterpreted as a libbladeRF error code. That "Misaligned flash access" error message corresponds to bladeRF error code -9 being passed to bladerf_strerror(). In libusb-land, -9 corresponds to LIBUSB_ERROR_PIPE.
- Whatever the underlying issue is that is causing libusb to fail
On the second item, one common issue people run into is that their firmware that's too old for the libbladeRF that the installer provided. Upgrading your firmware might be worth a shot. (We know it's rather crappy that the library isn't smart enough detect and report, "Hey, your firmware is too old!" -- that's an important TO DO item, now that some functionality for identifying FW/FPGA versions exists.)
In addition to trying the firmware update, mind posting back the output for running the bladeRF-cli with verbose output?
Code: Select all
bladeRF-cli -i -v verbose
-
- Posts: 2
- Joined: Fri Mar 07, 2014 4:23 pm
Re: Misaligned flash access problem
Hi Jon,
I think I had an Windows 7 installation problem. I ticked the Upgrade firmware checkbox and during the firmware upgrade the progress bar didn't really move and it just said finished.
I had to use Force Cypress Bootloader. That didn't work at first because I was using the USB 3 cable. After changing it to an USB2 cable the firmware upgraded ok. I loaded the fpga and the SDR-Radio.
The fun now starts.
Many thanks for your help.
Sukkin
M1AFD
I think I had an Windows 7 installation problem. I ticked the Upgrade firmware checkbox and during the firmware upgrade the progress bar didn't really move and it just said finished.
I had to use Force Cypress Bootloader. That didn't work at first because I was using the USB 3 cable. After changing it to an USB2 cable the firmware upgraded ok. I loaded the fpga and the SDR-Radio.
The fun now starts.
Many thanks for your help.
Sukkin
M1AFD