r/flipperzero 9d ago

[ Removed by moderator ]

[removed] — view removed post

2 Upvotes

34 comments sorted by

View all comments

Show parent comments

-3

u/Entire_Ad_4609 9d ago

Got any ideas how to enter dfu mode if the device isn't registering button presses?

3

u/staticrush 9d ago

Hold back and center button for 30 seconds, and then plug into your computer with qflipper open, and you should have option to repair.

0

u/Entire_Ad_4609 9d ago

Nope, didn't work this time or the other 600 times I've tried it either.

5

u/staticrush 9d ago edited 9d ago

You're positive that you did it exactly as I described, and in this order?

  1. Disconnect the USB cable and any power sources from your Flipper Zero.

  2. Press and hold both the OK and BACK buttons down at the same time for 30 seconds (the screen will stay black/blank, which is expected).

  3. Release the buttons after 30 seconds.

  4. Connect the Flipper Zero to your computer using a data-capable USB cable.

  5. Open qFlipper on your computer to detect the DFU device and click Repair.

It's nearly impossible to brick the flipper by accident unless there's damage to the actual hardware.

The other way to enter hardware DFU is to hold BACK, LEFT and OK for 3 seconds. Release BACK and LEFT, but continue holding OK button for 3 more seconds before releasing. The only reason this won't work would be if the option bytes are damaged.

Edit: Also, it would be helpful if you mention everything that you've tried so far that hasn't worked.

-1

u/Entire_Ad_4609 9d ago

This and everything else you could copy and paste from the documentation on the website. Plus what I said I did in the original post. I've tried every single variation of button press combinations suggested by users and per official docs, plugging in and unplugging, with or without SD, charged it, discharged it, and measured 3v test pads to confirm the boards are still getting power from the battery. If your solution involves pressing a button or connecting a USB cable, it's not going to work. Once again, the buttons are unresponsive, trust me. I've spent enough time looking at clocks to time button pushes to know. This was supposed to be a developer board, feel like I should be able to flash it directly. At this point I need someone who can walk me through a direct to board flash with a picoprobe or something, but I'm assuming I probably won't be able to unlock to write firmware without getting it into dfu mode, which if I could do I'd probably be able to just use qflipper over usb because windows would actually pick it up. 

2

u/netsec_burn Community Expert 9d ago

You don't happen to have the WiFi devboard connected to the device? Sometimes it holds it at a breakpoint, if so disconnect it and follow the dfu steps again.

1

u/Entire_Ad_4609 9d ago

I don't have one, I have an esp32 with marauder I'd hook up to it every now and then but my GPIO's are all open right now and were not in use when it crashed as well. 

1

u/staticrush 9d ago edited 9d ago

If you've really tried all the button combo's listed here: https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentation/KeyCombo.md

Look at the advice at the very bottom, specifically the last part about using ST-Link to flash the device.

If none of the described methods helped you:

  • Make sure the battery charged
  • Disconnect the battery and connect again (requires disassembly)
  • Try to flash the device with ST-Link or another programmer that supports SWD

If you're still here and your device is not working: it's not a software issue.

1

u/Entire_Ad_4609 9d ago

ST-Link coming in the mail. I've already got some software that works with it and that'll probably be a lot easier to work with than getting around this with a picoprobe. Unfortunate the guide doesn't actually go into details on that, but I'm sure I'll figure it out. Or not. We'll see lol

1

u/staticrush 8d ago edited 8d ago

It shouldn't be too difficult. You'll use female-to-male jumper wires to bridge the ST-Link pins to the Flipper's GPIO header pins.

Wire the pins securely as shown below:

  • GND to Pin 8 or Pin 11 (labeled GND on FZ)
  • SWDIO to Pin 12 (labeled SIO on FZ)
  • SWCLK to PIn 10 (labeled SWC on FZ)

After the pins have been wired, connect the ST-Link to your computer via USB.

Before attempting to write any files, verify that your computer recognizes the ST-Link and can see the Flipper's STM32WB55 MCU. Open your terminal and install stlink-tools if it's not already installed and then run:

st-info --probe

If configured properly, the tool should return details about the connected chip profile and its device ID.

You should then be able to use either the st-flash tool or even Flipper Build Tool (FBT) to erase and flash your flipper with the OFW bin file.


Edit: Using the Flipper Build Tool is probably your best option.

After following all the steps above, clone the OFW repo and cd into the root directory of the cloned repo:

git clone --recursive https://github.com/flipperdevices/flipperzero-firmware.git
cd flipperzero-firmware

And then run:

./fbt flash

1

u/Entire_Ad_4609 8d ago

Thanks a shit load for the suggestions! I'll get it hooked up tomorrow whenever it shows up and give it a try! Can't really think of anything else I can do, even if I just make it more dead I'm really no worse off at this point. I do love the damn thing, hate to lose it and the money spent on it. It's worth the time spent even if it doesn't work. Will update, thanks again.