⚠️
嗨,...感谢您来论坛。令人兴奋的消息!我们现在正在迁至我们的新论坛平台,将提供更好的功能,并包含在主对话框网站中。所有帖子和帐户都已迁移。我们现在只接受新论坛上的流量 - 请发布任何新线程https://www.dialog-seminile.com/support.。我们将在未来几天修复错误/优化搜索和标记。
6个帖子/ 0新
最后一篇
马里奥
离线
最后一次露面:3年9个月前
加入:2017-03-30 13:56
偶像

Hi Dialog,
我正在尝试使用PXP_Reporter演示用移动设备测试拟议服务。我按照UM-B-056的说明(第9-10章)。在我将图像复制到Android平板电脑后并使用erase_qspi_jtag_win和suota_initial_flash_jtag_loader脚本后,我无法扫描设备,既不在Suota应用程序中也不闪烁。

一旦Suota测试将成功,我想在多链路演示中实施Suota服务。这可能吗?
提前致谢,

马里奥

设备:
mt_dialog.
离线
最后一次露面:2个月1周前
职员
加入:2015-06-08 11:34
Hi Mario,

Hi Mario,

您可以通过电源分布器检查设备是否广告,在您在设备上刻录内存之后,您是否按下重置按钮以使设备开始运行?

关于在不同项目中实现Suota应用程序,是的,您必须在自定义项目中放置Suota实现(从接近Reporter中,如果定义了DG_ConfigSuota_Support,则将其插入到项目的代码)。完成后,您必须为0x20000内存偏移构建图像,请选中Custom_Config_qspi_suota.h中#define dg_configimage_flash_offset(0x20000)。

谢谢mt_dialog.

马里奥
离线
最后一次露面:3年9个月前
加入:2017-03-30 13:56
Hi Dialog,

Hi Dialog,
感谢您的回答。是的,我确实按了重置按钮。现在,在一些新的尝试之后,我能够在Suota应用程序中看到设备,但更新过程保持在0%。我正在使用基本的开发套件。这可能是一个问题吗?

谢谢马里奥

mt_dialog.
离线
最后一次露面:2个月1周前
职员
加入:2015-06-08 11:34
Hi Mario,

Hi Mario,

There is no issue in running the SUOTA application on the basic kit (just tested it), the SUOTA on the proximity reporter should operate the same regardless the dev kit. What you are experiencing should be either a mis-configuration of the demo, or perhaps something wrong with the installation of the application.

谢谢mt_dialog.

马里奥
离线
最后一次露面:3年9个月前
加入:2017-03-30 13:56
Hi Dialog,

Hi Dialog,
我仍在尝试在我的BLE_MULTI_LINK项目中实施SUOTA服务。
首先,我将Custom_config_qspi_suota.h和sw_version.h文件导入到我的项目中。之后我从UM-B-056添加了Suota代码到BLE_MULTI_LINK_TASK.C。是否有必要将initial_flash.bat,initial_flash.sh,mkimage.bat和mkimage.sh文件导入项目文件夹中?关于配置文件:platform_nvparam.h和platform_nvparam_values.h是什么?
我尝试使用Refoy_Qspi_suota配置构建BLE_MULTI_LINK项目,但没有选择这样的配置。
当我使用DA14681而不是DA14680时有什么需要考虑的吗?
Thanks,
马里奥

mt_dialog.
离线
最后一次露面:2个月1周前
职员
加入:2015-06-08 11:34
Hi Mario,

Hi Mario,

不它不是nessecity移动这些文件给你current project, if you use the suota_initial_flag_jtag_win script then, on your console, you should see the operations that the script does, the .bat files that you report just invoke the corresponding script from the scripts folder. Regarding the platform_nvparam.h and platform_nvparam_values.h those files are included in the config file in order for the user to overlap the current configuration of the nv parameters, for example, identical files are also located in the /sdk/adapters/include and if you run the program_qspi_serial_win the files that are going to be used are going to be the default values taken from those files, if you replicate those file in the config folder with some custom values then the script is going to use the files from the config folder and burn them to the qspi. Regarding the configurations and SUOTA enabled images (in the SDK only the prox reporter has a SUOTA configuration). The proximity project has two configuration files the custom_config_qspi_suota.h (for the SUOTA configuration) and the custom_config_qspi (for the non SUOTA configuration), when you select an active build essentially you are switching between those two configuration files, so in order to create a new Configuration that will include the SUOTA you will have to create a new configuration:

  • 选择项目的属性并选择C / C ++构建,在顶部,您将看到提到管理配置的按钮,按此按钮时,您可以选择创建新配置文件(配置的名称应结束在QSPI,RAM或QSPI_SUOTA中,使调试器显示正确的附加方法)。
  • 因此,创建了新配置后,您必须选择新创建的配置将使用的config.h文件来构建项目。
  • 所以回到项目的属性和C / C ++构建 - >设置和从工具设置中选择包含文件“Cross Arm GNU汇编程序”,并且在包含文件中放置您想要的配置文件,同样应该在Comper ARM C编译器中完成,然后应该将相同的.h文件应用于命令字段中的构建步骤。
  • 之后,您将为Suota的项目和非拟议有一个单独的配置。当然,您也可以只使用现有的Config.h文件并应用Suota所需的标志,只需构建项目,而无需管理以上所有内容。

谢谢mt_dialog.