Skip to content

xdma 驱动命令行 ./reg_rw /dev/xdma_user 0x20000000 w 0x01 来写gpio寄存器点亮led,测试一下通路,命令行返回显示写成功了,也能命令行读回,但是板子上没有反应 #1

Description

@ICer-cxc

大佬您好,最近我们在搭建fpga上测试gpgpu的系统,基于xdma的axi_m来写data到ddr,再通过xdma的axi_lite配置gpgpu(相当于外设)的内部寄存器,驱使gpgpu去ddr取数计算并写回。测试系统搭建完了,现在在调试,我想用官方驱动命令行 ./reg_rw /dev/xdma_user 0x20000000 w 0x01 来写gpio寄存器点亮led,测试一下通路,命令行返回显示写成功了,也能命令行读回,但是板子上没有反应,想问一下可能是哪出了问题。gpio在block design分配的地址是0x40000000,xdma ip设置时pcie to axi偏移设置的0x20000000。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions