⚠️
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//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
gert186
Offline
Last seen:1 year 3 months ago
加入:2016-04-21 59
DSPS and SUOTA

Can somebody helps me,

I would like to implement SUOTA in DSPS to make Software Updates!
USE I2C M2401 EEPROM

Download DSPS:

Add in sdk_app: app_spotar.c and app_spotar_task.c
Add in Drivers I2CEprom.c
Add in profiles: spotar.c and spotar_task.c

.\out_580\sps_device_580.axf: Error: L6218E: Undefined symbol on_spotar_status_change (referred from app_spotar.o).

and

void user_on_disconnect( struct gapc_disconnect_ind const *param )
{
default_app_on_disconnect(param);
arch_printf("Device disconnected\r\n");

#if (BLE_SPOTA_RECEIVER)
// Issue a platform reset when it is requested by the spotar procedure
if (spota_state.reboot_requested)
{
// Reboot request will be served
spota_state.reboot_requested = 0;

// Platform reset
platform_reset(RESET_AFTER_SPOTA_UPDATE);
}
# endif
}

..\src\user_sps_device.c(148): error: #136: struct "" has no field "reboot_requested"

And the last question:

How could I change the Softrware Version in DSPS ??

This is the Error! What I have to do or can somebody send me the Code:
gert.taucher@gmx.at

mfg
Gert

Device:
PM_Dialog
Offline
Last seen:3 days 20 hours ago
工作人员
加入:2018-02-08 11:03
Hi gert186,

Hi gert186,

The SUOTA is a profile, and the DSPS is a demo project, so in order to have SUOTA functionality to the DSPS what you will have to do to add the SUOTA profile to the DSPS demo, besides the OTA project there are also some guidelines for this on the FAQ in the Software Implementation section (How to add the SUOTA profile to my SDK application) for the 5.0.3 SDK which is quite identical with the 5.0.4 SDK. You will be able to find the FAQ section on the top level menu of the support site, please check the link below:

https://support.dialog-semiconductor.com/guide/frequently-asked-questions

Thanks, PM_Dialog

gert186
Offline
Last seen:1 year 3 months ago
加入:2016-04-21 59
Thanks!

Thanks!
That works now for me :-)

Is there also a way to Implement that in Codeless Project ?

best regards
Gert

PM_Dialog
Offline
Last seen:3 days 20 hours ago
工作人员
加入:2018-02-08 11:03
Hi gert186,

Hi gert186,

The CodeLess project does not support the SUOTA functionally. So, if you want to have SUOTA functionality into the CodeLess demo application, you should follow the same procedure as you followed in DSPS.

If you found any of the answers useful, please mark one of them as accepted.

Thanks, PM_Dialog