Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HackRF r4-p2 won't stay unbricked #1395

Closed
bgiblet opened this issue Jan 7, 2024 · 9 comments
Closed

HackRF r4-p2 won't stay unbricked #1395

bgiblet opened this issue Jan 7, 2024 · 9 comments
Assignees
Labels
technical support request for technical support

Comments

@bgiblet
Copy link

bgiblet commented Jan 7, 2024

Have you read the HackRF troubleshooting documentation?

yes

What outcome were you hoping for?

HacRF r4-p2 was purchased Jan 2017 from Sparkfun. Just got PortaPack H2+ from Hacker Warehouse, was trying to see something other than a black screen with no success. At some point this morning, the unit bricked and stopped showing up on USB.
Have set aside the PortaPack and just want to get the bare HackRF going again. For this, am using an Ubuntu laptop.

What outcome actually happened?

Have managed to use DFU to load firmware distributions 2015.07.2, 2017-02.1, and 2023.01.1. The 2015 one didn't help. 2017 and 2023 both bring the USB port back online immediately, but USB drops out as soon as the unit is reset or powered down and the unit is not recognized.

What operating systems are you seeing the problem on?

Win7, Ubuntu Linux

What is the output of hackrf_info?

here's the load result:
willam@willam-Inspiron-3593:~/Downloads/hackrf-2017.02.1/firmware-bin$ dfu-util --device 1fc9:000c --download hackrf_one_usb.dfu --reset
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

dfu-util: DFU suffix CRC does not match
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 1fc9:000c
Run-time device DFU version 0100
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0100
Device returned transfer size 2048
Copying data from PC to DFU device
Download [=========================] 100% 21992 bytes
Download done.
dfu-util: unable to read DFU status after completion
dfu-util: can't detach
Resetting USB to switch back to runtime mode

willam@willam-Inspiron-3593:~/Downloads/hackrf-2017.02.1/firmware-bin$ hackrf_info
hackrf_info version: unknown
libhackrf version: unknown (0.6)
Found HackRF
Index: 0
Serial number: 0000000000000000909864c82c356bcf
Board ID Number: 2 (HackRF One)
Firmware Version: 2017.02.1 (API:1.02)
Part ID Number: 0xa000cb3c 0x00554358

after reset, USB LED goes out and it disappears

Are you using any third-party software?

Was using Hackrf with SDR Console on a Win7 laptop, and that continued to work through several attempts at PowerPack installation.

Are you using any third-party hardware?

Portapack

@bgiblet bgiblet added the technical support request for technical support label Jan 7, 2024
@bgiblet
Copy link
Author

bgiblet commented Jan 9, 2024

Really just wondering if anybody has suggestions as to what to try next. I'm wondering if the new firmware is not actually being written to non-volatile memory for some reason?

@martinling
Copy link
Member

Hi @bgiblet,

Using dfu-util will only load firmware into RAM. To write new firmware to flash you need to use hackrf_spiflash. See the Updating Firmware section of the documentation for more info.

@bgiblet
Copy link
Author

bgiblet commented Jan 10, 2024

Megathanks martinling! I seem to be back in business with the latest 2023 ver. It's communicating with both computers on USB.

Tried the Portapack again in hopes that modern firmware would work better with that. No joy so far. That may end up as $200 worth of magic beans getting flogged on ebay. Maybe this HackRF r4 hardware is simply too old? I realize this isn't the place to deal with that though. Any wisdom you care to shed is appreciated.
Thanks again for helping a noob.
BG

@martinling
Copy link
Member

Note that the standard firmware has some basic support for the Portapack: while connected to a host via USB, it will use the display to show a diagram of the RF path, with the frequency and other settings currently in use. If that doesn't show, then that suggests there may be some fault with the Portapack.

The age of the unit should not be relevant. Revisions r1 through r8 are extremely similar, the differences between them are basically minor component substitutions that do not affect firmware compatibility.

@bgiblet
Copy link
Author

bgiblet commented Jan 13, 2024

Martinling, no good deed goes unpunished. Not sure if I should start a new thread, but now when I start the SDR Console on my Windows machine, I get no signal, noise or otherwise. the unit is recognized on USB, and when I start the console, the RX led comes on, but no signals are coming through, dead quiet. I'm wondering if the same event that knocked it out before was a static zap that destroyed a key component. Any suggestions?

@martinling
Copy link
Member

Things to check if there's no signal:

  • Is the antenna connected properly?
  • Is the antenna connector actually RP-SMA instead of SMA?
  • Have you turned up the gain settings?

@bgiblet
Copy link
Author

bgiblet commented Jan 13, 2024

I have an antenna and was using it when receiving using SDR Console. Even without the antenna, I could see noise. Now there's nothing at all. I can try the gain settings, and see in the docs: "A good default setting to start with is RF=0 (off), IF=16, baseband=16".

I'm assuming we use the HackRF tools, but the docs don't go into any detail on how to check or set them. Is there a user guide I'm missing?
Thanks, BG

@straithe
Copy link
Member

I suggest reading the documentation for SDR Console to learn how to change settings.

@straithe
Copy link
Member

I'm closing this as there hasn't been a response in over 30 days. Please re-open this issue or open a new one if you still need assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical support request for technical support
Projects
None yet
Development

No branches or pull requests

3 participants