I think you only need the first hackrf_spiflash command below. Try just that...
--Patrick ________________________________ From: HackRF-dev <hackrf-dev-boun...@greatscottgadgets.com> on behalf of Michel Bisson <mic...@linuxint.com> Sent: Tuesday, March 20, 2018 8:48 AM To: hackrf-dev@greatscottgadgets.com Subject: [Hackrf-dev] Did I break my HackRF One? Hi, I bought my HackRF One in around 2014 and had no problem with it. I kept it unused for a while and this week after having restarted my Android and the App for it (RF Analyser) I noticed that the app must have been upgraded since the display didn't look the same and kept on freezing when connected to my HackRF One when I tried to change the scan frequency. So I compiled the hackrf program on my Mac in the intent to upgrade the firmware to the latest: release 2007.02.01 Using the compiled tools I got the following info from the unit: #> hackrf_info hackrf_info version: unknown libhackrf version: unknown (0.5) Found HackRF Index: 0 Board ID Number: 2 (HackRF One) Firmware Version: 2014.08.1 (API:1.00) Part ID Number: 0xa000cb3c 0x006e476a Trying to sweep with this command gave me the following: #> hackrf_sweep -f1:3000 -w100000 -l32 -g8 call hackrf_sample_rate_set(20.000 MHz) call hackrf_baseband_filter_bandwidth_set(15.000 MHz) Sweeping from 1 MHz to 3001 MHz hackrf_init_sweep() failed: feature not supported by installed firmware (-1005) Obviously something seems to be wrong here. So I then tried to upgrade the firmware as follows: #> hackrf_spiflash -Rw Downloads/hackrf-2017.02.1/firmware-bin/hackrf_one_usb.bin File size 21960 bytes. Erasing SPI flash. Writing 21960 bytes at 0x000000. Reset is not supported by firmware API 1.00 and then: #> hackrf_spiflash -Rw Downloads/hackrf-2017.02.1/firmware/cpld/sgpio_if/default.xsvf File size 37629 bytes. Erasing SPI flash. Writing 37629 bytes at 0x000000. Reset is not supported by firmware API 1.00 I then asked for the new firmware version with hackrf_info but it hadn't changed at all. I read that I needed to reset the unit after a firmware upgrade. So I pulled the USB cable out and then back in: BUMMER !! The unit only shows the green power led(3v3) and the red (TX) leds and it is no more seen by the hackrf_info command. Did I break it? Or is there a way to revive it? If not, can I send it to you for a proper (paid)firmware upgrade? Any suggestion or help of any kind would be greatly appreciated. Thanks. -- Michel Bisson Bosestr. 40 12103 Berlin Tel:+49(0)179/290 0541
_______________________________________________ HackRF-dev mailing list HackRF-dev@greatscottgadgets.com https://pairlist9.pair.net/mailman/listinfo/hackrf-dev