Hi dialog!
I have some problems while testing SUOTA with smartsnippets.
I use connection manager to initiate a develop board as peripheral(SUOTA receiver) and start to advertise.Then use smartsnippets to open another board as SUOTA Initiator.
1.选择COM端口并按下“连接”按钮后,始终提示“COM X端口已被外部使用”。但是我很确定com端口没有在外部使用。
2.after that , below log info show up,and the initiator could not scan the receiver successfully.
3.Is there some work has to be done before doing this test, like secondary bootloader should be programed into OTP?Could you show me the correct steps to test SUOTA?
Looking forward to receive you help.
致以最诚挚的问候。
[INFO @15-01-14 14:19:03] Loading firmware, please wait...
[INFO@15-01-14 14:19:07]固件加载成功。
[INFO@15-01-14 14:19:07]连接到COM10
[INFO@15-01-14 14:19:07]COM10已成功打开。
[INFO @15-01-14 14:19:07] Scanning for devices...
[INFO@15-01-14 14:19:22]目标设备已断开连接。请尝试重新建立链接。
[INFO@15-01-14 14:21:24]正在加载固件,请稍候。。。
[INFO @15-01-14 14:21:27] Firmware loaded successfully.
[INFO @15-01-14 14:21:27] Connecting to COM10
[INFO @15-01-14 14:21:28] COM10 successfully opened.
[INFO @15-01-14 14:21:28] Scanning for devices...
[INFO @15-01-14 14:21:43] Target device has been disconnected. Please try to re-establish link.
Hi Terry,
First I have got ask which Development board you are using and if you have got FLASH connected to the DA14580?
Secondly Connection manager doesnt support SUOTA so you should use two Basic kits or go to the app store or play store and download the SUOTA application (DIALOG SUOTA).
Regards
TN
亲爱的TN\U Dialog,
To you question , I am using two Basic kits. the problem of scaning device fail is solved , it seems that we had to connect both JTAG port and COM port both while testing SUOTA.Now I can scan the recceiver successfully which is runing the "fh_proxr_sdk.uvproj".
但是另一个问题出现了,在选择了要下载的fireware文件和spi内存类型之后,witch值应该填入“block size”吗?
我尝试了fireware bin文件的大小,SPI flash W25X20CL(3276865536)的块大小,并且日志一直显示那就是:斯波塔·帕奇·伦·厄尔。
Did dialog has a document about how to test SUOTA?
[信息@15-01-15 15:34:44]正在扫描设备。。。
[INFO @15-01-15 15:34:46] Found device with address 80:EA:CA:00:00:01, Public. Device does not support the SPOTA service.
[INFO @15-01-15 15:34:51] Scanning completed.
[INFO @15-01-15 15:34:55] Establishing Link with target device...
[INFO@15-01-15 15:34:56]已建立与目标设备的链接。
[INFO @15-01-15 15:34:56] Characteristics discovery started.
[INFO @15-01-15 15:34:57] Characteristics discovery finished.
[INFO@15-01-15 15:35:14]固件下载已开始。。。
[INFO @15-01-15 15:35:14] SPOTAR_IMG_STARTED
(信息@15-01-15 15:35:14)内存信息:
0 bytes
[错误@15-01-15 15:35:15]SPOTAR\u PATCH\u LEN\u ERR
[INFO@15-01-15 15:35:15]固件下载失败。
[INFO @15-01-15 15:34:55] Establishing Link with target device...
[INFO@15-01-15 15:34:56]已建立与目标设备的链接。
[INFO @15-01-15 15:34:56] Characteristics discovery started.
[INFO @15-01-15 15:34:57] Characteristics discovery finished.
[INFO@15-01-15 15:35:14]固件下载已开始。。。
[INFO @15-01-15 15:35:14] SPOTAR_IMG_STARTED
(信息@15-01-15 15:35:14)内存信息:
0 bytes
[错误@15-01-15 15:35:15]SPOTAR\u PATCH\u LEN\u ERR
[INFO@15-01-15 15:35:15]固件下载失败。
And there is another favor to ask, since we could not get access to GOOGLE PLAY appstore in China and I could not find it on internet, could you send me a copy of (DIALOG SUOTA)?
thanks a lot, my mail is邮箱:superwht@126.com.
best regards.
你好,特里,
索塔APK is now available on our support site under Reference Design Software & Additional Releases
BR JE_Dialog
非常感谢你。我找到了。
你好,特瑞,请注意,我们正在生成一个关于索塔的应用程序说明:我们将在大约2周后,从现在开始。
BR JE_Dialog
Where we can find SUOTA app note?
Best regards
湿婆
Hi
I have basic questions on SUOTA.
1) I wish to get the SUOTA work with my project which is based on SDK5.0.3->ble_app_peripheral. Please guide me get this done?
2) Is there any document/appnote which talks about porting of SUOTA changes on to a custom project? (I build a project which contains only few custom services, now I wish to port SUOTA changes on to this project.).
比尔,
得以
嗨,戈塔,
1) SDK中的profile示例在新的SDK5上实现了SUOTA,您可以选中此项以查看在自定义项目上实现SUOTA所需的修改。
2) The only available document regarding SUOTA is the AN-B-010 which includes the guidelines how to handle SUOTA. You dont need anything specific in order to place the profile in your custom project, just add the SUOTA profile (include the spoter.h in the user_profiles_config), check if the following files app_spotar_task and app_spotar exist in your project, add the SUOTA UUID in your advertising string and you should be ok.
Thanks MT_dialog
Hi,
我试过了,近距离记者工作得很好。当我试图在我的自定义项目中包含此配置文件时,它只是停止了基本的广告功能。有一些问题与记忆有关,我需要进一步调查。
On the other-hand, I have another project build based SDK5.0.3->ble_app_peripheral which got end-up with some compilation issues if include spotar.h. Then I tried to build fresh SDK5.0.3 unziped code with spoter.h included in the user_profiles_config.
(1) I am getting the same error as below,
..\..\..\..\..\sdk\app_modules\src\app_spotar\app_spotar.c(305):错误:#20:标识符“user_profile_callbacks”未定义。
(不确定所有的更改是什么w.r.t用户配置文件\u回调和现场状态\u更改)
(2) May I ask you provide more details on "add the SUOTA UUID in your advertising string", can copy a code snippet for reference.
比尔,
Govind.
你有时间调查这件事吗?
嗨,戈塔,
抱歉,响应延迟,如果在包含配置文件时您无法提示,那么广告应该无效,在执行广告过程之前,字符串将通过堆栈中的验证检查,如果广告字符串无效,广告将停止。关于编译问题,当包含spotar概要文件(在user\u profiles\u config.h中)时,您必须添加nessecary回调(请检查user\u callback\u config.h中的邻近报告器),您必须添加sdk概要文件(在sdk\u概要文件中的spotar.c和spotar\u task.c),并且还必须添加on \u spotar \u status \u change()函数(设备在启动和停止条件下应执行的操作)。最后一件事,转到user\u modules\u config.h文件,确保EXCLUDE\u DLG\u SPOTAR设置为0而不是1,否则SPOTAR将无法工作。
Regarding the advertising string and including the SUOTA in the ble_app_peripheral example you can try the following:
#定义用户数据(“\x05”\
高级类型完整列表16位服务ID\
高级设备信息服务\
ADV_UUID_SPOTAR_SERVICE\
"\x11"\
高级\u类型\u完整\u列表\u 128位\u服务\u ID\
“\x2F\x2A\x93\xA6\xBD\xD8\x41\x52\xAC\x0B\x10\x99\x2E\xC6\xFE\xED”)
Thanks MT_dialog