Stuck in DFU Mode

PS C:\> .\dfu-util-static -d 2b04:d006 -a 0 -s 0x8020000 -D system-part1-0.4.7-photon.bin
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash   "
Downloading to address = 0x08020000, size = 249740

Download    [                         ]   0%            0 bytes
Download    [                         ]   0%            0 bytes
Download    [=                        ]   4%        12288 bytes
Download    [==                       ]   8%        20480 bytes
Download    [==                       ]  11%        28672 bytes
Download    [===                      ]  13%        32768 bytes
Download    [====                     ]  16%        40960 bytes
Download    [=====                    ]  21%        53248 bytes
Download    [=====                    ]  22%        57344 bytes
Download    [======                   ]  24%        61440 bytes
Download    [=======                  ]  29%        73728 bytes
Download    [========                 ]  32%        81920 bytes
Download    [========                 ]  34%        86016 bytes
Download    [=========                ]  36%        90112 bytes
Download    [==========               ]  41%       102400 bytes
Download    [===========              ]  44%       110592 bytes
Download    [============             ]  49%       122880 bytes
Download    [=============            ]  52%       131072 bytes
Download    [=============            ]  55%       139264 bytes
Download    [==============           ]  57%       143360 bytes
Download    [===============          ]  60%       151552 bytes
Download    [================         ]  65%       163840 bytes
Download    [================         ]  67%       167936 bytes
Download    [=================        ]  68%       172032 bytes
Download    [==================       ]  72%       180224 bytes
Download    [===================      ]  77%       192512 bytes
Download    [====================     ]  80%       200704 bytes
Download    [=====================    ]  85%       212992 bytes
Download    [======================   ]  88%       221184 bytes
Download    [=======================  ]  93%       233472 bytes
Download    [======================== ]  96%       241664 bytes
Download    [=========================] 100%       249740 bytes
Download done.
File downloaded successfully
.\dfu-util-static : Invalid DFU suffix signature
At line:1 char:1
+ .\dfu-util-static -d 2b04:d006 -a 0 -s 0x8020000 -D system-part1-0.4. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Invalid DFU suffix signature:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
A valid DFU suffix will be required in a future dfu-util release!!!

PS C:\> .\dfu-util-static -d 2b04:d006 -a 0 -s 0x8060000 -D system-part2-0.4.7-photon.bin
dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash   "
Downloading to address = 0x08060000, size = 169832

Download    [                         ]   0%            0 bytes
Download    [                         ]   0%            0 bytes
Download    [=                        ]   4%         8192 bytes
Download    [==                       ]   9%        16384 bytes
Download    [===                      ]  12%        20480 bytes
Download    [====                     ]  16%        28672 bytes
Download    [=====                    ]  21%        36864 bytes
Download    [======                   ]  24%        40960 bytes
Download    [=======                  ]  28%        49152 bytes
Download    [========                 ]  33%        57344 bytes
Download    [=========                ]  36%        61440 bytes
Download    [==========               ]  41%        69632 bytes
Download    [===========              ]  45%        77824 bytes
Download    [============             ]  48%        81920 bytes
Download    [=============            ]  53%        90112 bytes
Download    [==============           ]  57%        98304 bytes
Download    [===============          ]  60%       102400 bytes
Download    [================         ]  65%       110592 bytes
Download    [=================        ]  69%       118784 bytes
Download    [==================       ]  72%       122880 bytes
Download    [===================      ]  77%       131072 bytes
Download    [====================     ]  82%       139264 bytes
Download    [=====================    ]  84%       143360 bytes
Download    [======================   ]  89%       151552 bytes
Download    [======================   ]  91%       155648 bytes
Download    [=======================  ]  94%       159744 bytes
Download    [======================== ]  96%       163840 bytes
Download    [=========================] 100%       169832 bytes
Download done.
File downloaded successfully
.\dfu-util-static : Invalid DFU suffix signature
At line:1 char:1
+ .\dfu-util-static -d 2b04:d006 -a 0 -s 0x8060000 -D system-part2-0.4. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Invalid DFU suffix signature:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
A valid DFU suffix will be required in a future dfu-util release!!!

Endless blinking yellow in DFU mode…

Have you tried pressing reset?

It took a while, but the Photon went out of DFU Mode and rebooted on it’s own. It then began to run the last sketch uploaded.

Also, I was finally able to repair the device to my account. This was the main issue!

1 Like