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.

[参考译文] F28M35H52C:将 cmd 文件中的变量分配给用于 EPI0扩展名的外部 RAM

Guru**** 2502205 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1121495/f28m35h52c-allocate-variables-in-the-cmd-file-to-the-external-ram-for-epi0-extension

器件型号:F28M35H52C

大家好、

以下是客户提出的问题、可能需要您的帮助:

将外部 RAM 与 EPI0配合使用、除了 GEL 文件中的外部 RAM 地址外、还需要执行哪些其他操作?

将变量分配到内部 RAM (S0)程序工作正常、但一旦变量分配到外部 RAM (地址0x60000000)、调试时、它会随着程序加载而不断复位、并显示"memset 不包含帧信息报告"。  然而、外部 RAM (地址0x60000000)可在存储器窗口中运行(这个外部 RAM 是 EPIHB16复用)。

您可以帮助检查此案例吗? 谢谢。

此致、

樱桃

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

    樱桃

    您能否询问客户他们是否使用了 CCS 工具栏中"Scripts"菜单下的"setup EMIF"选项?  我怀疑在器件设置外部 RAM 之前直接加载到外部 RAM 存在一些问题。

    最棒的

    Matthew

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

    Matthew、您好!  

    感谢您的支持。

    [引用 userid="8973" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forume/1121495/f28m35h52c-allocated-variabls-ine-cmd-file-to the external-ram-for-epi0-extension/4158651#4158651"如果客户在"EMIF"工具栏中使用了"emples"选项、请在"e"中询问"emi"选项下是否可以询问客户"?"

    不、它们没有使用。

    生成的映射文件包含有关链接器生成的 CPOY 表的信息、是否会在程序加载后将其加载到外部 RAM 中?

    下图显示了映射中与外部 RAM 相关的信息:

    谢谢、此致、

    樱桃

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

    樱桃

    我将在这里回放一些其他内容以进行评论。  请给我们另外一天时间。

    最棒的
    Matthew

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="496057" URL"~/support/microrims/c2000-microset-group/c2000-f/C2000-microset-forum/1121495/f28m35h52c-allocating-variablese-ine-cmd-file-to_the external-ram-for-epi0-extension"]程序加载时会不断复位

    那么、器件仅在加载代码时复位? 不执行、只加载?

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

    Matthew 和 Haresh、您好!

    谢谢。

    [~ userid="10172" URL"/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forume/1121495/f28m35h52c-allocating-variabls-ine-cmd-file-to the external-ram-for-epi0-extension/4160387#4160387"]仅在加载器件时重置代码? 不执行、只加载?

    通常,程序在加载完成后将自动跳转到 main()。 客户怀疑加载 GO 主程序时它可能会复位、因为暂停后执行 GO 主程序会像加载时一样被复位。

    谢谢、此致、

    樱桃

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="496057" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forume/1121495/f28m35h52c-allocating-variabls-ine-cmd-file-to_the-external-ram-for-epi0-extension/4162394#4162394"]正常情况下,将自动完成主程序加载过程。]

    对。

    [引用 userid="496057" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forume/1121495/f28m35h52c-allocate-variabls-ine-cmd-file-to_the external-ram-for-epi0-extension/4162394#4162394"]如果加载主函数、则可能会在加载主函数后暂停/重置、因为主函数已加载。]

    很抱歉我不明白。 请澄清。  

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

    Hareesh、

    [引用 userid="10172" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forume/1121495/f28m35h52c-allocating-variabls-ine-cmd-file-to_the external-ram-for-epi0-extension/416331#416331"]如果客户在加载 main 后暂停/重置,则可能会在加载主函数后重新启动。]

    客户只加载了、没有点击执行。

    根据这种情况、加载程序后执行 GO 主程序时应进行复位。

    谢谢、此致、

    樱桃

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="496057" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forume/1121495/f28m35h52c-allocating-variabls-ine-cmd-file-to_the -external-ram-for-epi0-extension/4164038#4164038"]在加载主程序后应执行引号/重置程序[

    我不明白为什么会发生复位。 仅在出现 H/W 或 S/W 问题时才会发生复位(例如、WD 未及时处理)