Closed VNGames closed 1 year ago
We see this too - DFU trouble, won't start the uploading process, under Android 13, when performing DFU on a nRF5 SDK 17.2. Works on ios (with Nordic's ios app), and android 9 (again with Nordic's ios app), but not when tried under android 13.
Have a look at this fragment:
2023/08/14 21:14:15:865 DFU Lib Log: [DFU] Command object sent (CRC = D07D4A81)
2023/08/14 21:14:15:865 DFU Lib Log: [DFU] Writing to characteristic 8ec90001-f315-4f60-9fb8-838830daea50
2023/08/14 21:14:15:865 DFU Lib Log: [DFU] gatt.writeCharacteristic(8ec90001-f315-4f60-9fb8-838830daea50
2023/08/14 21:14:21:863 DFU Lib Log: [DFU] Error (0x85): GATT ERROR
The library has sent the Init packet and is trying to execute it. The device should reply with a notification with status success. Instead, for looks like sending the Execute command ends with an error after 6 seconds. This is abnormal behavior from the device side. Perhaps it has hung or reset?
Possible solutions would be to add a small delay before sending the Execute command, but this only depends on the root cause of the lack of response. If the device dies, nothing would help. But if it needed some time to process the data, there's a chance.
Could you try that and report if it helped?
Reproduces every time
DFU Bootloader version):
Device information (please complete the following information):
Logs (read from bottom to top)