I have a P2 which initially was setup using device setup. I have come back to local flash via USB and the initial flash failed and has left the P2 (on a custom board) flashing dark blue. The device doctor shows from cloud it has 6.3.3 OS loaded whereas Device firmware bootloader 3200, prebooloader-mbr 2, prebootloader-part1 11, system-part1 6.3.4 (6305) and User Part (index1) 6 - no relationship to actual flashed user firmware. If I try to Flash Device (OS and Doctor Firmware) it asked to reconnect but returns to flashing blue and doesn’t enter DFU mode, after a while it shows Flashing prebootloader-part1 and just stays in that state. Is this P2 bricked?
Can you put the device into DFU using the buttons? What about particle usb dfu?
There are buttons (mode and reset) on the board and I can put the device into DFU mode and do a local flash. The issue is that it never gets past 48%.
Switching device to normal mode starts flashing dark blue, then this until timeout
![]()
Using Particle usb dfu
leaves the device flashing dark blue after a period of flashing magenta.
| Device OS | prebootloader-part1 | bootloader | system-part1 |
|---|---|---|---|
| 6.3.3 | 10 | 3101 | 6304 |
| 6.3.4 | 11 | 3200 | 6305 |
prebootloader-mbr is always version 2 and user firmware is always version 6.
It looks like the device successfully upgraded to 6.3.4 but since it hasn't gotten online, the cloud version would be the previous version.
Bootloader and prebootloader-part1 are upgraded from normal operating mode (or safe mode) because they can't be upgraded in DFU mode. If the device does not have credentials, it would go into listening mode but it should still be able to upgrade the parts using USB control requests while in listening mode,
To get it out of this state I would use Device Restore DFU to flash 6.3.3, then try flashing 6.3.4. It could almost certainly be fixed with SWD if you have a debugger and D6 and D7 exposed.
Unfortunately D6 is not available, D7 is not used and goes to a test point.
Doctor fails because it won’t go into DFU mode.
Device Setup also fails because it won’t go into DFU mode.
Something has changed because it now doesn’t stay in DFU mode after using the reset and mode buttons.
I can set wifi credentials using particle wifi but it never joins it just fast flashed blue and back to flashing blue - credentials cleared?
What is Device Restore DFU? Did you mean Device restore over USB? Tried and same issue that it won’t go into DFU mode.
It's not clear why it won't stay in DFU mode, and without being able to flash using SWD, it's also not clear how to fix the problem,
I have got two options 1. Try and get access to the SWD pins (note to self to make these exposed on the next spin of this board and other boards with module down on PCB). 2. Remove the P2 and fit a new one that isn’t in this odd state.