Hi,
We are using OTA update in production and currently it takes about 40 seconds to update 70KB image. Is there a way to improve the speed?
Thanks!
Hi,
We are using OTA update in production and currently it takes about 40 seconds to update 70KB image. Is there a way to improve the speed?
Thanks!
Assuming master control panel version 3.10.0 you can do the following changes to the DFU script to increase overall throughput:
Step 1. Reduce connection interval:
Open "\Master Control Panel\3.10.0.14\lib\dfu\master_emulator.py", go to line ~237 and replace the following code snippet:
conn_params.ConnectionIntervalMs = 15
if self.master.Connect(self.myPeerDevice.DeviceAddress):
with
conn_params.ConnectionIntervalMs = 11.25
if self.master.Connect(self.myPeerDevice.DeviceAddress,conn_params):
Step 2. Disable packet receipt notification:
Open "\Master Control Panel\3.10.0.14\lib\nordicsemi\dfu\dfu_transport_ble.py", go to line ~109 and change the packet number from '10' to '0'.
If I remember correctly this should take about 10-15 seconds to upload the image with the above changes.
I'm unable to reproduce your setup here. Please try to do this via MCP. You can always re-install MCP if you break the script, or better, just do a backup of the scripts that you do modify.
I'm unable to reproduce your setup here. Please try to do this via MCP. You can always re-install MCP if you break the script, or better, just do a backup of the scripts that you do modify.