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.

[参考译文] TMS320F2800157:TMS320F2800157 LS0 RAM 执行访问

Guru**** 2506875 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1421398/tms320f2800157-tms320f2800157-ls0-ram-execution-access

器件型号:TMS320F2800157

工具与软件:

如果我在代码初始化时将 ISR 从闪存复制到 LS0 RAM。

初始化时、使用以下命令锁定 LS0 RAM:

MemCfgRegs.LSxACCPROT0.bit.CPUWRPROT_LS0 = 1u;
MemCfgRegs.LSxACCPROT0.bit.FETCHPROT_LS0 = 1u;

我的问题是、当触发 ISR 时 、我是否能够从中执行用于再次解锁 LS0 RAM 的代码?

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

    不可以、不会执行 ISR、因为您已启用获取保护。 您需要禁用获取保护才能执行代码。

    Vivek Singh