Skip to content

Instantly share code, notes, and snippets.

@PoroCYon
Created May 18, 2024 03:04
Show Gist options
  • Save PoroCYon/cf8b2d111263488ee6da7bf31f30c4c0 to your computer and use it in GitHub Desktop.
Save PoroCYon/cf8b2d111263488ee6da7bf31f30c4c0 to your computer and use it in GitHub Desktop.
USBD Udisk
USBD init on controller 0
sizeof(usbd_device_t) = 85
sizeof(dcd_event_t) = 12
sizeof(tu_fifo_t) = 12
sizeof(tu_edpt_stream_t) = 24
DFU init
USBD Bus Reset : High Speed
USBD Setup Received 80 06 00 01 00 00 40 00
Get Descriptor Device
Queue EP 80 with 18 bytes ...
USBD Xfer Complete on EP 80 with 18 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Bus Reset : High Speed
USBD Setup Received 00 05 03 00 00 00 00 00
Set Address
USBD Xfer Complete on EP 80 with 0 bytes
USBD Setup Received 80 06 00 01 00 00 12 00
Get Descriptor Device
Queue EP 80 with 18 bytes ...
USBD Xfer Complete on EP 80 with 18 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 02 00 00 09 00
Get Descriptor Configuration[0]
Queue EP 80 with 9 bytes ...
USBD Xfer Complete on EP 80 with 9 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 02 00 00 1B 00
Get Descriptor Configuration[0]
Queue EP 80 with 27 bytes ...
USBD Xfer Complete on EP 80 with 27 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 02 03 09 04 FF 00
Get Descriptor String[2]
Queue EP 80 with 26 bytes ...
USBD Xfer Complete on EP 80 with 26 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 01 03 09 04 FF 00
Get Descriptor String[1]
Queue EP 80 with 20 bytes ...
USBD Xfer Complete on EP 80 with 20 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 00 09 01 00 00 00 00 00
Set Configuration
DFU opened
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 484 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A 65 00 33 00 33 00 39 00 65 00 33 00 |n]).e.3.3.9.e.3.|
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0040: 21 01 00 00 00 00 E4 01 A0 46 00 20 E4 01 00 00 |!........F. ....|
0050: 42 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |B ..............|
0060: 07 00 00 00 03 00 00 00 00 00 00 00 01 00 00 00 |................|
0070: E4 01 00 00 65 2C 27 77 62 27 29 2E 77 72 69 74 |....e,'wb').writ|
0080: 65 28 64 61 74 61 5B 62 6F 66 66 3A 62 6F 66 66 |e(data[boff:boff|
0090: 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 33 00 39 00 |+blen]).e.3.3.9.|
00A0: 65 00 33 00 00 00 00 00 00 00 00 00 00 00 00 00 |e.3.............|
00B0: 00 00 00 00 21 01 00 00 00 00 E4 01 A0 46 00 20 |....!........F. |
00C0: E4 01 00 00 42 20 00 00 00 00 00 00 00 00 00 00 |....B ..........|
00D0: 00 00 00 00 07 00 00 00 03 00 00 00 00 00 00 00 |................|
00E0: 01 00 00 00 E4 01 00 00 65 2C 27 77 62 27 29 2E |........e,'wb').|
00F0: 77 72 69 74 65 28 64 61 74 61 5B 62 6F 66 66 3A |write(data[boff:|
0100: 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A 65 00 33 00 |boff+blen]).e.3.|
0110: 33 00 39 00 65 00 33 00 00 00 00 00 00 00 00 00 |3.9.e.3.........|
0120: 00 00 00 00 00 00 00 00 21 01 00 00 00 00 E4 01 |........!.......|
0130: A0 46 00 20 E4 01 00 00 42 20 00 00 00 00 00 00 |.F. ....B ......|
0140: 00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 |................|
0150: 00 00 00 00 01 00 00 00 E4 01 00 00 65 2C 27 77 |............e,'w|
0160: 62 27 29 2E 77 72 69 74 65 28 64 61 74 61 5B 62 |b').write(data[b|
0170: 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 6E 5D 29 0A |off:boff+blen]).|
0180: 65 00 33 00 33 00 39 00 65 00 33 00 00 00 00 00 |e.3.3.9.e.3.....|
0190: 00 00 00 00 00 00 00 00 00 00 00 00 21 01 00 00 |............!...|
01A0: 00 00 E4 01 A0 46 00 20 E4 01 00 00 42 20 00 00 |.....F. ....B ..|
01B0: 00 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 |................|
01C0: 03 00 00 00 00 00 00 00 01 00 00 00 E4 01 00 00 |................|
01D0: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
01E0: 74 61 5B 62 |ta[b|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=78265dd4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
00000080: 2865 6164 6174 625b 666f 3a66 6f62 6666
00000090: 622b 656c 5d6e 0a29 0065 0033 0033 0039
000000a0: 0065 0033 0000 0000 0000 0000 0000 0000
000000b0: 0000 0000 0121 0000 0000 01e4 46a0 2000
000000c0: 01e4 0000 2042 0000 0000 0000 0000 0000
000000d0: 0000 0000 0007 0000 0003 0000 0000 0000
000000e0: 0001 0000 01e4 0000 2c65 7727 2762 2e29
000000f0: 7277 7469 2865 6164 6174 625b 666f 3a66
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x200004d0 offset 000000 len 484
00000000: 2c65 7727 2762 2e29 7277 7469 2865 6164
00000010: 6174 625b 666f 3a66 6f62 6666 622b 656c
00000020: 5d6e 0a29 0065 0033 0033 0039 0065 0033
00000030: 0000 0000 0000 0000 0000 0000 0000 0000
00000040: 0121 0000 0000 01e4 46a0 2000 01e4 0000
00000050: 2042 0000 0000 0000 0000 0000 0000 0000
00000060: 0007 0000 0003 0000 0000 0000 0001 0000
00000070: 01e4 0000 2c65 7727 2762 2e29 7277 7469
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Udisk
DFU get timeout alt=0 state=4
USBD Udisk
DFU get timeout alt=0 state=4
[DFU] download CRC=e18893e0, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7020 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7020 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=2baa4251, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=f1064323, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=3734ee79, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 3d20 6420 7461 5b61 705f 7274 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 3d20 6220 666f 2066 202d 0a31 200a 2020
00000050: 7020 6972 746e 6e28 6d61 2c65 6820 7865
00000060: 6228 666f 2966 202c 6568 2878 6c62 6e65
00000070: 2929 0a0a 2020 2020 706f 6e65 6e28 6d61
00000080: 3d20 6220 666f 2066 202d 0a31 200a 2020
00000090: 7020 6972 746e 6e28 6d61 2c65 6820 7865
000000a0: 6228 666f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 3d20 6420 7461 5b61 705f 7274 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 3d20 6220 666f 2066 202d 0a31 200a 2020
00000050: 7020 6972 746e 6e28 6d61 2c65 6820 7865
00000060: 6228 666f 2966 202c 6568 2878 6c62 6e65
00000070: 2929 0a0a 2020 2020 706f 6e65 6e28 6d61
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=49d20f24, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 2074 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
DFU get timeout alt=0 state=4
USBD Udisk
DFU get timeout alt=0 state=4
[DFU] download CRC=ffce62c0, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 5f3d 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 5f3d 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=e01a365a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 7229 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 6572 6461 3628 0a29 7361 6573 7472 6820
00000050: 7264 3d20 203d 2762 4344 4c35 4249 0a27
00000060: 626e 2073 203d 7473 7572 7463 752e 706e
00000070: 6361 286b 3c27 2748 202c 6572 6461 3228
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 7229 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 6572 6461 3628 0a29 7361 6573 7472 6820
00000050: 7264 3d20 203d 2762 4344 4c35 4249 0a27
00000060: 626e 2073 203d 7473 7572 7463 752e 706e
00000070: 6361 286b 3c27 2748 202c 6572 6461 3228
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=4b50521d, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 7461 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 7461 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=1ba4bc98, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Udisk
DFU get timeout alt=0 state=4
[DFU] download CRC=0cf9fbf1, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5d0a 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5d0a 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=77c5418b, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 7062 7274 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 3d20 6220 666f 2066 202d 0a31 200a 2020
00000090: 7020 6972 746e 6e28 6d61 2c65 6820 7865
000000a0: 6228 0a29 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 7062 7274 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
USBD Udisk
DFU get timeout alt=0 state=4
[DFU] download CRC=ffce62c0, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 5f3d 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 5f3d 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=85efb68a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 2070 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 2070 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=9a81aaee, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=a35d3964, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 200a
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 200a
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
USBD Udisk
DFU get timeout alt=0 state=4
USBD Udisk
DFU get timeout alt=0 state=4
[DFU] download CRC=2baa4251, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=4ef2c689, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 0000 0000 0002 0064 0034 0035 0037 0062
00000010: 0035 0034 0035 0030 0065 0066 0064 0038
00000020: 0033 0039 0065 0033 0033 0039 0065 0033
00000030: 0000 0a0a 2020 2020 706f 6e65 6e28 6d61
00000040: 2123 752f 7273 622f 6e69 652f 766e 7020
00000050: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000060: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000070: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000080: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000090: 6461 2928 5f0a 7470 2072 203d 0a30 640a
000000a0: 6665 7220 6165 2864 296e 0a3a 2020 2020
000000b0: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
000000c0: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
000000d0: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000e0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000f0: 7465 7275 206e 7672 0a0a 6468 2072 203d
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 0000 0000 0002 0064 0034 0035 0037 0062
00000010: 0035 0034 0035 0030 0065 0066 0064 0038
00000020: 0033 0039 0065 0033 0033 0039 0065 0033
00000030: 0000 0a0a 2020 2020 706f 6e65 6e28 6d61
00000040: 2123 752f 7273 622f 6e69 652f 766e 7020
00000050: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000060: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000070: 6164 6174 3d20 6f20 6570 286e 7973 2e73
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=aa3ee88f, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7473 6972 2870 0a29 2020 2020 6f62 6666
00000050: 202c 6972 746e 6e28 6d61 2c65 6820 7865
00000060: 6228 666f 2966 202c 6568 2878 6c62 6e65
00000070: 2929 0a0a 2020 2020 706f 6e65 6e28 6d61
00000080: 3d20 6220 666f 2066 202d 0a31 200a 2020
00000090: 7020 6972 746e 6e28 6d61 2c65 6820 7865
000000a0: 6228 666f 6165 2864 296e 0a3a 2020 2020
000000b0: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
000000c0: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
000000d0: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000e0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000f0: 7465 7275 206e 7672 0a0a 6468 2072 203d
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7473 6972 2870 0a29 2020 2020 6f62 6666
00000050: 202c 6972 746e 6e28 6d61 2c65 6820 7865
00000060: 6228 666f 2966 202c 6568 2878 6c62 6e65
00000070: 2929 0a0a 2020 2020 706f 6e65 6e28 6d61
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=57422df6, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 2929 6972 2870 0a29 2020 2020 6f62 6666
000000d0: 202c 6c62 6e65 3d20 7320 7274 6375 2e74
000000e0: 6e75 6170 6b63 2728 493c 2749 202c 6572
000000f0: 6461 3828 2929 0a0a 2020 2020 6f62 6666
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=cde71900, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=e9f9a473, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 2c2f 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 2065 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7473 6972 2870 0a29 2020 2020 6f62 6666
00000050: 202c 6972 746e 6e28 6d61 2c65 6820 7865
00000060: 6228 666f 2966 202c 6568 2878 6c62 6e65
00000070: 2929 0a0a 2020 2020 706f 6e65 6e28 6d61
00000080: 3d20 6220 666f 2066 202d 0a31 200a 2020
00000090: 7020 6972 746e 6e28 6d61 2c65 6820 7865
000000a0: 6228 666f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 2123 752f 7273 2c2f 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 2065 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7473 6972 2870 0a29 2020 2020 6f62 6666
00000050: 202c 6972 746e 6e28 6d61 2c65 6820 7865
00000060: 6228 666f 2966 202c 6568 2878 6c62 6e65
00000070: 2929 0a0a 2020 2020 706f 6e65 6e28 6d61
[DFU] deinit download
DFU get timeout alt=0 state=4
USBD Udisk
DFU get timeout alt=0 state=4
USBD Udisk
DFU get timeout alt=0 state=4
[DFU] download CRC=1fe7177d, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=022275c4, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 5f72
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 5f72
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
USBD Udisk
DFU get timeout alt=0 state=4
USBD Udisk
USBD Udisk
DFU get timeout alt=0 state=4
[DFU] download CRC=a35d3964, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 200a
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 200a
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=6797962d, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 2065 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 2065 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
USBD Udisk
DFU get timeout alt=0 state=4
[DFU] download CRC=ca3aa253, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 2070 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 7473 6972 2870 0a29 2020 2020 6f62 6666
00000090: 202c 6c62 6e65 3d20 7320 7274 6375 2e74
000000a0: 6e75 6170 6b63 2728 493c 2749 202c 6572
000000b0: 6461 3828 2929 0a0a 2020 2020 6f62 6666
000000c0: 7473 6972 2870 0a29 2020 2020 6f62 6666
000000d0: 202c 6c62 6e65 3d20 7320 7274 6375 2e74
000000e0: 6e75 6170 6b63 2728 493c 2749 202c 6572
000000f0: 6461 3828 2929 0a0a 2020 2020 6f62 6666
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 2070 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=422cf60f, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 5b27 705f 7274 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 5b27 705f 7274 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=c99dd0ab, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=20a721d1, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=ea5c2dc6, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 745d 5b61 705f 7274 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 6572 6461 3628 0a29 7361 6573 7472 6820
00000050: 7264 3d20 203d 2762 4344 4c35 4249 0a27
00000060: 626e 2073 203d 7473 7572 7463 752e 706e
00000070: 6361 286b 3c27 2748 202c 6572 6461 3228
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 745d 5b61 705f 7274 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 6572 6461 3628 0a29 7361 6573 7472 6820
00000050: 7264 3d20 203d 2762 4344 4c35 4249 0a27
00000060: 626e 2073 203d 7473 7572 7463 752e 706e
00000070: 6361 286b 3c27 2748 202c 6572 6461 3228
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=82760fb9, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 745d 5b61 705f 7274 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 745d 5b61 705f 7274 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
USBD Udisk
DFU get timeout alt=0 state=4
[DFU] download CRC=4b50521d, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 7461 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 7461 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=6797962d, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 2065 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 2065 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=aac939d2, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7473 6972 2870 0a29 2020 0a31 200a 2020
00000050: 7020 6972 746e 6e28 6d61 2c65 6820 7865
00000060: 6228 666f 2966 202c 6568 2878 6c62 6e65
00000070: 2929 0a0a 2020 2020 706f 6e65 6e28 6d61
00000080: 3d20 6220 666f 2066 202d 0a31 200a 2020
00000090: 7020 6972 746e 6e28 6d61 2c65 6820 7865
000000a0: 6228 666f 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7473 6972 2870 0a29 2020 0a31 200a 2020
00000050: 7020 6972 746e 6e28 6d61 2c65 6820 7865
00000060: 6228 666f 2966 202c 6568 2878 6c62 6e65
00000070: 2929 0a0a 2020 2020 706f 6e65 6e28 6d61
[DFU] deinit download
USBD Udisk
DFU get timeout alt=0 state=4
[DFU] download CRC=1ba4bc98, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=989d7a60, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 5f3a
00000010: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=a5c19c42, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2b72 5d6e 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=20a721d1, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000080: 6572 6461 3628 0a29 7361 6573 7472 6820
00000090: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000a0: 626e 2073 203d 7473 7572 7463 752e 706e
000000b0: 6361 286b 3c27 2748 202c 6572 6461 3228
000000c0: 2929 305b 0a5d 660a 726f 6920 6920 206e
000000d0: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000e0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000f0: 6564 6f63 6564 2728 7361 6963 2769 2e29
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 200a 2020 5f20 7470 2072
00000020: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000030: 7465 7275 206e 7672 0a0a 6468 2072 203d
00000040: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000050: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
00000060: 203d 705f 7274 2b20 6e20 200a 2020 7220
00000070: 7465 7275 206e 7672 0a0a 6468 2072 203d
[DFU] deinit download
DFU get timeout alt=0 state=4
[DFU] download CRC=d1bcabc6, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 2929 305b 0a5d 660a 726f 6920 6920 206e
00000050: 6172 676e 2865 626e 2973 0a3a 2020 2020
00000060: 616e 656d 3d20 7220 6165 2864 3231 2e29
00000070: 6564 6f63 6564 2728 7361 6963 2769 2e29
00000080: 2929 305b 0a5d 660a 726f 6920 6920 206e
00000090: 6172 676e 2865 626e 2973 0a3a 2020 2020
000000a0: 616e 656d 3d20 7220 6165 2864 3231 2e29
000000b0: 6564 6f63 6564 2728 7361 6963 2769 2e29
000000c0: 7473 6972 2870 0a29 2020 2020 6f62 6666
000000d0: 202c 6c62 6e65 3d20 7320 7274 6375 2e74
000000e0: 6e75 6170 6b63 2728 493c 2749 202c 6572
000000f0: 6461 3828 2929 0a0a 2020 2020 6f62 6666
DFU get timeout alt=0 state=7
[DFU] manifest
[DFU] flush (late recovery) 0x200000a4 offset 000000 len 484
00000000: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000010: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000020: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000030: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000040: 2929 305b 0a5d 660a 726f 6920 6920 206e
00000050: 6172 676e 2865 626e 2973 0a3a 2020 2020
00000060: 616e 656d 3d20 7220 6165 2864 3231 2e29
00000070: 6564 6f63 6564 2728 7361 6963 2769 2e29
[DFU] deinit download
USBD Udisk
USBD Udisk
USBD init on controller 0
sizeof(usbd_device_t) = 85
sizeof(dcd_event_t) = 12
sizeof(tu_fifo_t) = 20
sizeof(tu_edpt_stream_t) = 40
DFU init
Chip Version B2
sizeof(hw_endpoint_t) = 32
USBD Bus Reset : Full Speed
USBD Setup Received 80 06 00 01 00 00 40 00
Get Descriptor Device
Queue EP 80 with 18 bytes ...
USBD Xfer Complete on EP 80 with 18 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Bus Reset : Full Speed
USBD Setup Received 00 05 0A 00 00 00 00 00
Set Address
USBD Xfer Complete on EP 80 with 0 bytes
USBD Setup Received 80 06 00 01 00 00 12 00
Get Descriptor Device
Queue EP 80 with 18 bytes ...
USBD Xfer Complete on EP 80 with 18 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 06 00 00 0A 00
Get Descriptor Device Qualifier
Stall EP0
USBD Setup Received 80 06 00 06 00 00 0A 00
Get Descriptor Device Qualifier
Stall EP0
USBD Setup Received 80 06 00 06 00 00 0A 00
Get Descriptor Device Qualifier
Stall EP0
USBD Setup Received 80 06 00 02 00 00 09 00
Get Descriptor Configuration[0]
Queue EP 80 with 9 bytes ...
USBD Xfer Complete on EP 80 with 9 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 02 00 00 1B 00
Get Descriptor Configuration[0]
Queue EP 80 with 27 bytes ...
USBD Xfer Complete on EP 80 with 27 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 02 03 09 04 FF 00
Get Descriptor String[2]
Queue EP 80 with 26 bytes ...
USBD Xfer Complete on EP 80 with 26 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 01 03 09 04 FF 00
Get Descriptor String[1]
Queue EP 80 with 20 bytes ...
USBD Xfer Complete on EP 80 with 20 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 00 09 01 00 00 00 00 00
Set Configuration
DFU opened
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 04 03 09 04 FF 00
Get Descriptor String[4]
Queue EP 80 with 28 bytes ...
USBD Xfer Complete on EP 80 with 28 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 00 03 00 00 FF 00
Get Descriptor String[0]
Queue EP 80 with 4 bytes ...
USBD Xfer Complete on EP 80 with 4 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 80 06 03 03 09 04 FF 00
Get Descriptor String[3]
Queue EP 80 with 50 bytes ...
USBD Xfer Complete on EP 80 with 50 bytes
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
USBD Setup Received 01 0B 00 00 00 00 00 00
Set Interface
DFU control request
DFU State : IDLE, Status: OK
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : IDLE, Status: OK
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : IDLE, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 00 00 00 00 E4 01
DFU control request
DFU State : IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 23 21 2F 75 73 72 2F 62 69 6E 2F 65 6E 76 20 70 |#!/usr/bin/env p|
0010: 79 74 68 6F 6E 33 0A 0A 69 6D 70 6F 72 74 20 73 |ython3..import s|
0020: 79 73 2C 20 6F 73 2C 20 73 74 72 75 63 74 0A 0A |ys, os, struct..|
0030: 64 61 74 61 20 3D 20 6F 70 65 6E 28 73 79 73 2E |data = open(sys.|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 61 72 67 76 5B 31 5D 2C 27 72 62 27 29 2E 72 65 |argv[1],'rb').re|
0010: 61 64 28 29 0A 5F 70 74 72 20 3D 20 30 0A 0A 64 |ad()._ptr = 0..d|
0020: 65 66 20 72 65 61 64 28 6E 29 3A 0A 20 20 20 20 |ef read(n):. |
0030: 67 6C 6F 62 61 6C 20 5F 70 74 72 0A 20 20 20 20 |global _ptr. |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 76 20 3D 20 64 61 74 61 5B 5F 70 74 72 3A 5F |rv = data[_ptr:_|
0010: 70 74 72 2B 6E 5D 0A 20 20 20 20 5F 70 74 72 20 |ptr+n]. _ptr |
0020: 3D 20 5F 70 74 72 20 2B 20 6E 0A 20 20 20 20 72 |= _ptr + n. r|
0030: 65 74 75 72 6E 20 72 76 0A 0A 68 64 72 20 3D 20 |eturn rv..hdr = |
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 72 65 61 64 28 36 29 0A 61 73 73 65 72 74 20 68 |read(6).assert h|
0010: 64 72 20 3D 3D 20 62 27 44 43 35 4C 49 42 27 0A |dr == b'DC5LIB'.|
0020: 6E 62 73 20 3D 20 73 74 72 75 63 74 2E 75 6E 70 |nbs = struct.unp|
0030: 61 63 6B 28 27 3C 48 27 2C 20 72 65 61 64 28 32 |ack('<H', read(2|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 29 29 5B 30 5D 0A 0A 66 6F 72 20 69 20 69 6E 20 |))[0]..for i in |
0010: 72 61 6E 67 65 28 6E 62 73 29 3A 0A 20 20 20 20 |range(nbs):. |
0020: 6E 61 6D 65 20 3D 20 72 65 61 64 28 31 32 29 2E |name = read(12).|
0030: 64 65 63 6F 64 65 28 27 61 73 63 69 69 27 29 2E |decode('ascii').|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 73 74 72 69 70 28 29 0A 20 20 20 20 62 6F 66 66 |strip(). boff|
0010: 2C 20 62 6C 65 6E 20 3D 20 73 74 72 75 63 74 2E |, blen = struct.|
0020: 75 6E 70 61 63 6B 28 27 3C 49 49 27 2C 20 72 65 |unpack('<II', re|
0030: 61 64 28 38 29 29 0A 0A 20 20 20 20 62 6F 66 66 |ad(8)).. boff|
Queue EP 00 with 64 bytes ...
USBD Xfer Complete on EP 00 with 64 bytes
0000: 20 3D 20 62 6F 66 66 20 2D 20 31 0A 0A 20 20 20 | = boff - 1.. |
0010: 20 70 72 69 6E 74 28 6E 61 6D 65 2C 20 68 65 78 | print(name, hex|
0020: 28 62 6F 66 66 29 2C 20 68 65 78 28 62 6C 65 6E |(boff), hex(blen|
0030: 29 29 0A 0A 20 20 20 20 6F 70 65 6E 28 6E 61 6D |)).. open(nam|
Queue EP 00 with 36 bytes ...
USBD Xfer Complete on EP 00 with 36 bytes
0000: 65 2C 27 77 62 27 29 2E 77 72 69 74 65 28 64 61 |e,'wb').write(da|
0010: 74 61 5B 62 6F 66 66 3A 62 6F 66 66 2B 62 6C 65 |ta[boff:boff+ble|
0020: 6E 5D 29 0A |n]).|
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=4
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] download CRC=8b47284a, alt=0 block=0 length=484
[DFU] init download
[DFU] buffer add to 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
00000080: 7672 3d20 6420 7461 5b61 705f 7274 5f3a
00000090: 7470 2b72 5d6e 200a 2020 5f20 7470 2072
000000a0: 203d 705f 7274 2b20 6e20 200a 2020 7220
000000b0: 7465 7275 206e 7672 0a0a 6468 2072 203d
000000c0: 6572 6461 3628 0a29 7361 6573 7472 6820
000000d0: 7264 3d20 203d 2762 4344 4c35 4249 0a27
000000e0: 626e 2073 203d 7473 7572 7463 752e 706e
000000f0: 6361 286b 3c27 2748 202c 6572 6461 3228
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : DNLOAD_SYNC, Status: OK
DFU Request: GETSTATUS
USBD Setup Received 21 01 01 00 00 00 00 00
DFU control request
DFU State : DNLOAD_IDLE, Status: OK
DFU Request: DNLOAD
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: DNLOAD
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
DFU get timeout alt=0 state=7
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
[DFU] manifest
[DFU] flush (late recovery) 0x2000d460 offset 000000 len 484
00000000: 2123 752f 7273 622f 6e69 652f 766e 7020
00000010: 7479 6f68 336e 0a0a 6d69 6f70 7472 7320
00000020: 7379 202c 736f 202c 7473 7572 7463 0a0a
00000030: 6164 6174 3d20 6f20 6570 286e 7973 2e73
00000040: 7261 7667 315b 2c5d 7227 2762 2e29 6572
00000050: 6461 2928 5f0a 7470 2072 203d 0a30 640a
00000060: 6665 7220 6165 2864 296e 0a3a 2020 2020
00000070: 6c67 626f 6c61 5f20 7470 0a72 2020 2020
[DFU] deinit download
USBD Setup Received A1 03 00 00 00 00 06 00
DFU control request
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 80 with 6 bytes ...
USBD Xfer Complete on EP 80 with 6 bytes
DFU control complete
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Queue EP 00 with 0 bytes ...
USBD Xfer Complete on EP 00 with 0 bytes
DFU State : MANIFEST_SYNC, Status: OK
DFU Request: GETSTATUS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment