Forum Discussion
Altera_Forum
Honored Contributor
21 years agoProblem with eCos stack and data corruption
Hi! I've been fooling with stack and data corruption for a long time. Now I've decided to run the eCos tests, and I've seen that some of them don't work, and I've fou...
Altera_Forum
Honored Contributor
21 years agoThe test you are running makes a lot of calls to malloc. To understand exactly what the memory requirements are here, would require checking what block size is being used by the memory allocator.
The fact that this test will succesfully run if given more memory (e.g. if you run out of SDRAM on the Altera reference designs), then I could believe you are simply running out of memory somewhere.