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/TMS320F28377D:CPU2 GSRAM 访问

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/762209/ccs-tms320f28377d-cpu2-gsram-access

器件型号:TMS320F28377D

工具/软件:Code Composer Studio

使用 tms320f28377d。 将 GSRAM6用于 CPU2。 已定义名为"buffer"的全局变量。 尽管我在每个周期中递增、但该变量始终保持为零。 甚至我也使用其他变量进行了检查。 CPU1中未使用 GSRAM6。 那么、为什么会发生这种情况。 在 CPU2中使用 GSRAM 是否需要任何设置?  

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

    您好!

    默认情况下、所有 GSx RAM 都分配给 CPU1。 在 CPU1代码中、您需要更改 特定 RAM 块的 GSxMSEL 寄存器的配置以将其分配给 CPU2、然后只有 CPU2可以对该 RAM 块具有写入/执行权限(允许读取)。 这需要在从 CPU1引导 CPU2之前完成。

    此致、

    Vivek Singh