(Originally posted by sarpadi )
Several no-os projects are using an explicit DDR memory region for storing samples. This will most likely lead to the program overwriting itself and therefore crashing since it is not known if that particular area of memory is free or not at runtime. Below are the projects which seem to implement the rx buffer this way:
github.com/.../ad7616_sdz.c
github.com/.../parameters.h
github.com/.../parameters.h
github.com/.../ad713x_fmc.c
github.com/.../ad77681evb.c
github.com/.../parameters.h
The solution should look something like this:
github.com/.../adaq7980_sdz.c
Another solution would be dividing the DDR memory using the linker script (setting a smaller size) and then using the remaining free memory for buffers
The list may be incomplete