Skip to content

microblaze与zynq共存情形(之五)

minichao9901 edited this page Feb 10, 2024 · 1 revision

测试:配置模式

增加对HP0_DDR_LOWOCM的总线地址访问,并修改mb的cache地址范围为0x10000000--0x1fffffff。目标是寻找寻找为什么ocm_higher_addr不能访问?

image image image

测试结果

mb+zynq,其中zynq程序为执行ocm_remap,mb执行打印和led点灯实验。
结果,通过修改ld地址:

  • 程序在ddr中运行,可以运行。打印ddr, ocm_lower_addr正常;打印ocm_hihger_addr输出为0。
  • 程序在local memory中运行,可以运行。打印ddr, ocm_lower_addr正常;打印ocm_hihger_addr输出为0。
  • 程序在ocm_higher_addr中运行,不能运行。
  • 程序在ocm_lower_addr中运行,可以运行。打印ddr, ocm_lower_addr正常;打印ocm_hihger_addr输出为0。

image image image

结果分别是ddr/local_memory/ocm_lower_addr中运行的结果。在ocm_higher_addr中不能运行,因此没有结果

Clone this wiki locally