⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
5 posts / 0 new
Last post
Subramanyan
Offline
Last seen: 1 year 1 month ago
Joined: 2020-07-15 12:43
Firmware OTA

Hi,

I am implementing an OTA with WiRa SDK 10.440.8.6. I am implementing OTA over WiFi (via another WiFi module). 

I am using the pxp_reporter code as the base which implements the OTA over BLE. 

I have the following questions

1. Is there any implementation of a generic OTA example which can used across Wi-Fi, BLE or any other mechanism?

2. When we build the Dialog binary (.img) for transferring and flashing, will it contain the Product Header as shown in Sec 5.2.3 5. User Guides — DA1469x Software Platform Reference UM-B-092 (dialog-semiconductor.com)?

3.  Is it required to build different firmware for different partition, FW1 and FW2 or is the build agnostic of which partition it will be flashed on?

Thanks and Regards,

Subbu

Device: 
PM_Dialog
Offline
Last seen: 5 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi Subbu,

Hi Subbu,

Thanks for your question online.

  1. To honest I am not able to understand your question. The DA1469x and the SDK10 supports Software Update Over The Air (SUOTA) via BLE.
  2. The header will be a port of the image. Just follow the procedure described in the document.
  3. Can you please clarify this statement?

Thanks, PM_Dialog

Subramanyan
Offline
Last seen: 1 year 1 month ago
Joined: 2020-07-15 12:43
Hi,

Hi,

Sorry, if I was not clear enough.

1. I am implementing an OTA over WiFi solution. So, its not over BLE.

2. Okay. Thanks.

3. In some MCUs, we need to build different OTA images for different paritions. I want to check if for Dialog MCU, do we need to build multiple images or will one image can be flash in either partition ?

Regards,

Subramanyan 

PM_Dialog
Offline
Last seen: 5 months 2 weeks ago
Staff
Joined: 2018-02-08 11:03
Hi Subramanyan,

Hi Subramanyan,

The DA1469x supports SUOTA that can be achieved over BLE.

When a project is built for SUOTA configuration, then the corresponding partition table will be used.  In case of pxp_reporter, the application will take the sdk/config/4M/suota/partition_table.h . The SUOTA partition table should contain the NVMS_FW_EXEC_PART and the NVMS_FW_UPDATE_PART

So, when SUOTA is implemented, an additional partition is required so that both the current and the updated image can be stored.

NVMS_FW_EXEC_PART : This entry is used during a SUOTA enabled application for storing the application image

NVMS_FW_UPDATE_PART : This entry is used during a SUOTA enabled application and contains the new updated firmware version.

The current and the new firmware should have the same partitioning.

Thanks, PM_Dialog

Subramanyan
Offline
Last seen: 1 year 1 month ago
Joined: 2020-07-15 12:43
Thanks a lot for your answers

Thanks a lot for your answers. It helped.