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.

[参考译文] TMS320VC5510A:能否将 SP 指针设置为 MMR 空间

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/659475/tms320vc5510a-could-i-set-the-sp-pointer-to-the-mmr-space

器件型号:TMS320VC5510A

您好:

我在我们的项目中有一项要求。

在运行代码之前、我们需要检查芯片中的 DRAM 和 SRAM。

在 C54x 中、我们将 SP 设置为 MMR 空间、以便在我们检查 RAM 之前保存返回地址。

但是、当我将代码移植到 C55x 时、我遇到总线错误。 地址未保存。

测试代码是这样的。

ASM (" MOV SP、AR7");

ASM (" MOV #0x1C、SP");

ASM (" NOP_16 ");

ASM (" MOV #1、T0");
ASM (" PSH T0");

然后、"ST3_55"中的'CBERR'位被置位。 数据'#1'不会保存。

问题:

1.如何将 SP 和 SSP 指向 MMR 空间?

2.如果不能,如何将返回地址保存在 MMR 中? 因为我们需要首先检查 DRAM 和 SRAM。

谢谢

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

    我们将对此进行研究。

    此致、
    Yordan