球体OTA问题 [英] Sphere OTA questions

查看:62
本文介绍了球体OTA问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Azure领域团队,您可以帮助解决以下问题

Hi, Azure sphere team, could you help on below questions

- 我们发布新图片后OTA何时会发生?无论如何用户安排OTA?

- 当设备处于调试模式时(使用azsphere预调试),OS固件OTA能否更新?

- 当设备通过OTA时应用程序是否会重新启动?

- 球形证书何时更新,是否会更新证书中断应用程序或中断与DPS的连接?

- 发布新SDK时,我们是否需要发布使用新SDK编译的新图像,以便继续使用新的操作系统版本?

- 我们注意到,当使用太多内存时,应用程序可能会被平台SW杀死。 但malloc永远不会失败,并且没有API来获取当前的内存使用量。因此很难管理内存以避免应用程序被杀死 

- When will OTA happens after we publish an new image? Anyway to schedule OTA by user?
- Can OS firmware OTA get updated when device in debug mode (with azsphere prep-debug) ?
- When device is been through OTA, will application get restarted?
- When will the sphere certificate get renewed, will renewal of certificate interrupt application or interrupt connection to DPS?
- When a new SDK is released, do we need to publish a new image compiled with new SDK so it can continue work with new OS version?
- We notice that application may get killed by platform SW when use too much memory.  But malloc never fail and there is no API to get current memory usage. So it's very hard to manage memory to avoid application get killed 

- 有没有办法找到原因应用程序重新启动,例如应用程序崩溃,设备已通过OTA,应用程序被平台杀死等。这对于进行远程诊断很重要。

- Is there a way to find why application get restarted, e.g. application crash, device been through OTA, application killed by platform etc. This is important to do remote diagnostic.

推荐答案

邵山,

您的大多数问题都可以通过
Azure Sphere来解答文档
。另请参阅  Azure球体设备身份验证和证明服务(在文档中引用

here

Most of your questions can be answered through the Azure Sphere Documentation. See also Azure Sphere Device Authentication and Attestation Service (referenced on the documentation here).


  • 我们发布新图片后OTA何时会发生?无论如何按用户安排OTA?

参见
here
。截至今天,用户无法安排OTA。请为现有的此处添加新的功能请求或投票给现有的
。 "Azure Sphere设备在打开电源或用户按下MT3620开发板上的"重置"按钮后首次连接到Internet时会检查更新。此后,
检查定期(目前为24小时)。"

See here. It is not possible to schedule OTA by user as of today. Please add a new feature request or vote for an existent one here. "Azure Sphere devices check for updates when they first connect to the internet after powering on or after a user presses the Reset button on an MT3620 development board. Thereafter, checks occur at regular intervals (currently 24 hours)."


  • 操作系统可以当设备处于调试模式时(使用azsphere预调试),固件OTA会更新吗?

请参阅  here
准备调试禁用客户应用程序的OTA,因此他们不会踩到您刚刚加载的开发应用程序。但OS OTA继续保持不变。

See here. Prep-debug disable OTA of customer apps, so they don’t stomp on the development app you’ve just sideloaded. But OS OTA continues unchanged.


  • 当设备通过OTA时,应用程序将重新启动?

应用OTA将重启应用程序(根据定义)。 OS OTA可能会重新启动应用程序,甚至整个设备,具体取决于更新的组件。
另请注意(此处)"使用生产API构建的应用程序与更新的OS版本兼容。但是,测试版功能
可能会从一个版本更改为下一个版本。"

An app OTA will restart the app (by definition). An OS OTA may restart the app, or even the entire device, depending on what components are updated. Also please note that (from here) "Applications that are built with production APIs are compatible with updated OS releases. Beta features, however, may change from one release to the next."


  • 球形证书是否会更新,证书中断申请续签或中断与DPS的连接?

设备级证书经常更新,例如每24小时一次。 如果您使用Azure Sphere OS附带的Azure IoT SDK,则将为您处理此续订。另外,租户级证书
很少续订,例如: 。每年 发生这种情况时,您需要将其提供给DPS,以便它可以信任该租户签署的所有设备证书。 我们将在此之前提供有关此内容的更多信息。


  • 当一个新的SDK发布后,我们是否需要发布使用新SDK编译的新图像,以便继续使用新的操作系统版本?

不,现有图像在新操作系统版本上将保持不变:这是我们的长期能力承诺。 例如。如果制造商停业,我们在更新操作系统时无法破坏他们销售的设备! 例外:这不会对使用Beta API的应用程序应用
,这可能在将来中断。 当然,如果您想使用任何新操作系统的新功能,您需要使用新SDK构建一个新应用程序!


  • 我们注意到,当使用太多内存时,应用程序可能会被平台SW杀死。 但malloc永远不会失败,并且没有API来获取当前的内存使用量。因此,管理内存以避免应用程序被杀死非常困难。有没有办法找到为什么
    应用程序重新启动,例如应用程序崩溃,设备已通过OTA,应用程序被平台杀死等。这对于进行远程诊断很重要。

参见< a href ="https://docs.microsoft.com/en-us/azure-sphere/product-overview/architecture#azure-sphere-security-service">
here 。 " ;计划的故障报告服务为已部署的软件提供简单的崩溃报告。为了获得更丰富的数据,制造商可以使用其Microsoft Azure订阅中包含的报告和分析功能。
请另外添加一项新功能请求此处为
,并提供更多详细信息。

See here. "The planned failure reporting service provides simple crash reporting for deployed software. To obtain richer data, manufacturers can use the reporting and analysis features that are included with their Microsoft Azure subscription." Please also add a new feature request here with more details.

希望我能提供帮助。

谢谢!


这篇关于球体OTA问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆