The fw_multi_part_spi.bin generated by the ota tool cannot be started

Learn MoreFAQsTutorials

4 posts / 0 new
Last post
zyosintek
Offline
Last seen:2 months 4 days ago
加入:2020-03-26 12:15
The fw_multi_part_spi.bin generated by the ota tool cannot be started

hi dialog

I am adding the ota function and implemented it according to the documentation tutorial. After generating fw_multi_part_spi.bin and writing it to flash, the device does not start. It can be started by programming fw1.bin or fw2.bin alone. What's the problem?

thanks!

Keywords:
Device:
PM_Dialog
Offline
Last seen:5 hours 34 min ago
工作人员
加入:2018-02-08 11:03
Hi zyosintek,

Hi zyosintek,

Thanks for your question. Just to get aligned, please use our latest version of SmartSnippets Toolbox (SST) which is version 5.0.12. You can download it from the support website in case you are using a different version.

However, the tutorial (link below) 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

http://lpccs-docs.dialog-semiconductor.com/Tutorial-BLE-SUOTA-DA145x/index.html

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.12\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.

Additionally, you will have to create your own directory in order to save the single and multi image output. My recommendation is to have two different output folders for the single and multi image.

The C:\SUOTA\output directory is a directory you should create.

C: \ SUOTA \ \ single_image输出

C:\SUOTA\output\multi_image

Please let me know with you feedback.

Thanks, PM_Dialog

zyosintek
Offline
Last seen:2 months 4 days ago
加入:2020-03-26 12:15
thanks ! now it is ok

thanks ! now it is ok

PM_Dialog
Offline
Last seen:5 hours 34 min ago
工作人员
加入:2018-02-08 11:03
Hi zyosintek,

Hi zyosintek,

Glad it is working and thanks for accepting my answer.

Thanks, PM_Dialog