Skip to content
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

Open
mahhww opened this issue Aug 3, 2023 · 5 comments
Open

axidma_oneway_transfer() transfer issue #149

mahhww opened this issue Aug 3, 2023 · 5 comments

Comments

@mahhww
Copy link

mahhww commented Aug 3, 2023

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!

@wangzhenhua92429
Copy link

wangzhenhua92429 commented Aug 3, 2023 via email

@nandy222
Copy link

nandy222 commented Mar 6, 2024

I have the same problem. Have you solved it?

@wangzhenhua92429
Copy link

wangzhenhua92429 commented Mar 6, 2024 via email

@mahhww
Copy link
Author

mahhww commented Mar 12, 2024

解决了,我的问题是设置的strm2mm数据位宽有问题。

@mahhww
Copy link
Author

mahhww commented Mar 12, 2024

I have the same problem. Have you solved it?

解决了,我的问题是设置的strm2mm数据位宽有问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants