hello,
我不知道如何在bleèu外设项目中创建SUOTA的配置。
as far as i understand, the project of pxp_reporter has function of SUOTA.but i dont know how to configure in project of ble_peripheral.
我读过um-b-056-da1468x\u software\u developers\u guide\u 6v0的PDF,但它只介绍如何生成.img文件。
和i dont know which items or configuration should be added in project of ble_peripheral.
请建议我应该怎么做,让我的项目有索塔功能。
谢谢。
Device:

Hi Ryon,
是的,SDK的pxp\u reporter示例包含了SUOTA功能,您可以将其作为参考。让我分享一些关于在ble\u外围示例中添加SUOTA的提示。
Please follow the steps above and let me know if you have any follow up questions.
Thanks, PM_Dialog
hello,
thank you for your reply.
我已经遵循了上述步骤,但在以下配置中找不到源代码项目:
DA14683-00-Release_QSPI_SUOTA
And I don't find any related manual about how to include a new build configuration.so can i import it from pxp_reporter?
it happen many error when i import the configuration from the pxp_reporte?
so i want to know how to build configuration of DA14683-00-Release_QSPI_SUOTA.
Hi Ryon,
Thanks, PM_Dialog
hello,
I have configured the project following the steps you described above.
和it have the function of OTA.But after 8 senconds,the application can not work,because it can not broadcast,the APP of SUOTA can not scan it .
it will work good when i reduce the code size. Isn't memory set correctly? if not ,what should i do
thanks
Hi Ryon,
Can you please clarify the following question?
“it will work good when i reduce the code size. Isn't memory set correctly? if not ,what should i do”
Have you done all the appropriate modifications in ble_peripheral_task.c? Can you please check that you are using the correct partition table? If you follow the pxp_reporter project and the hints I have provided you, you should be able to add SUOTA feature.
Thanks, PM_Dialog
hello,
yes,I have done all appropriate modifications in ble_peripheral_task.c,and I used the partition table of pxp_reporter project(1M)
but i have added some function on my custom project,so it did not work,and it will work when I comment out my code.
the memory specific config as follows:
#define dg_configQSPI_CACHED_OPTIMAL_RETRAM_0_SIZE_AE ( 64 * 1024)
#define dg_configQSPI_CACHED_RAM_SIZE_AE ( 32 * 1024)
#define dg_configQSPI_CACHED_RETRAM_0_SIZE_AE ( 96 * 1024)
is the memory specific config correct?
Hi Ryon,
你能指出你的固件的大小吗?我假设您的自定义代码没有SUOTA特性就可以完全正常工作。代码卡在哪里?你能调试一下吗?
Thanks, PM_Dialog