嗨对话!
使用Smartsnippets测试套筒时,我有一些问题。
我使用Connection Manager作为外设(Suota Receiver)启动开发板并开始通告。然后使用SmartSnippet将另一个电路板打开辅助启动器。
1.After choosing COM port and press"connect" button, it always alert " COM X port is externally used". But I am pretty sure that the com port is not used outsite.
2.后,下面的日志信息显示出来,启动器无法成功扫描接收者。
3.在执行此次测试之前必须完成一些工作,如次级引导加载程序应该被编程到OTP中?您能告诉我测试套筒的正确步骤吗?
期待收到您的帮助。
最好的祝福。
[info @ 15-01-14 14:19:03]加载固件,请稍候...
[INFO @15-01-14 14:19:07] Firmware loaded successfully.
[INFO @15-01-14 14:19:07] Connecting to COM10
[INFO @15-01-14 14:19:07] COM10 successfully opened.
[信息@ 15-01-14 14:19:07]扫描设备......
[INFO @15-01-14 14:19:22] Target device has been disconnected. Please try to re-establish link.
[INFO @15-01-14 14:21:24] Loading firmware, please wait...
[info @ 15-01-14 14:21:27]固件已成功加载。
[info @ 15-01-14 14:21:27]连接到COM10
[信息@ 15-01-14 14:21:28] Com10成功打开了。
[信息@ 15-01-14 14:21:28]扫描设备......
[INFO @ 15-01-14 14:21:43]目标设备已断开连接。请尝试重新建立链接。
嗨特里,
首先,我已经问了您使用的是哪个开发板,如果您已连接到DA14580的Flash?
其次连接管理器不支持苏格星,因此您应该使用两个基本套件或转到App Store或Play Store并下载Suota应用程序(对话框)。
问候
TN.
Dear TN_Dialog,
对你的问题,我正在使用两个基本套件。解决了扫描设备故障的问题,似乎我们必须在测试Suota时连接JTAG端口和COM端口.Now我可以成功扫描“FH_Proxr_sdk.uvproj”的再扫描。
But another problem came up, after choosing the fireware file to be download and the spi memory type, witch value should be filled in "block size"?
I try the size of fireware bin file, the block size of SPI flash W25X20CL(32768, 65536), and the log keep showing that:SPOTAR_PATCH_LEN_ERR.
DIVED DITACT有一个关于如何测试SUOTA的文档?
[INFO @15-01-15 15:34:44] Scanning for devices...
[Info @ 15-01-15 15:34:46]找到了地址80的设备:EA:CA:00:00:01,公众。设备不支持Spota服务。
[信息@ 15-01-15 15:34:51]扫描完成。
[info @ 15-01-15 15:34:55]与目标设备建立链接...
[INFO @15-01-15 15:34:56] Link with target device has been established.
[info @ 15-01-15 15:34:56]特色发现开始了。
[信息@ 15-01-15 15:34:57]特色发现完成。
[INFO @15-01-15 15:35:14] Firmware download started...
[info @ 15-01-15 15:35:14] spotar_img_started
[info @ 15-01-15 15:35:14]内存信息:
0字节
[ERROR @15-01-15 15:35:15] SPOTAR_PATCH_LEN_ERR
[INFO @15-01-15 15:35:15] Firmware download failed.
[info @ 15-01-15 15:34:55]与目标设备建立链接...
[INFO @15-01-15 15:34:56] Link with target device has been established.
[info @ 15-01-15 15:34:56]特色发现开始了。
[信息@ 15-01-15 15:34:57]特色发现完成。
[INFO @15-01-15 15:35:14] Firmware download started...
[info @ 15-01-15 15:35:14] spotar_img_started
[info @ 15-01-15 15:35:14]内存信息:
0字节
[ERROR @15-01-15 15:35:15] SPOTAR_PATCH_LEN_ERR
[INFO @15-01-15 15:35:15] Firmware download failed.
还有另一个忙,因为我们无法获得中国的Google Play Appstore,我无法在互联网上找到它,你能给我发一份(对话框)吗?
非常感谢,我的邮件是superwht@126.com。
最好的祝福。
Hello Terry,
Suota APK现在可以在我们的支持网站上获得参考设计软件和附加版本
BR JE_DIALOG.
thank you very much. I have found it.
你好托架,请注意我们are generatign an apps note on SUOTA : we will have this in approx 2 weeks from now.
BR JE_DIALOG.
我们可以在哪里找到suota应用笔记?
最好的祝福
Shiva
嗨
我有关于套筒的基本问题。
1)我希望通过基于SDK5.0.3-> BLE_APP_PERITERAL的项目进行拟议。请指导我完成这项工作?
2)是否有任何文件/ appnote谈论对自定义项目的拟议更改的讨论?(我构建一个只包含少量自定义服务的项目,现在我希望将Suota Port Suota更改为此项目。)。
Br,
Gotta
嗨GGOTTA.,
1) proximity_profile SDK中有一个例子implementation of the SUOTA on the new SDK5, you can check this in order to see the modifications that are required in order to implement it on your custom project.
2)关于Suota的唯一可用文件是AN-B-010,包括如何处理课程的指导原则。您不需要任何特定的功能才能将配置文件放在自定义项目中,只需在user_profiles_config中添加spoter.h中的配置文件,请检查项目中的以下文件App_spotar_task和app_spotar是否存在,请添加苏格达UUID你的广告字符串,你应该没问题。
谢谢mt_dialog.
嗨,
I did try this, the proximity reporter is working fine. When I tried to include this profile in my custom project, it just stops basic advertising functionality. There are some issues related to with memory, I need investigate further.
另一方面,我拥有另一个基于SDK5.0.3-> BLE_APP_PERITWAL的另一个项目,其中包含一些编译问题,如果包含Spotar.h。然后我尝试使用spoter.h构建新的SDK5.0.3解码代码。包含在user_profiles_config中的spoter.h。
(1)我得到的错误如下,
。。\..\..\..\..\sdk\app_modules\src\app_spotar\app_spotar.c(305): error: #20: identifier "user_profile_callbacks" is undefined.
(Not sure what all the changes w.r.t user_profile_callbacks and on_spotar_status_change)
(2)我可以请求您提供更多关于“在广告字符串中添加苏格达UUID”的详细信息,可以复制代码片段以供参考。
Br,
Govind。
你有时间看吗?into this?
嗨GGOTTA.,
Sorry for the delayed response, if when including the profile you are not able to advetise then the advertising should not be valid, before executing the advertising procedure the string goes through a validation check from the stack and if the advertising string isn't valid the advertising stops. Regarding the compilation issue when including the spotar profile (in the user_profiles_config.h) you have to add the nessecary callbacks (please check the proximity reporter in the user_callback_config.h) and you have to add the sdk profile (the spotar.c and the spotar_task.c in your sdk_profiles file) and also you have to add the on_spotar_status_change() function (what the device should do during START and STOP conditions). And one last thing, go to the user_modules_config.h file and make sure that the EXCLUDE_DLG_SPOTAR is set to 0 and not 1 otherwise the spotar wont work.
关于广告字符串,包括BLE_APP_PERITIALAL示例中的SUOTA,您可以尝试以下操作:
#define USER_ADVERTISE_DATA ("\x05"\
ADV_TYPE_COMPLETE_LIST_16BIT_SERVICE_IDS\
ADV_UUID_DEVICE_INFORMATION_SERVICE\
adv_uuid_spotar_service \
“\ x11”\
ADV_TYPE_COMPLETE_LIST_128BIT_SERVICE_IDS\
"\x2F\x2A\x93\xA6\xBD\xD8\x41\x52\xAC\x0B\x10\x99\x2E\xC6\xFE\xED")
谢谢mt_dialog.