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.

[参考译文] AM263P4:PRU-ICSS 模块出现 SysConfig 错误

Guru**** 2872500 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/1631653/am263p4-sysconfig-error-with-pru-icss-module

器件型号: AM263P4
主题: SysConfig 中讨论的其他器件

您好、

 

我们使用的是 SysConfig v1.27、在打开 syscfg 文件时遇到以下错误。 此文件以前打开过、但现在出现以下错误的部分已损坏:

未知错误:无法构造“ContextifyScript":“:const 声明中缺少初始化程序
隐藏详细信息...

 

const PRU-ICSS1                   = scripting.addPeripheral(“PRU-ICSS")“);

     ^^^μ s

 

SyntaxError:无法构造“ContextifyScript":“:const 声明中缺少初始化程序

   在新脚本中(节点:VM:116:7)

   在 createScript 中(节点:VM:268:10)

   Object.runInThisContext(节点:VM:316:10)

   http://localhost:60110/ui.js:519:1263617

   在 u (http://localhost:60110/ui.js:519:1263667)

   在 h (http://localhost:60110/ui.js:519:1291449)

   位于 t.createFromScripts (http://localhost:60110/ui.js:519:1292239)

   AT 异步 t.capture (http://localhost:60110/ui.js:519:1048483)

   AT 异步 B.createSysConfig (http://localhost:60110/ui.js:519:93597)

   AT 异步 B.createConfigStore (http://localhost:60110/ui.js:519:92874)

 

以下是 syscfg 文件:

smcu.zip 

 

 

请告知我们可能缺少的内容。

 

谢谢!

-- Gunter

 

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

    您好 Gunter、

    这是 syscfg 中的一个已知问题、该问题从版本 1.24 开始并持续到 1.26。

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

    请让客户移至 syscfg 1.27、  
    我们还将在下一个 SDK 版本中修复此问题。

    解决方法是在文本编辑器中编辑 syscfg 文件:根本原因是您在文件中看到 const PRU-ICSS0 的任何位置都需要将其更改为 PRU_ICSSM(仅在左侧)才能获得有效的 C 标识符。