Hello everyone,
I'm encountering a new failure in my application running on NIOS-II/e (DE-1 EP2C20).
As my app grows (every time I add a new function), some parts of my app will go fail during run-time (Its totally random),
and there is no warning or error during compilation nor by JTAG-Debugger.
Even when I change the position of functions dentition in my code, failures change during run-time.
My code is more than 2000 physical lines of code. I doubt that maybe during run-time, return stack or data stack is overwritten.
I did NOT use dynamic memory allocation nor recursive functions in my app. Optimization setting is set on SIZE.
If I change it, my program will not fit in the memory (16384 Bytes).
Please help me if you have any idea or solved this issue before.
Warm regards,
Amir.
I'm encountering a new failure in my application running on NIOS-II/e (DE-1 EP2C20).
As my app grows (every time I add a new function), some parts of my app will go fail during run-time (Its totally random),
and there is no warning or error during compilation nor by JTAG-Debugger.
Even when I change the position of functions dentition in my code, failures change during run-time.
My code is more than 2000 physical lines of code. I doubt that maybe during run-time, return stack or data stack is overwritten.
I did NOT use dynamic memory allocation nor recursive functions in my app. Optimization setting is set on SIZE.
If I change it, my program will not fit in the memory (16384 Bytes).
Please help me if you have any idea or solved this issue before.
Warm regards,
Amir.