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.

[参考译文] TMS320C6678:MSMC 地址扩展不起作用

Guru**** 2538950 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/718395/tms320c6678-msmc-address-extension-not-working

器件型号:TMS320C6678

你好

我们打算将地址0x9000_0000 (在 DDR3中)别名为0x0C00_0000 (在 MSM 中)。

为此、我们使用了专用 ID = 0 (内核0)的 SES MPAX 寄存器。 下面是我们编写的简单代码、我们希望通过访问 outOfBound 变量来读取/写入 MSM。 但它不起作用、至少我们看不到使用 CCS 时 MSM 发生的任何变化。 有人知道我们的错误吗?

代码:

#define MSM_CONFIG_BASE_ADDRESS0x0BC00000

#define MSM_SES_MPPAXL_ID0_00x0BC00600
#define MSM_SES_MPAXH_ID0_00x0BC00604

unsigned int * mssmunsigned SesspLES0P0 =(unsigned int *)(MSM_SEST_MPAXL_ID0
)*




(0xBC0_0)= 0xSM0+无符号 MaxSESD0 =(0xPM0)*= 0xPM0)*无符号 Maint (0xPM0_0_0+ 0+ 0+ 0+ 0+无符号 mPADD0)*(0xSM0+=无符号 Maint (0xPM0+= 0xPM0+= 0xPM0+= 0xPM0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+ 0+无

*msmsesMaxpLId0P0 =(0x3F)|(0x00C000 <<8);
T1 = outOfBound [0];
T2 = outOfBound [1];
T3 = outOfBound [3];
outOfBound [0]= 10;
outOfBound[1]= 11;
outOfBound[2]= 12;
outOfBound[3]= 13;
outOfBound[4]= 14;
} 

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

    我已通知 RTOS 团队。 他们将直接在此处发布反馈。

    您能否分享您正在使用的处理器 SDK RTOS? 此外、您的 EVM 上的存储器配置(HW)是什么?

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你好
    我们解决了这个问题。
    我们使用了0x0BC0_0000 MSMC 配置地址、但我们应该使用0x0800_0000、这是 XMC 配置地址。 我们犯这个错误是因为 MSMC 也有 XAMP 寄存器。