[Hackrf-dev] Firmware not stored in SPI flash after fw. update

Dominic Spill dominicgs at gmail.com
Wed Jul 29 18:08:29 EDT 2015


On 29 July 2015 at 08:13, Søren Løkkegaard <huginsvej1 at hotmail.com> wrote:
>
> Tried to update firmware to latest build 2015.07.2 using the described
> procedure. After updating the spectrum is inverted and frequencies doesn't
> match anymore.

The CPLD also needs to be updated to solve the spectrum inversion.  If
you are using the 2015.07.2 host tools then you will need the
2015.07.2 firmware already running on the HackRF in order to update
the CPLD.

> Then I tried the dfu-util method.
> Now hackrf_info showed the correct firmware in RAM.
> Running the "hackrf_spiflash -w hackrf_one_usb_rom_to_ram.bin" just erased
> the SPI flash leaving it empty.

I haven't seen that before, I'm surprised that erase worked but the write fails.

> Only way to get it running is by dfu-util uploading the firmware to RAM and
> keep the unit powered.
> I have checked the SPI flash pins with an oscilloscope. Clock, data and
> control signals occurs as expected. The voltages also looks right. I'm not
> able to check the timing.
>
> Any suggestions of how to cure the problem?

It sounds like a problem between the LPC4320 and the flash chip.  Is
it a HackRF One?


More information about the HackRF-dev mailing list