This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Local OTA网页显示100%后失败

Other Parts Discussed in Thread: UNIFLASH, CC3220SF

tar文件上传100%之后显示failed to update,另附log.

 0106Local_OTA_Log.txt

请问是什么原因,如何解决呢?

  • 您和下面的帖子一样的问题

    e2e.ti.com/.../613302

    The solution was to delete "ca-priv-key.der" from User Files.

    Note that using the playground certificates (as Kobi Leibovitch suggested), instead of the ones pre-defined in the .zip Uniflash project, also works !
  • 我删除掉"ca-priv-key.der" 并用playground里面的dummy-root-ca-cert-key文件替代了后Local OTA 那个网页就变得无法访问了,换了其他几个也无法访问网页.
    certificate-playground 底下有许多cert和key,具体需要选择哪个?需要改哪些配置?我需要具体文件名和过程
  • 我会在测试后给您回复,请您等待一下
  • 另外您上传的 0106Local_OTA_Log.txt 打开为乱码,能否重新上传一下?
  • 很抱歉,没有找到板子测试

    请问您是按照下面的网页操作的吗?您的SDK版本和板子具体型号是什么?

    software-dl.ti.com/.../README.html

    另外您是否有对照

    Known issues and limitations

    Internet Explorer 11 browser does not work in its default state. In order to make it work, possible workaround is to use development mode (F12), and switch the Edge drop down menu on the top right to 10 instead of default.

    Up to 20 non-default files can be updated during Over the Air update. Default files include files that are non-secured, part of bundle, failsafe and with the size of the original file.

    Maximal file length inside a tar is 99 bytes. It is the full path as appears in the tar file itself (including all directories from root).

    Rarely, it is observed that the progress bar does not start or start but freeze in the middle; however the Over the Air update procedure is successful. In these cases, Board_LED2 (green LED, D5 on the board) indication and terminal printouts would show the true status of the procedure, and also the web client should eventually indicate a successful process.

    The SSL keys (ca_ in_ cert_store and ca-priv-key.der) are not update-able over the air.
  • 板子是cc3220sf launchpad rev-a,sdk版本simplelink_cc32xx_sdk_2_30_00_05

    我就是完全照着这个说明做的,连接正常,上传正常,传到100%后mcu重启,网页显示更新失败,log上的版本信息也是原版本的

    按照你之前的回答,这里面的

    Checklist of required elements.

    • archive tar file for device update. Filename should begin with 14 digits date and suffix should be uncompressed tar.
    • Uniflash projects according to device flavor.
    • Certificate artifacts, ca.der certificate and ca-priv-key.der private key

    ca.der certificate and ca-priv-key.der private key这里都是错的,但我按照你给的那个帖子改了这个,连网页都访问不了了.

  • 谢谢反馈,我去咨询一下相关的同事
  • OTA成功通过,但是新版本存在问题(与AP的连接失败)。一旦连接超时,MCU将重启并恢复为旧版本。

    应该与MCU image (尽管看起来使用相同的localOTA image )相关,也可能与Network Processor SP 相关(您可以尝试在没有SP的情况下更新吗?如果可以运行,那请确保SP正确)。

    另外您也可以尝试加大ASYNC_EVT_TIMEOUT的值(在local_ota_task.c中),看看是否有帮助。
  • 你好,失败原因与ca.der certificate and ca-priv-key.der private key无关吗?
    还有,加大ASYNC_EVT_TIMEOUT的值结果没有区别,仍然是100%后失败.

    另外,
    "应该与MCU image (尽管看起来使用相同的localOTA image )相关"
    是如何相关的?需要修改哪些内容?是代码部分还是uniflash部分?具体需要怎么修改?

    "也可能与Network Processor SP 相关(您可以尝试在没有SP的情况下更新吗?如果可以运
    行,那请确保SP正确)"
    Network Processor SP 是什么? 哪里可以找到相关说明?具体如何设置?

    你的OTA成功通过的具体操作步骤是怎么做的?