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.

[参考译文] CCS/TMS570LS0432:使用 XDS200时、微控制器控制器编程失败

Guru**** 2468460 points
Other Parts Discussed in Thread: TMS570LS0432

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/672253/ccs-tms570ls0432-failed-to-program-the-micro-controller-controller-some-times-using-xds200

器件型号:TMS570LS0432

工具/软件:Code Composer Studio

您好!  

我们在设计中使用的是 TMS570LS0432。 我们使用 Code Composer Studio 进行开发、并使用 XDS200调试探针进行编程。  我们会得到以下错误。 闪存被擦除时没有任何问题、编程前、我看到这个错误。  

CortexR4:文件加载程序:存储器写入失败:闪存算法在闪存编程期间返回一个错误。 注意:自动 ECC 生成已打开、请确保数据段在链接器文件中对齐为64位内存;或者、在片上闪存设置中关闭自动 ECC 生成

请就此问题发表评论吗?

非常感谢。

谢谢、此致、

Sreekanth

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

    请确保您的 cmd 文件中的闪存映射为0x0至0x60000。 您是否在 cmd 文件和代码中定义了扇区? 如果取消选中"Auto ECC generation"、会发生什么情况?