Open
Description
A customer reports that during a firmware update using McuBoot.receive_sb_file
on a LPC55 chip, the update stalled for more than 10 minutes without progress. The log messages show that 60 byte chunks are successfully written to the device until at some point, the write fails and returns -1 bytes:
│ 15751 DEBUG libusbsio.hidapi.dev HID device 94346348850416 writing[60]: 0x02003800017ebd328aaa5d7c4503c3b328fa2c8962d16c9896ef07aedbedd46c97a6a79713a5c1ee4bcb1d7299bdcb36ee74e357b0a9ed73e11c5a67
18533 │ 15753 DEBUG libusbsio.hidapi.dev HID device 94346348850416 wrote 60 bytes
18534 │ 15753 DEBUG spsdk.mboot.interfaces.usb OUT[60]: 02, 00, 38, 00, BB, A2, A6, BA, 86, F3, 30, B0, 01, 39, 08, C6, 4E, A1, 6E, 0A, E2, C8, 20, A7, 90, 59, 1E, 56, 48, AF, EB, AB, BC, 87, 0E, 0C, B1, 94,
│ BD, A9, 9A, EA, 6A, 33, 72, 57, 01, D9, 27, 80, CA, 08, F5, DB, 8C, F4, D7, 24, C5, 99
18535 │ 15753 DEBUG libusbsio.hidapi.dev HID device 94346348850416 writing[60]: 0x02003800bba2a6ba86f330b0013908c64ea16e0ae2c820a790591e5648afebabbc870e0cb194bda99aea6a33725701d92780ca08f5db8cf4d724c599
18536 │ 20999 DEBUG libusbsio.hidapi.dev HID device 94346348850416 wrote -1 bytes
18537 │ 20999 DEBUG spsdk.mboot.interfaces.usb OUT[60]: 02, 00, 38, 00, 80, 8E, 77, 41, A0, 52, C3, F8, 58, BB, DE, DA, 10, FE, 07, E5, C8, FE, F5, 86, 79, 3E, C6, 9A, A2, 9A, 55, 9C, C7, AF, FF, 72, 7E, EC,
│ 45, 4B, 32, D7, 02, E5, 95, 11, 42, 60, BA, D1, D8, 62, D9, B1, 4A, 1B, DA, B3, 6A, D4
What could cause this problem? Is there a way to recover from it?
Metadata
Assignees
Labels
No labels