Project

General

Profile

Actions

Bug #3350

closed

DFU flashing unstability

Added by tsaitgaist almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
06/15/2018
Due date:
% Done:

100%

Spec Reference:

Description

In some cases (~3%), while flashing the main application through the DFU bootloader, the download progress halts.
GDB reports the stacks being corrupted, making it hard to debug.

dfu-util log:
Copying data from PC to DFU device
Download> [=========== ] 45% 13824 bytesdfu-util: Error during download
dfu-util: can't detach

serial output:
dnload(altif=1, offset=13824, len=512)
D Translated 0x00407600 to page=118 and offset=0
D USBD_RequestHandler
D type=0x1, recipient=0x1 val=0x0 len=6
I DFU: updstatus()
D handle_getstatus(0, 5)
D USBD_RequestHandler
D type=0x1, recipient=0x1 val=0x1c len=512
D COMPLETE
dnload(altif=1, offset=14336, len=512)
D Translated 0x00407800 to page=120 and offset=0

gdb log:
0x00406764 in ?? ()
(gdb) bt
#0 0x00406764 in ?? ()
#1 0x0040586a in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)