This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DFU OTA on iOS

Hi,

When trying to update an application using nRF Toolbox on iPad, I get the error as in this thread.

Turning Bluetooth OFF and ON does not help. On Android it works without any problems.

I'm using custom board, SDK v9.0 with SD v8.0.0 and bootloader from the SDK. The nRF Toolbox is version 2.4.

Is there something I need to set on iOS to make it work?

EDIT: According to BLE Sniffer it seems the iPad sends Reset System opcode if I understand correctly (see image).

BLE Sniffer Data

Best regards, Cyril.

Parents
  • Thanks for the trace, the ipad appears to have started the transfer of the image, but receives operation failed from the bootloader. Thus, eventually sending the reset command. This is typically indicates that the bootloader is not able to keep up with the incoming data. That is, buffers are overflowing before they're written to flash. Have you done any modifications to the bootloader that could result in additional overhead? You can try to set the packet receipt notification to '1' to lower the throughput even more and see if that could be the cause. It would be nice to have a full sniffer trace of both Android and iOS to see what the difference is as well.

Reply
  • Thanks for the trace, the ipad appears to have started the transfer of the image, but receives operation failed from the bootloader. Thus, eventually sending the reset command. This is typically indicates that the bootloader is not able to keep up with the incoming data. That is, buffers are overflowing before they're written to flash. Have you done any modifications to the bootloader that could result in additional overhead? You can try to set the packet receipt notification to '1' to lower the throughput even more and see if that could be the cause. It would be nice to have a full sniffer trace of both Android and iOS to see what the difference is as well.

Children
No Data
Related