hello,
i dont know how to create configuration of the SUOTA in project of ble_peripheral.
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.
i had read the PDF of um-b-056-da1468x_software_developers_guide_6v0,but it only introduces how to make .img file.
and i dont know which items or configuration should be added in project of ble_peripheral.
Please suggest what should I do to let my project has function of SUOTA.
Thanks.
Device:
Hi Ryon,
Yes, the pxp_reporter example of the SDK includes SUOTA functionality and you can take it as a reference. Let me share some hints for adding SUOTA in the ble_peripheral example.
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.
i have followed the above steps,but i can not find the the source code project in the following configuration:
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.
and 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,
Can you please indicate the size of your firmware? I assume that your custom code was fully functional without SUOTA feature. Where does the code stuck? Can you please debug it?
Thanks, PM_Dialog