-
Notifications
You must be signed in to change notification settings - Fork 7.4k
NXP: tests/drivers/dma/loop_transfer fails on FRDM-K64F #26812
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
Comments
@henrikbrixandersen this is a racing condtion which cause the dma access flash which will cause error on dma src, and it is not happened always, but with high possibilities. so the solution is to change the test cases dma.c as below:
or you can try my commit below: let me know if this fixes your problem, I can create a pull request to for this fix |
@hakehuang Thank you. I can confirm that your commit mentioned above fixes the race condition. |
avoid to use the flash address as dma source, to avoid flash cachce issue this is fix to issue #26812 Signed-off-by: Hake Huang <[email protected]>
avoid to use the flash address as dma source, to avoid flash cache issue this is fix to issue zephyrproject-rtos#26812 Signed-off-by: Hake Huang <[email protected]>
avoid to use the flash address as dma source, to avoid flash cache issue this is fix to issue #26812 Signed-off-by: Hake Huang <[email protected]>
Describe the bug
The
tests/drivers/dma/loop_transfer
test case fails on the NXP FRDM-K64F. Not all DMA RX buffers contain the DMA TX buffer string.To Reproduce
Steps to reproduce the behavior:
Expected behavior
All RX buffers contain the TX buffer content.
Impact
Not sure if the EDMA driver works correctly. The
tests/drivers/dma/chan_blen_transfer
test case passes, so something is working...Environment (please complete the following information):
Additional context
I found the issue while enabling the eDMA driver on the NXP KE1xF SoC (see #26813).
The text was updated successfully, but these errors were encountered: