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.

[参考译文] LWIP-AM243X:MCU-PLUS-SDK 服务器示例(等)与最新的 SysConfig v1.21.0不兼容

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1403673/mcu-plus-sdk-am243x-lwip-tcp-server-example-and-more-not-compatible-with-latest-sysconfig-v1-21-0

器件型号:MCU-PLUS-SDK AM243X
主题中讨论的其他器件:SysConfig

工具与软件:

SysConfig v1.21.0 导入打开时抛出以下错误 enet_cpsw_tcpserver_am243x-lp_r5fss0-0_freertos_ti-arm-clang 的符号 mcu_plus_sdk_am243x_10_00_00_20

也许更新 SDK 中的示例以与最新版本的 SysConfig 兼容是个好主意?

Setting up SysConfig...
Error loading C:\ti\mcu_plus_sdk_am243x_10_00_00_20\examples\networking\lwip\enet_cpsw_tcpserver\am243x-lp\r5fss0-0_freertos\example.syscfg
Would you like to re-try in compatibility mode?

Error: Exception occurred calling addInstance()

    at Proxy.<anonymous> (webpack://sysconfig/src/pinmux/services/scripting/scriptingGuard.ts:46:10)
    at scriptFunc (C:\ti\mcu_plus_sdk_am243x_10_00_00_20\examples\networking\lwip\enet_cpsw_tcpserver\am243x-lp\r5fss0-0_freertos\example.syscfg:44:35)
    at cb (webpack://sysconfig/src/pinmux/services/scripting/runScript.ts:113:7)
    at withDeprecatedAccess (webpack://sysconfig/src/pinmux/services/deprecatedAccessGuard.ts:14:10)
    at runAsUserScript (webpack://sysconfig/src/pinmux/services/scripting/scriptingGuard.ts:61:3)
    at iteratee (webpack://sysconfig/src/pinmux/services/scripting/runScript.ts:111:5)
    at baseEach (webpack://sysconfig/node_modules/lodash/lodash.js:530:11)
    at Function.each (webpack://sysconfig/node_modules/lodash/lodash.js:9409:52)
    at iteratee (webpack://sysconfig/src/pinmux/services/scripting/runScript.ts:109:6)
    at xt (webpack://sysconfig/node_modules/lodash/lodash.js:530:11)
Caused by: TypeError: Cannot read properties of undefined (reading 'interfacePins')
    at Object.getPinConfigurables (C:\ti\mcu_plus_sdk_am243x_10_00_00_20\source\sysconfig\drivers\.meta\pinmux\pinmux_am243x.syscfg.js:35:57)
    at Object.getPinRequirements (C:\ti\mcu_plus_sdk_am243x_10_00_00_20\source\sysconfig\drivers\.meta\pinmux\pinmux.syscfg.js:7:25)
    at getPeripheralRequirements (C:\ti\mcu_plus_sdk_am243x_10_00_00_20\source\sysconfig\networking\.meta\enet_cpsw\am64x_am243x\enet_cpsw_am64x_am243x_pinmux.syscfg.js:189:30)
    at Object.pinmuxRequirements (C:\ti\mcu_plus_sdk_am243x_10_00_00_20\source\sysconfig\networking\.meta\enet_cpsw\am64x_am243x\enet_cpsw_am64x_am243x_pinmux.syscfg.js:373:30)
    at func (C:\ti\mcu_plus_sdk_am243x_10_00_00_20\source\sysconfig\networking\.meta\enet_cpsw\am64x_am243x\enet_cpsw_am64x_am243x.syscfg.js:284:25)
    at cb (webpack://sysconfig/src/pinmux/services/objectManagers/moduleRequirements/requirements.ts:27:6)
    at guardCallbackAccess (webpack://sysconfig/src/pinmux/services/moduleAccessGuard.ts:44:10)
    at f.resolveRequirements (webpack://sysconfig/src/pinmux/services/objectManagers/moduleRequirements/requirements.ts:26:5)
    at H.resolveRequirements (webpack://sysconfig/src/pinmux/services/objectManagers/moduleInstance.ts:1452:23)
    at H.initDynamicConfigurables (webpack://sysconfig/src/pinmux/services/objectManagers/moduleInstance.ts:1292:8)

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

    您好、Toby:

    TI 软件工具(CCS、SysConfig 等)由一个中央团队开发、该团队不同于处理特定处理器代码的软件开发团队。 没有好的方法可以确保这些不同软件"产品"的最新版本在使用相同软件工具的数百个不同设备之间处于锁步状态。

    但是、我们在 SDK 入门说明中记录了用于开发该版本 SDK 的 SysConfig 和 CCS 的版本:
    https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/10_00_00_20/exports/docs/api_guide_am243x/SDK_DOWNLOAD_PAGE.html

    因此、您应该始终能够判断确保哪个版本的工具能与哪个版本的 SDK 配合使用。

    此致、

    Nick