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.

[参考译文] J721S2XSOMXEVM:J721s2 外部存储器配置

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1645918/j721s2xsomxevm-j721s2-external-memory-configuration

器件型号: J721S2XSOMXEVM

您好、
我正在使用 J721s2 芯片和 C7 DSP 进行定制电路板工作。  通过使用评估项目和示例项目的默认存储器配置、我们目前配置了 1GB 外部 DDR 存储器:

  /*!
   * ========= MAIR7 =========
   * 内存属性 7.
   *
   * 默认为正常的外部和内部回写可缓存非瞬态
   * 内存。
   */
  attrs.attrIndx = Mmu_Attr Indx_MAIR7;
  // MAIR7 的默认属性类型为“内部“和“外部“
  //可写回缓存

  (void) MMU_MAP (0x800000U、0x800000U、0x20000000U、&attrs、isSecure); /* DDR */
  (void) MMU_MAP (0xA0000000U、0xA0000000U、0x20000000U、&attrs、isSecure); /* DDR */

第一部分面向 ARM/Linux 端、第二部分面向其他内核 (MCU 和 DSP) 进行划分。
我的主板上有 8GB 内存、因此我的问题是如何将其余内存提供给 DSP。  我想对 memory_map_defines.inc 文件进行定制:

#define C7x_1_ALLOAD_START  MCU3_1_ALLOAD_START + CORE_TOTAL_SIZE /* 0xA60000 */

#define C7x_2_ALLOAD_START  C7x_1_ALLOAD_START + CORE_TOTAL_SIZE /* 0xA7000000 */

为 C7x_1 DSP 提供更多内存。  我知道对此存储器映射所做的更改也需要反映在 ARM/Linux 系统中。

 

谢谢、
马特