CE216767 - OTA using DLE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
joco_4017211
Level 2
Level 2

Trying the OTA example, it takes 203s to send the 428KB app1 file for an average throughput of 2KB/s.  Considering it had us set the connection interval as low as 15ms and the low throughput, I'm assuming this isn't using DLE.

Is there an example or way to make this use DLE?  I'm mostly interest in the total power used during a OTA upgrade and to reduce time if possible to improve customer experience.

0 Likes
7 Replies
joco_4017211
Level 2
Level 2

Okay so looking at the CySmart log, it looks like it may be transferring using DLE since each data write is quite large.

[15:50:09:704] : 'Write Characteristic Value Without Response' request sent

[15:50:09:704] :     Attribute Handle: 0x0012

[15:50:09:704] :     Value: [01:37:89:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:3F:FF:17]

Throughput at a connection interval of 7.5ms resulted in a 5.9KB/s throughput and the transfer took 76s.  However this still seems slow. 

It was my understanding that with DLE, the connection interval didn't need to be so low inorder to get good throughput numbers but that doesn't appear to be correct in this case.

0 Likes

Hello,

Can you attach the modified project in which DLE is enabled? Are you using CySmart for OTA bootloading?

Thanks,

Hima

0 Likes

I did not modify the project.  I'm just following the pdf guide.  And yes I'm using CySmart.

Is there an expected firmware upload speed?

0 Likes

Hello,

Can you try enabling the DLE and check if you see an improvement in speed. Ideally you should see speed improvement. The firmware upload speed would depend on the image size as well. So we cannot give a specific time.

Thanks,

Hima

0 Likes

HimaM_31 wrote:

Hello,

Can you try enabling the DLE and check if you see an improvement in speed. Ideally you should see speed improvement. The firmware upload speed would depend on the image size as well. So we cannot give a specific time.

Thanks,

Hima

I'm pretty sure DLE is enabled in the example project.

You guys created the CE216767 example code, you should know roughly what its image size is and be able to give a estimate to what throughput you expect through the OTA mechanism you designed.

Alternatively is there any documentation on the mechanism/procedure that CySmart uses to send an OTA to the device?

0 Likes

Hello,

Can you please do the following modifications in the DWR settings and try bootloading. This should improve the timing.

  1. System Tab > Power Mode > 1.1 V SIMO or LDO
  2. Clocks tab > FLL/PLL > Configure FLL or PLL to 100 MHz and use as source for Clk_HF0
  3. Clocks Tab > High Freq clocks > Clk_peri = 100 MHz > Clk_Slow = 100 MHz

Thanks,

Hima

0 Likes

I will give it a try, probably next week.

Do you have any idea roughly how long the OTA should take if things are working correctly?  What the throughput should be?

0 Likes