AWRL6844EVM: The D1P in AWRL6844 DSP core can not be used normally

Part Number: AWRL6844EVM
Other Parts Discussed in Thread: AWRL6844, SYSCONFIG

hello, we found that the D1P memory in AWRL6844 DSP core dose not used in incabin radar demo code. As the picture showed behind.

During our software developement,  we have tried to use the D1P. For example, we have configured the 16KB D1P to cache , and we put some test code in it. however, the code in the D1P can not run normally as we want it to. Then, DSP core project go  exit.

We just want to know that how to use the D1P correctly in DSP?

  • 您好,

    已经收到了您的案例,调查需要些时间,感谢您的耐心等待。

  • 您好,

          关于 D1P 以及一般使用缓存的几点说明。

         如您所提到的,L1 内存可以在 SRAM 和缓存之间配置。L1P 和 L1D 内存各自总共为 32 KB,可以配置为 SRAM 或缓存(4K、8K、16K 或 32K)。这是通过 SysConfig C66SS0 Cache 66x DPL 配置来完成的。SRAM 内存放置在每个缓存内存位置的起始地址——即 L1P 为 0x00E00000,L1D 为 0x00F00000。根据缓存大小,缓存将根据每个缓存内存位置的末端进行放置——例如,L1P 的 8KB 缓存将从 0x00E00000 - 0x2000(8KB)= 0x00E06000 开始,到 0x00E07FFFF 结束。

          要将代码或数据放入 L1 SRAM 内存,您必须先将其加载到 L2 SRAM 或外部内存中,然后再复制到相应的 L1 内存中。您可以在 DSS 的 linker.cmd 文件的 fastCode 部分找到如何使用此运行和加载指令的示例,该部分已被注释掉——另请参阅相关的编译器用户指南。由于调试构建的内存限制,我们不使用该部分。