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.

[参考译文] TMS570LS0432:如果我的程序生成.out 文件、则具有 ECC 函数

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1016755/tms570ls0432-if-my-program-generate-the-out-file-do-the-have-the-ecc-function

器件型号:TMS570LS0432
主题中讨论的其他器件:UNIFLASH

你好

团队

当我的程序生成.out 文件时。 我 已在程序中启用 ECC 功能。 我的 CMD 链接也没有 ECC 计算。我的程序是否包含 ECC 函数。

2.我找到是否生成.bin 文件。 这是非常大的。我在论坛中看到一些讨论、其中包含 ECC 数据。.out 文件是否没有 ECC 数据?如果有、ECC 函数如何执行

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

    黄你好、

    不能、输出文件不包含 ECC 值。 如果启用了"ECC 自动生成"、则在通过 CCS 或 Uniflash 将输出文件加载到 MCU 闪存时会生成 ECC。

    2.请参考另一个主题中的我的答案:

    https://e2e.ti.com/support/microcontrollers/other-microcontrollers-group/other/f/other-microcontrollers-forum/1016728/tms570ls0432-generate-bin-file-why-is-it-so-big

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

    你好

    抱歉

    我不明白你的意思。 这对我,重要。编译器生成的.out 文件在 CCS 软件中启用"ECC 自动生成"。 当在 CPU 中加载.out 文件,此程序是否没有 ECC 功能????在程序运行时 ECC 数据是否不会持续变化?

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

    黄先生、您好!

    有两种方法可以为您的代码生成 ECC:

    CCS 在将*。out 文件下载到目标时生成 ECC 代码。 输出文件不包含 ECC。

       

    CCS 在编译工程时生成 ECC Leith Linker 命令文件。 生成的输出文件包含 ECC

        闪存加载选项:

            

        Project Link 输出设置:

         

       用于生成 ECC 的链接器命令文件: