Learn MoreFAQsTutorials

5 posts / 0 new
Last post
flaby
Offline
Last seen:4 hours 2 min ago
对未来ned:2021-01-20 11:22
SUOTA失败

Hello Dialog,

I am not able to do SUOTA on DA145xx Pro Development Kit.

While downloading image from Android Mobile, I am getting an error, "Invalid Product Header"

Is anyone aware of this problem?

From the tutorial, the product header size is 64 bytes.

But after loading the multipart image file in SmartSnippet Toolbox, I am not able to see 64 bytes of product header in that. It shows only 24 bytes of product header.

Is this the reason for failing SUOTA?

Regards

Flaby

Device:
PM_Dialog
Offline
Last seen:13 hours 33 min ago
Staff
对未来ned:2018-02-08 11:03
Hi Flaby,

Hi Flaby,

谢谢你的问题。

Firstly, I would recommend using the latest SST which is version 5.0.14. If you are using a previous version, please update it with the last one.

This error means that something went wrong with the multi-image generation and the product header is invalid.

My suggestion would be to follow the tutorial in a clean SDK directory using the pxp_reporter examples of the SDK.

However, the tutorial is missing a step - we are working on that. You will need to modify the sdk_version.h file and have 2 different files : fw_1_version.h and fw_2_version.h

When creating the single image – “make single image” – figure 7, you first need to check that the sdk_version.h file is up to date. The sdk_version.h can be found under the following path:

C:\Program Files (x86)\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.14\common_resources\SupportPackages\DA1453x\toolbox_resources\common\sdk_version.h

When creating the second .img file - “make single image” , the sdk_version.h file should be modified again in the same location, in order to have a newer revision number.

Once the multi-image is generated, bunt the flash without making the device bootable. When the Flash is burnt, verify that the product header is at address 0x38000.

Please let me know with the results!

Thanks, PM_Dialog

flaby
Offline
Last seen:4 hours 2 min ago
对未来ned:2021-01-20 11:22
Hello PM_Dialog,

Hello PM_Dialog,

The error is not happening now. But, update is not progressing. Its always 0%.

I follow "Tutorial BLE SUOTA Update". I use SST version 5.0.14 and clean SDK directory using the pxp_reporter examples of the SDK.

Attached are the files compiled, generated, and used for testing.

Do I miss something else?

Regards

Flaby

Attachment:
PM_Dialog
Offline
Last seen:13 hours 33 min ago
Staff
对未来ned:2018-02-08 11:03

In the DA14531 support website, there is a variety of tutorial and SW examples that they will help you to understand the sleep mode and configure the DA14531 too.

http://lpccs-docs.dialog-semiconductor.com/DA14531_Sleep_Mode+/index.html

http://lpccs-docs.dialog-semiconductor.com/da145xx_tutorial_sdk6_peripherals/index.html

DA14531 BLE Eddystone beacon with Hibernation Or Deep Sleep Mode

DA14531 Configuring Hibernation and State-aware hibernation mode

Thanks, PM_Dialog

Hi kevin200617,

Can you please take the DA14663 USB a photo and share it with me, just to make sure that we are using same HW setup?

Additionally, in the first pdf that you had attached, I saw that you are using the UART to connect in the SS Toolbox. Can you please try to connect via JTAG?

Did you try to program it thought the SS Studio using the python scripts?

Thanks, PM_Dialog

Hi flaby,

Thanks for the attached files.

The multi-image seems to be generated properly :

0x00000 à bootloader ( starts with 70 50 )

0x04000 à 1stimage ( starts with 70 51 )

0x1F000 à 2stimage ( starts with 70 51 )

0x38000 à product header ( starts with 70 52 )

Question : what is the value of the PRODUCT_HEADER_POSITION in the 6.0.14.1114\utilities\secondary_bootloader and 6.0.14.1114\projects\target_apps\ble_examples\prox_reporter projects? Can you please verify that both have been built with the PRODUCT_HEADER_POSITION configured to 0x38000.

Thanks, PM_Dialog

flaby
Offline
Last seen:4 hours 2 min ago
对未来ned:2021-01-20 11:22
Hello Dialog,

Hello Dialog,

PRODUCT_HEADER_POSITION is 0x38000 both prox_reporter project(app_suotar.h) and secondary_bootloader project(bootloader.h)

Regards

Flaby