-
Notifications
You must be signed in to change notification settings - Fork 202
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
DMA: Increase buffer size #1552
Comments
Anything on the UART log? Nobody really invested in DMA support on Kasli so far, we just threw in the code that worked on KC705 with only minimal testing (also #946). M-Labs could probably fund it from hardware sales, if someone wants to work on these issues. |
|
Looks like a simple out-of-memory error. The memory layout is currently less than optimal for the amount of SDRAM we have (too much of it is allocated to the kernel stack), so we should be able to get much larger DMA buffers. A number of things would need tweaking, including:
|
Should also have been fixed by 92fd705 |
Bug Report
One-Line Summary
When submitting a few thousand commands using DMA, kasli crashes.
Issue Details
I'm trying to program a few thousand commands using DMA. I noticed that this results in kasli crashing completely such that it can't even be pinged anymore. I suspect that this happens because DMA memory size is exceeded? If that's the case: is there any way to compile the gateware with a bigger DMA memory, or is it limited by hardware?
Steps to Reproduce
Expected Behavior
no crash, at least an error message
Actual (undesired) Behavior
Your System (omit irrelevant parts)
The text was updated successfully, but these errors were encountered: