-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
axidma_oneway_transfer() transfer issue #149
Comments
你发给我的邮件已收到! ——王振华
|
I have the same problem. Have you solved it? |
你发给我的邮件已收到! ——王振华
|
解决了,我的问题是设置的strm2mm数据位宽有问题。 |
解决了,我的问题是设置的strm2mm数据位宽有问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used the method axidma_oneway_transfer() to individually write a 1024 bytes of data and then read a 1024 bytes of data, and the result is what I expected.
But when I write a 1024 bytes data with this method and read the 512 bytes data twice, I can read the data out the first time but the DMAIntErr of the S2MM_DMASR Register will be set to 1 and I can't read the data the second time and I can't send the data again.
When I write two 1024 bytes of data with this method and read 2048 bytes of data once more, I can see through the Direct Register Mode Register that S2MM_LENGTH is 1024, not 2048. here I can be sure that I am handing it the 2048 parameter and can catch this through vivado instruction signal, but when I read S2MM_LENGTH, it is 1024.
This problem has been bothering me for a month now, I don't think the driver should have this problem. Thank you very much!
The text was updated successfully, but these errors were encountered: