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.

[参考译文] CC1312R:在将来的 SDK 中更改 CCFG 部分"格式&quot 后可以正常工作的 OAD?

Guru**** 2484615 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1194458/cc1312r-oad-that-could-work-after-change-of-ccfg-section-format-in-future-sdk

器件型号:CC1312R

您好!  

 ccfg_app.c 文件的开头有注释:

//
//       ===> READ THIS BEFORE MODIFYING THIS FILE
//
//
//       ===> READ THIS BEFORE MODIFYING THIS FILE
//
//
//       ===> READ THIS BEFORE MODIFYING THIS FILE
//

// The customer configuration area (ccfg section) is located at the end of the
// flash and reflect the hw configuration of the device. it is very important
// that it remains align with the version of driverlib you are using.
// all BLE project except sensor tag use the same configuration.
// Keeping the "#include <startup_files/ccfg.c>" guarantee that your project using
// driverlib and the ccfg area will be align.

// you can modify it if you want, the recommend way will be to remove the
// bellow include, copy the content of the <startup_files/ccfg.c> file in this
// file and rebuild.

// ==> KEEP IN MIND that if you do so, be sure that any further update of the
// driverlib must be align with your modified version of ccfg area.

ccfg.c 文件中也有注释:

// This file is part of the CoreSDK release and future releases may have
// important modifications and new fields added without notice.

具有 OAD 的当前项目使用来自 BIM 的 CCFG (因此、CCFG 来自 SDK、用于构建器件制造 FW)。

考虑到 CCFG"格式"可在未来的 SDK 中更改、应如何实现具有 OAD 功能的项目、从而使具有基于当今 SDK 的引导加载程序的器件在升级用户应用程序后正常工作。 将来、使用基于未来 SDK 的升级固件(具有不同 的 CCFG"格式")?    

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Devedzhiev、  

    感谢您的提问、很抱歉耽误您的回答。  

    CCFG 对于器件不太可能发生变化。 由于 BIM 被设计为在产品中不进行更新、并且 CCFG 是 BIM 的一部分、因此对此进行的任何基本更改都应该是兼容的。   

    即使在极不可能出现的情况下、在 SDK 的未来版本中会更新 CCFG 字段、具有旧 BIM 和 CCFG 的已部署器件仍会继续使用旧版 CCFG。 这应该仍然被支持、除了 CCFG 中的新字段不会在应用中使用并且这个字段的缺省值将被使用。 请注意、这只是一个假设情形。  

    此致、

    SID

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Sid、

    一个问题只是检查我是否错过了某个内容、BIM 和用户应用程序是否有使用不同配置的方法(两者都有自己的 CCFG 设置)?

    此致、

    Dimitar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Devedzhiev、

    只有 BIM 应该拥有器件配置(CCFG)。 器件始终通过 BIM 的 CCFG 设置引导。 应用程序不能有新的器件配置(CCFG)。

    此致、

    SID