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.

[参考译文] TMS570LC4357:当 STCSCSCR 在 STC1内处于活动状态时、STCSEGPLR 的值应该是多少?

Guru**** 2466550 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/668397/tms570lc4357-what-should-be-the-value-of-stcsegplr-when-stcscscr-is-active-within-stc1

器件型号:TMS570LC4357

您好、支持人员、

当通过设置 self_check_key = 0x0A 来使用 STCSCSCR 在 STC1中执行自检时、 STCSEGPLR 寄存器的内容应该是什么?

是否应选择段0或段1?

谢谢你。

此致

Pashan

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

    您好、普沙文、

    建议仅在应用启动时进行签名比较自检。 自检只能针对段0/1或者同时针对这两个段进行。

    1.分段0  

    a.在  STCSCSCR 寄存器中启用 self_check_key 和 fault_ins

    b.将 STCSEGPLR 配置为段0的第一个间隔

    c.将 RS_CNT 位1配置为1

    d.检查 STC 全局状态寄存器和 STCFSTAT 寄存器  

    e.禁用    STCSCSCR 寄存器中的 self_check_key 和 fault_ins

    2.第1段

    a.在    STCSCSCR 寄存器中启用 self_check_key 和 fault_ins

    b.将 STCSEGPLR 配置为段1的第一个间隔

    c.将 RS_CNT 位1配置为1

    d.检查 STC 全局状态寄存器和 STCFSTAT 寄存器  

    e.禁用    STCSCSCR 寄存器中的 self_check_key 和 fault_ins