Hello!
I have a P2 module on our PCB that is stuck in DFU mode. I found a number of threads mentioning this and tried the following:
particle update it successfully flashes p2-system-part1@6.2.5 but hangs at “switching device to normal mode”
web restore from https://docs.particle.io/tools/device-restore/device-restore-usb/ it appears to do the same as the commandline version; device system os part 1 and user firmware both show checkmarks then it reboots immediately back to DFU and the web tool hangs
Anything else I should try?
It's unlikely you will be able to recover the device without using SWD on the D6 and D7 pins. The problem is that bootloader cannot be flashed in DFU mode, because the DFU mode runs out of the bootloader. It's normally flashed in normal operating mode over USB, but since the device does not, for whatever reason, have a functional Device OS on it, it can't boot into normal mode.
A SWD/JTAG debugger can update the bootloader without having Device OS present.
1 Like
I do have an unpopulated SWD breakout on the PCB which I can populate and try out. Is this the tool I should try when I get the debugger connected? https://docs.particle.io/tools/device-restore/device-restore-jtag/
That's the web-based tool, but you can also use the OpenOCD command line tool. There's more information in the SWD/JTAG page.
1 Like